Larian Studios

HP maximum not correct

Posted By: Luxen

HP maximum not correct - 12/08/19 02:18 PM

Hello,

I've been working on a mod modifying how the armor system works. Since HP is depleting a bit faster, I made a status increasing health by 15% (VitalityBoost=15) that is applied automatically to all characters. However, on GM mode when I change the map, all NPCs max HP are sometimes not displaying correctly (e.g. 68*1.15=78,2 and the game displays 74/79 and there is no way to heal to 79). Leveling up and down fixes the problem, but there is no way to level down characters automatically in Osiris or game scripts. Interesting enough, this bug does not occur on player characters.

Any idea on how to fix this issue ?
© 2019 Larian Studios forums