instead of using baseHealth + max(2 log2(uniqueFoodsEaten), 0) - 8 you should use (baseHealth 0.6) + max(2 * log2(uniqueFoodsEaten), 0), as this way, the hp is always 60% of the basehealth and not hardcoded -8 (to get it from 20 to 12.
Might make it more compatible to some mods.
Hey there,
instead of using baseHealth + max(2 log2(uniqueFoodsEaten), 0) - 8 you should use (baseHealth 0.6) + max(2 * log2(uniqueFoodsEaten), 0), as this way, the hp is always 60% of the basehealth and not hardcoded -8 (to get it from 20 to 12. Might make it more compatible to some mods.