Clockwork kindle stun now respects the owner's remaining health (#7999)

* clock slab OP pls nerf

* I'll go check if this can actually do later.

* In a clunky motion, it rails back onto the tracks.
This commit is contained in:
Ghom
2019-02-22 14:58:52 +01:00
committed by kevinz000
parent 1995f2d61d
commit a4c0a4e4be
2 changed files with 5 additions and 3 deletions
@@ -194,10 +194,12 @@
else
L.visible_message("<span class='warning'>[L]'s eyes blaze with brilliant light!</span>", \
"<span class='userdanger'>Your vision suddenly screams with white-hot light!</span>")
L.Knockdown(160)
L.adjustStaminaLoss(140) // now kindle works pretty much like bloodcult stun knockdown and stamcrit wise
L.Knockdown(15, TRUE, FALSE, 15)
L.apply_status_effect(STATUS_EFFECT_KINDLE)
L.flash_act(1, 1)
if(issilicon(target))
var/mob/living/silicon/S = L
S.emp_act(EMP_HEAVY)
if(iscultist(L))
L.adjustFireLoss(15)
..()