Files
Bubberstation/code/modules/mob
SkyratBot f8cf98a783 [MIRROR] Don't remove stamcrit on stronger stat [MDB IGNORE] (#9065)
* Don't remove stamcrit on stronger stat (#62335)

Any time update_stamina was called, such as being reduced by 0.3 while
unconscious, it would check to see if stat was set. If so, it would then
immediately remove all stamcrit traits, even if these traits were not set
to expire before whatever was causing the stat did.

This allowed players to enter a very brief unconscious period with
the *collapse emote, which would immediately override and remove stamcrit
traits, and be able to move around and act freely as soon as the very
short emote induced unconsciousness finished.

Don't ask how long it took to track this down.

Fixes #61890.

* Don't remove stamcrit on stronger stat

Co-authored-by: esainane <esainane+github@gmail.com>
2021-10-26 19:02:51 -04:00
..