Update code/modules/mob/living/carbon/human/human_defense.dm

Co-Authored-By: Tayyyyyyy <Tayyyyyyy@users.noreply.github.com>
This commit is contained in:
Couls
2019-07-11 19:27:45 -04:00
committed by GitHub
co-authored by Tayyyyyyy
parent a8a9e8e022
commit 0ad7b77944
@@ -319,7 +319,7 @@ emp_act
B = r_hand
if(B && B.deflectmode)
if(prob(10))
visible_message("<span class='warning'><b>[src] Deflects the [I] directly back at the thrower! It's a home run!</b></span>", "<span class='warning'><b>You deflects the [I] directly back at the thrower!, It's a home run!</b></span>")
visible_message("<span class='warning'><b>[src] Deflects the [I] directly back at the thrower! It's a home run!</b></span>", "<span class='warning'><b>You deflect the [I] directly back at the thrower! It's a home run!</b></span>")
playsound(get_turf(src), 'sound/weapons/homerun.ogg', 100, 1)
do_attack_animation(I, ATTACK_EFFECT_DISARM)
I.throw_at(I.thrownby, 20, 20, src)
@@ -558,4 +558,4 @@ emp_act
if(head)
to_chat(src, "<span class='danger'>Your [head.name] protects you from the [hot ? "hot" : "cold"] liquid!</span>")
return FALSE
return TRUE
return TRUE