Is it possible to display the actor's HP as a percent in battle? I don't know how else to say it, so if somebody has any questions, feel free to ask. Thanks.
AceTheMad
I tried but it did not work properly for me.
under def real_number
when hp return (((@battler.hp / @battler.mhp) * 100).to_i)
It starts with 100, but as soon as a player gets hit it goes to 0.
This works. Now the question is how to show a % as well.
I figured it out myself using lots...and LOTS of testing.
In Battle Luna, under refresh_type0, I replaced
self.bitmap.draw_text(0, 0, self.bitmap.width, self.bitmap.height, str, type[:align])
with
self.bitmap.draw_text(0, 0, self.bitmap.width, self.bitmap.height, ((str.to_f / @max_number.to_f * 100).to_i).to_s + "%", type[:align])
So, if anybody else needs to know how to do this, there's your answer.
Thanks for the help, guys. This can safely be closed.