shields no longer have 100% guaranteed chance to block everything (#15390)

* STUPID

* Update yogstation.dme

* FUCC
This commit is contained in:
TheRyeGuyWhoWillNowDie
2022-09-04 07:39:33 -05:00
committed by GitHub
parent 1311d82c87
commit 1f5380200e
2 changed files with 0 additions and 9 deletions

View File

@@ -3461,7 +3461,6 @@
#include "yogstation\code\game\objects\items\plushes.dm"
#include "yogstation\code\game\objects\items\premadepapers.dm"
#include "yogstation\code\game\objects\items\sharpener.dm"
#include "yogstation\code\game\objects\items\shields.dm"
#include "yogstation\code\game\objects\items\tool_switcher.dm"
#include "yogstation\code\game\objects\items\tools.dm"
#include "yogstation\code\game\objects\items\toys.dm"

View File

@@ -1,8 +0,0 @@
/obj/item/shield/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK)
SEND_SIGNAL(src, COMSIG_ITEM_HIT_REACT, args)
if(transparent && (hitby.pass_flags & PASSGLASS))
return FALSE
if(!is_A_facing_B(owner, hitby))
return FALSE
owner.visible_message(span_danger("[owner] blocks [attack_text] with [src]!"))
return TRUE