mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-21 12:17:40 +01:00
[MIRROR] Axes do_mob and replaces with do_after (#11938)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
9645b165d5
commit
e61bebfbb3
@@ -61,7 +61,7 @@
|
||||
user.visible_message(span_warning("[user] attempts to place \the [src] onto [H]`s [affecting]."))
|
||||
|
||||
user.setClickCooldown(user.get_attack_speed(src))
|
||||
if(!do_mob(user, M))
|
||||
if(!do_after(user, 3 SECONDS, M))
|
||||
return
|
||||
|
||||
user.drop_from_inventory(src) //icon update
|
||||
|
||||
Reference in New Issue
Block a user