I'm having a heck of a time with this one. i'm attempting to make a heal spell that heals more than the missing HP turn the remainder into an absorb shield, at an exchange rate of 40%, and lasts for 2 turns. trying to base it off the spirit shell tips & tricks, i didn't succeed. I assume that has to do with the types of <> note tag blocks, since that uses a state.
so i tried my own doing some math and using <custom confirm effect>, and using the output in <custom add barrier x turns>. that didn't work, and i'm not sure why, though it looks fishy having value in two places.
i'm lost lol
so i tried my own doing some math and using <custom confirm effect>, and using the output in <custom add barrier x turns>. that didn't work, and i'm not sure why, though it looks fishy having value in two places.
Code:
<Custom Confirm Effect>
var dif = target.mhp - target.hp;
var healdif = value - dif;
</Custom Confirm Effect>
<Custom Target Barrier 2 Turns>
value = healdif;
</Custom Target Barrier 2 Turns>
i'm lost lol