[VXA] Get parameters of specific targets of spell

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 81
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

**
Rep:
Level 33
Scripter
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:

Code: [Select]
    totalHP = 0;
    $game_party.members.each { |actor| totalHP += actor.hp }