Files
VOREStation/code/modules/tension
Rykka Stormheart 8e3aca8562 Simplemob Injury System
This adds a lightweight simulation of injury for simplemobs. As simplemobs grow more injured, the time between attacks and movement will increase, same as for players.

Formula here: `round(rand(2,6) * damage_fatigue_mult * clamp(((rand(2,5) * (h / getMaxHealth())) - rand(0,2)), 1, 20))`
Threshold for slowdown/etc starts at 60% by default for mobs.
For any coders reading this in the future™️, set damage_fatigue_mult to 0 to disable this mechanic for your mobs if you need to for whatever reason.
2023-04-02 15:03:53 -07:00
..
2023-04-02 15:03:53 -07:00