Health Increase not being calculated properly
PantsWP opened this issue ยท 2 comments
Modloader
Forge
Minecraft version
1.18.2
Modloader version
40.1.54
Mod version
1.10.14
TenshiLib version
1.6.8
Description
The Health Increase Multiplier
setting in the common config is not calculating the attribute properly. I currently have the multiplier set to 1.25
so at difficulty 100, it should increase the health of mobs by 2 times {100*0.016*1.25
}. However, upon testing this, it is actually increasing it by 3 times. So a zombie or skeleton that should only have 40 health is actually spawning with 60 instead.
The Max Health Increase
setting is set to 0.0
.
Steps to reproduce
- Change Health Increase Multiplier setting to 1.25 and Max Health Increase to 0.0 in the common config
- Enter world and set difficulty to 100.0
- Summon skeleton or zombie
- Voila!
Mods that might affect the issue
No response
Logs
https://gist.github.com/PantsWP/9cd9bf2e80a263e094b9863b181dcade
no its correct. the comment might be a bit misleading cause the multiplier is 1+multiplier. else the health would be 0 at 0 difficulty