'mob_run_block' and 'mob_check_block' macros

This commit is contained in:
Ghommie
2020-05-08 18:52:32 +02:00
parent 5e0235bd76
commit a412e840f7
15 changed files with 40 additions and 38 deletions
@@ -492,7 +492,7 @@
user.do_attack_animation(L)
if(L.run_block(src, 0, "[user]'s [src]", ATTACK_TYPE_MELEE, 0, user, check_zone(user.zone_selected)) & BLOCK_SUCCESS)
if(L.mob_run_block(src, 0, "[user]'s [src]", ATTACK_TYPE_MELEE, 0, user, check_zone(user.zone_selected), null) & BLOCK_SUCCESS)
playsound(L, 'sound/weapons/genhit.ogg', 50, TRUE)
return FALSE