mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
Update code/modules/mob/living/carbon/human/human_defense.dm
Co-Authored-By: Tayyyyyyy <Tayyyyyyy@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user