mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
Regal Rats can target zombies, skeletons, and ghouls (#93849)
## About The Pull Request Regal rats can now attack zombies, ghouls, skeletons, and other "fake undead" species. This is done by changing the "already dead" check to ignore the FAKEDEATH trait if it's applied as a species trait. This means that regal rats still won't be able to tell if someone's faking it with zombie powder or changeling stasis. ## Why It's Good For The Game Rats should be able to kill zombies I guess. Closes #93770. ## Changelog 🆑 Rhials fix: Regal rats can now attack FAKEDEATH species mobs, like zombies and skeletons. /🆑
This commit is contained in:
@@ -197,7 +197,7 @@
|
||||
return TRUE // it might be possible to attack this? we'll find out soon enough
|
||||
|
||||
var/mob/living/living_target = the_target
|
||||
if (HAS_TRAIT(living_target, TRAIT_FAKEDEATH) || living_target.stat == DEAD)
|
||||
if(HAS_TRAIT_NOT_FROM(living_target, TRAIT_FAKEDEATH, SPECIES_TRAIT) || living_target.stat == DEAD)
|
||||
balloon_alert(src, "already dead!")
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user