mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
[MIRROR] Horror modifier adjusments (#12846)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
5410a741c3
commit
8bdeaed74c
@@ -107,6 +107,7 @@ avoid code duplication. This includes items that may sometimes act as a standard
|
||||
|
||||
//I would prefer to rename this attack_as_weapon(), but that would involve touching hundreds of files.
|
||||
/obj/item/proc/attack(mob/living/M, mob/living/user, target_zone, attack_modifier)
|
||||
SEND_SIGNAL(src, COMSIG_ITEM_ATTACK, M, user, target_zone, attack_modifier) //Just that we TRIED to use it.
|
||||
if((!force || (flags & NOBLUDGEON)) && !(flags & ALLOW_ATTACK_ANIMATIONS))
|
||||
return ITEM_INTERACT_FAILURE
|
||||
if(M == user && user.a_intent != I_HURT)
|
||||
|
||||
Reference in New Issue
Block a user