This commit is contained in:
silicons
2020-07-18 20:26:11 -07:00
parent 910869d6bf
commit 55f8e37544
12 changed files with 22 additions and 25 deletions
+2 -4
View File
@@ -104,7 +104,6 @@
if(W)
W.melee_attack_chain(src, A, params)
else
DelayNextAction(ismob(A)? 8 : 0)
UnarmedAttack(A)
return
@@ -117,13 +116,13 @@
if(W)
W.melee_attack_chain(src, A, params)
else
DelayNextAction(ismob(A)? 8 : 0)
DelayNextAction(ismob(A)? 8 : 0)
UnarmedAttack(A, 1)
else
if(W)
W.ranged_attack_chain(src, A, params)
else
DelayNextAction(ismob(A)? 8 : 0)
RangedAttack(A,params)
//Is the atom obscured by a PREVENT_CLICK_UNDER_1 object above it
@@ -230,8 +229,7 @@
in human click code to allow glove touches only at melee range.
*/
/mob/proc/UnarmedAttack(atom/A, proximity_flag)
if(ismob(A))
changeNext_move(CLICK_CD_MELEE)
DelayNextAction(ismob(A)? 8 : 0)
return
/*