[MIRROR] initial throw fixing (#12231)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-01-08 22:45:27 +01:00
committed by GitHub
co-authored by Kashargul C.L.
parent 4693238765
commit 441ee14971
43 changed files with 219 additions and 170 deletions
+2 -2
View File
@@ -136,13 +136,13 @@
else
L.apply_damage(detonation_damage + thrown_bonus, BRUTE, blocked = def_check)
/obj/item/kinetic_crusher/throw_impact(atom/hit_atom, speed)
/obj/item/kinetic_crusher/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatumd)
. = ..()
if(!isliving(hit_atom))
return
var/mob/living/L = hit_atom
if(L.has_modifier_of_type(/datum/modifier/crusher_mark))
detonate(L, thrower, TRUE)
detonate(L, throwingdatumd?.get_thrower(), TRUE)
/obj/item/kinetic_crusher/proc/Recharge()
if(!charged)