I checked the excelent guide to damage formulas and it helped me a lot. But now I'm having a struggle with a very complicated skill.
My skill is supposed to heal 200 HP to an ally, then if the CASTER is under an specific state, it will heal 500.
So the formula I ended with is this:
But it end healing like 2700 one time to the single ally I target, even if its the caster. Its even possible to create a formula that heal 2 individuals differently? and why do I end with those 2700 HP healing instead of 500 or 200?
My skill is supposed to heal 200 HP to an ally, then if the CASTER is under an specific state, it will heal 500.
So the formula I ended with is this:
Code:
200; a.state?(67) ? a.hp += 500 : 0
But it end healing like 2700 one time to the single ally I target, even if its the caster. Its even possible to create a formula that heal 2 individuals differently? and why do I end with those 2700 HP healing instead of 500 or 200?