diff --git a/changelog.txt b/changelog.txt index 7a74140c5..a37db487f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -38,6 +38,7 @@ Template for new versions: - `starvingdead`: ensure undead decay does not happen faster than the declared decay rate when saving and loading the game ## Misc Improvements +- `remove-stress`: also applied to long-term stress, immediately removing stressed and haggard statuses ## Removed diff --git a/remove-stress.lua b/remove-stress.lua index 7cf019364..251ab774a 100644 --- a/remove-stress.lua +++ b/remove-stress.lua @@ -14,6 +14,9 @@ function removeStress(unit,value) if unit.status.current_soul.personality.stress > value then unit.status.current_soul.personality.stress = value end + if unit.status.current_soul.personality.longterm_stress > value then + unit.status.current_soul.personality.longterm_stress = value + end end end