So, I am trying to recreate that one spell from Might and Magic 6, that redistributes the current Hitpoints of your Party.
The spell combines the HP of each character and then redistributes the sum amongst them.
What I need, to do this, is a way to obtain the current HP of each individual member of the active party.
Can anyone help me out?
Sincerely
I don't know if you continue needing this one, but you can get the sum of the party members current HP with this code:
totalHP = 0;
$game_party.members.each { |actor| totalHP += actor.hp }