mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-28 01:51:46 +00:00
* Fixes to zombie regen (and incidentally behavior of TRAIT_NODEATH) (#82602) ## About The Pull Request Zombie regen was being cancelled out by the brute damage you take while in crit with TRAIT_NOBREATH (which zombies have) and since they have TRAIT_NODEATH they would, at a certain point, end up nearly permacritted unless they were somehow killed (which TRAIT_NODEATH would prevent in almost all cases). Zombies now have TRAIT_NOCRITDAMAGE so they don't take this damage, and carbon/death() and human/death() now take TRAIT_NODEATH into account, since there are hard calls to death() littered everywhere instead of going through the actual body damage dealing code. If you have NODEATH you'll still die if gibbed. ## Why It's Good For The Game Fixes #82601 Fixes TRAIT_NODEATH actually making it so you... nodeath... ## Changelog Being in critical condition no longer damages zombies. 🆑 fix: Being in critical condition no longer damages zombies. code: TRAIT_NODEATH will actually stop you dying in (most) cases. /🆑 * Fixes to zombie regen (and incidentally behavior of TRAIT_NODEATH) --------- Co-authored-by: Joshua Kidder <49173900+Metekillot@users.noreply.github.com>