RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[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 36
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 }