@Pharonix
Maybe you figured it out by now; but this is my approach to that skill, in case anyone needs something similar.
Set up for a "Reduce your HP to 1 and convert the amount of HP sacrificed into damage" skill.
Damage formula
@Hungry Moogle
This one is kinda tricky. You'll need Yanfly's Skill Core, and Yanfly's Target Core plugins.
Set up for a "Halve your HP to heal all allies equal to the amount of HP sacrificed" skill.
Damage formula
Maybe you figured it out by now; but this is my approach to that skill, in case anyone needs something similar.
Set up for a "Reduce your HP to 1 and convert the amount of HP sacrificed into damage" skill.
Damage formula
Code:
x = a.hp-1; a.setHp(1); x;@Hungry Moogle
This one is kinda tricky. You'll need Yanfly's Skill Core, and Yanfly's Target Core plugins.
Set up for a "Halve your HP to heal all allies equal to the amount of HP sacrificed" skill.
Damage formula
Code:
Noteboxa.hpCode:
<Target: All Allies But User>
<Custom HP Cost>
cost = Math.ceil(a.hp / 2)
</Custom HP Cost>I decided to use yanflys lunatic mode to set a variable to set up cost = 100% -1.
Then set that to a variable I use in the damage formula.
Surprising number of yanflys script work.