Numbers do not change

For some reason, if an actor's HP or MP is at or below 20, the current value does not change. Here's an example:

Spoiler
d0a9c14b6328dd855fec677c7625f248.png

Any idea how to fix this?
What scripts are you using?
Oops, should have mentioned that. Sorry!

Other than what comes with the Luna Base (the new version that came out with the 10/24 update), nothing new. 
Ok we found the bug (I can't believe we missed that) and we'll be trying to implement a patch soon!
Okay here's the fix!


On Battle Luna, Line 1632, change

Code:
rate = [(@number.to_i - real_number.to_i).abs, rate.to_i].min
to
Code:
rate = [(@number.to_i - real_number.to_i).abs, rate.ceil].min
Reasons for the bug: if max HP is less than 20, the rate (which is currently 0.05) will give a number less than 1, which to_i will floor to 0
Works perfectly! Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/numbers-do-not-change.33604/