mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Fixes high frequency blade ignoring pacifism trait (#72754)
## About The Pull Request Fixes being able to slash mobs with wielded high frequency blades while having pacifism trait. ## Why It's Good For The Game Bugs are bad ## Changelog 🆑 fix: Wielded high frequency blades no longer ignore pacifism /🆑
This commit is contained in:
@@ -1018,7 +1018,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
return TRUE
|
||||
|
||||
/obj/item/highfrequencyblade/attack(mob/living/target, mob/living/user, params)
|
||||
if(!HAS_TRAIT(src, TRAIT_WIELDED))
|
||||
if(!HAS_TRAIT(src, TRAIT_WIELDED) || HAS_TRAIT(src, TRAIT_PACIFISM))
|
||||
return ..()
|
||||
slash(target, user, params)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user