Fix herald cloak hit reaction (#48139)

This commit is contained in:
4dplanner
2019-12-07 16:35:36 +00:00
committed by Jordan Brown
parent 32736a22bc
commit 8342de8d7c
@@ -266,7 +266,7 @@
/obj/item/clothing/neck/cloak/herald_cloak/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK)
. = ..()
if(!rand(1,100) <= hit_reaction_chance)
if(rand(1,100) > hit_reaction_chance)
return
owner.visible_message("<span class='danger'>[owner]'s [src] emits a loud noise as [owner] is struck!</span>")
var/static/list/directional_shot_angles = list(0, 45, 90, 135, 180, 225, 270, 315)