This commit is contained in:
Cyberboss
2017-03-31 11:25:21 -04:00
committed by KorPhaeron
parent 0f1c4cb4a2
commit b11a05785a
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -117,7 +117,7 @@
if(A.ClickAccessible(src, depth=INVENTORY_DEPTH))
// No adjacency needed
if(W)
melee_item_attack_chain(src, W, A)
melee_item_attack_chain(src, W, A, params)
else
if(ismob(A))
changeNext_move(CLICK_CD_MELEE)
@@ -131,7 +131,7 @@
if(isturf(A) || isturf(A.loc) || (A.loc && isturf(A.loc.loc)))
if(Adjacent(A) || (W && CheckReach(src, A, W.reach))) //Adjacent or reaching attacks
if(W)
melee_item_attack_chain(src, W, A)
melee_item_attack_chain(src, W, A, params)
else
if(ismob(A))
changeNext_move(CLICK_CD_MELEE)
+2 -2
View File
@@ -68,7 +68,7 @@
// cyborgs are prohibited from using storage items so we can I think safely remove (A.loc in contents)
if(A == loc || (A in loc) || (A in contents))
melee_item_attack_chain(src, W, A)
melee_item_attack_chain(src, W, A, params)
return
if(!isturf(loc))
@@ -77,7 +77,7 @@
// cyborgs are prohibited from using storage items so we can I think safely remove (A.loc && isturf(A.loc.loc))
if(isturf(A) || isturf(A.loc))
if(A.Adjacent(src)) // see adjacent.dm
melee_item_attack_chain(src, W, A)
melee_item_attack_chain(src, W, A, params)
return
else
W.afterattack(A, src, 0, params)
+1 -1
View File
@@ -125,7 +125,7 @@ var/const/tk_maxrange = 15
if(!isturf(target) && istype(focus,/obj/item) && target.Adjacent(focus))
apply_focus_overlay()
melee_item_attack_chain(tk_user, focus, target) //isn't copying the attack chain fun. we should do it more often.
melee_item_attack_chain(tk_user, focus, target, params) //isn't copying the attack chain fun. we should do it more often.
if(check_if_focusable(focus))
focus.do_attack_animation(target, null, focus)
else