[Magiclysm] Pain Split doesn't account for differing max health #53383
Labels
<Bug>
This needs to be fixed
Mechanics: Character / Player
Character / Player mechanics
Mechanics: Enchantments / Spells
Enchantments and spells
Mods: Magiclysm
Anything to do with the Magiclysm mod
Describe the bug
The spell pain split doesn't account for body parts having different amounts of max health, e.g. the head from the glass jaw trait. As a result you can heal a part to above its maximum health. E.g. if your head has a max health of 65 and the rest of you 87 if your head is damaged to 45 and you cast pain split it'll heal to 80.
Steps to reproduce
Expected behavior
Pain split should never raise the health of a part above its max health. The preferred behavior would probably be for it to average health based on percentages rather than absolute values.
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions],
Magiclysm [magiclysm],
Stats Through Kills [stats_through_kills],
Stats Through Skills [StatsThroughSkills]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: