mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
fixes cursed katana not spawning (#71065)
This commit is contained in:
@@ -923,7 +923,7 @@
|
||||
ATTACK_CUT = list(COMBO_STEPS = list(RIGHT_SLASH, RIGHT_SLASH, LEFT_SLASH), COMBO_PROC = .proc/cut),
|
||||
ATTACK_CLOAK = list(COMBO_STEPS = list(LEFT_SLASH, RIGHT_SLASH, LEFT_SLASH, RIGHT_SLASH), COMBO_PROC = .proc/cloak),
|
||||
ATTACK_SHATTER = list(COMBO_STEPS = list(RIGHT_SLASH, LEFT_SLASH, RIGHT_SLASH, LEFT_SLASH), COMBO_PROC = .proc/shatter),
|
||||
)
|
||||
)
|
||||
|
||||
/obj/item/cursed_katana/Initialize(mapload)
|
||||
. = ..()
|
||||
@@ -1045,7 +1045,8 @@
|
||||
playsound(src, 'sound/magic/smoke.ogg', 50, TRUE)
|
||||
if(ishostile(target))
|
||||
var/mob/living/simple_animal/hostile/hostile_target = target
|
||||
hostile_target.LoseTarget()
|
||||
if(hostile_target.target == user)
|
||||
hostile_target.LoseTarget()
|
||||
addtimer(CALLBACK(src, .proc/uncloak, user), 5 SECONDS, TIMER_UNIQUE)
|
||||
|
||||
/obj/item/cursed_katana/proc/uncloak(mob/user)
|
||||
|
||||
Reference in New Issue
Block a user