Update ninjaDrainAct.dm

This commit is contained in:
Useroth
2019-06-13 15:27:56 +02:00
committed by Useroth
parent ee661d1eb8
commit 39bedb8341
+5 -5
View File
@@ -263,13 +263,13 @@ They *could* go in their appropriate files, but this is supposed to be modular
visible_message("<span class='danger'>[H] electrocutes [src] with [H.p_their()] touch!</span>", "<span class='userdanger'>[H] electrocutes you with [H.p_their()] touch!</span>") visible_message("<span class='danger'>[H] electrocutes [src] with [H.p_their()] touch!</span>", "<span class='userdanger'>[H] electrocutes you with [H.p_their()] touch!</span>")
electrocute_act(15, H) electrocute_act(15, H)
src.Knockdown(G.stunforce) Knockdown(G.stunforce)
src.adjustStaminaLoss(G.stunforce*0.1, affected_zone = (istype(H) ? H.zone_selected : BODY_ZONE_CHEST)) adjustStaminaLoss(G.stunforce*0.1, affected_zone = (istype(H) ? H.zone_selected : BODY_ZONE_CHEST))
src.apply_effect(EFFECT_STUTTER, G.stunforce) apply_effect(EFFECT_STUTTER, G.stunforce)
SEND_SIGNAL(src, COMSIG_LIVING_MINOR_SHOCK) SEND_SIGNAL(src, COMSIG_LIVING_MINOR_SHOCK)
src.lastattacker = H.real_name lastattacker = H.real_name
src.lastattackerckey = H.ckey lastattackerckey = H.ckey
log_combat(H, src, "stunned") log_combat(H, src, "stunned")
playsound(loc, 'sound/weapons/egloves.ogg', 50, 1, -1) playsound(loc, 'sound/weapons/egloves.ogg', 50, 1, -1)