Mob-Leveling resets health
Summary
Every time a mob levels using the SetLevel{} skill, their HP gets reset to full.
Steps to reproduce
- create a new mob in the mobs folder
- add the SetLevel{} skill to it, that adds a level to itself ~onTimer:20.
- set the health-scaling per level to 0 in the mob options.
- save the file and reload MM
- spawn the mob
- attack the mob
- watch it regen its health every second (or level)
Current behavior
Currently I have a mob that increases their level every second, but every time the mob levels, their HP gets reset to full. Even if their HP-scaling per level is set to 0.
Using the Setlevel{} skill
Intended correct behavior
Every level, their HP should remain the same and/or scale along with their max hp (STATIC or SCALE-mode), just like the "set Health" skill.
Server log file
Unable to include. Most probably shouldnt be needed either way
Debug log snippet
Most probably not needed and unable to aquire at the moment.
Proposed fixes
add the MODE option, just like the setMaxHealth{} skill, to the setLevel{} skill or any other way to make their HP for example STATIC or SCALE or make an option to disable/enable health-scaling.