Mutant Monsters [Forge & Fabric]

Mutant Monsters [Forge & Fabric]

16M Downloads

[Bug]: Mutant Zombie health resets to normal after re-spawn with RPG Difficulty Mod

douglasg14b opened this issue ยท 1 comments

commented

Mod Loader (Required)

Fabric

Minecraft Version (Required)

1.20.1

Mod Version (Required)

v8.0.2

Notes (Required)

The mutant zombie has it's health scaled by the RPG Difficulty mod. However, when the zombie is killed after the first time, it's health resets to the mod's default value when it respawns. Instead of using the scaled health.

Scaled:

image

After Respawn

image

Sometimes the max health is way off

image

cc Globox1997/RpgDifficulty#68

latest.log (Optional)

No response

commented

When setting the health for respawning, the mutant zombie uses the value returned by LivingEntity::getMaxHealth and scales that. RPGDifficulty should make sure that the new max health it sets is also returned by that method.