I added the calculate_correct_creature_max_health function and updated the relevant game files accordingly.
The reasons for this addition are:
To fix an oversight with the health modifier: Lair Recovery, Toking Recovery, and Torture Damage were incorrectly affected by the modifier.
To eliminate the need for the 3rd argument in compute_creature_max_health.
Additionally, I removed the soft cap on health, allowing creatures to have an exceptionally high amount of health, should the mapmaker choose to do so.
While working on this, I also reformatted the functions I encountered during the process. Hope you don't mind.
I added the
calculate_correct_creature_max_health
function and updated the relevant game files accordingly.The reasons for this addition are:
To fix an oversight with the health modifier: Lair Recovery, Toking Recovery, and Torture Damage were incorrectly affected by the modifier.
To eliminate the need for the 3rd argument in
compute_creature_max_health
.Additionally, I removed the soft cap on health, allowing creatures to have an exceptionally high amount of health, should the mapmaker choose to do so.
While working on this, I also reformatted the functions I encountered during the process. Hope you don't mind.