- Aug 24, 2012
- Reaction score
You could add in something like atk * (1 - (a.hp/a.mhp)) to get that effect. It deals damage based on a percentage of their current health over their max health. Alternatively, if you wanted to do something like deal 2 damage per each HP lost, you would do 2 * (a.mhp - a.hp).How would one go around to setting up a basic attack, that does more damage based on how much HP the user has lost?
I've been trying to figure out the command for doing this, as well. My only difference is that I would want it to heal the entire party instead of every OTHER member, but I figure the way to do it would be similar. Any ideas?VHStapes, on 01 Nov 2015 - 2:17 PM, said:
I'm trying to do some skill that is quite the same of your, did you figured out how to heal/buff all party members? I didn't find a reply in here about this, or maybe i'm blind lol.EDIT: New question!
How can I target a different character in the party, besides a or b, without it being actor specific? Let's say I want a skill that deals damage and heals every party member except the caster for an amount equal to the damage dealt? So...
x = (a.tk - b.def); ALL_OTHER_PARTY_MEMBERS.gainHp(x); x
What should ALL_OTHER_PARTY_MEMBERS be replaced with?
I'm looking to do 2 "limit" skills that deals aoe damage to enemy, one as bonus heal the party and remove debuffs, and the other give bonus damage of 1 element....
Someone know how to apply heal/buff to entire party? I just need an example so i can figure out other kind of similar "limit" skill