mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
shields no longer have 100% guaranteed chance to block everything (#15390)
* STUPID * Update yogstation.dme * FUCC
This commit is contained in:
committed by
GitHub
parent
1311d82c87
commit
1f5380200e
@@ -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"
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user