I am new to ruby, but I am working on a cbs. I have read through tutorials and posts and maybe I've missed something obvious, but I can't seem to find my answer.
I want to display percentage bars for the characters' hp, mp, and ammo stats. Ammo will be my own thing, but i figure hp and mp should already be in the default system. I have replaced the default battle system script with my own, but otherwise I haven't changed anything. Is there a simple way that is already in the scripts to figure a characters hp percentage? How can I access the current and max hp of a character?