Heyho!
I am trying to use Yanfly Buffs and States Core and Absorption Barrier to create a state which disappears as soon as the wielder is out of barrier points. I know Absorpion Barrier has a built in function to inflict and remove a barrier state, but I'd like to create an addional state working the same way (the built in state also does not work for some reason, but this is another topic).
I tried this:
But the state just stays on the battler, regardless what happens.
Thanks in advance ~
I am trying to use Yanfly Buffs and States Core and Absorption Barrier to create a state which disappears as soon as the wielder is out of barrier points. I know Absorpion Barrier has a built in function to inflict and remove a barrier state, but I'd like to create an addional state working the same way (the built in state also does not work for some reason, but this is another topic).
I tried this:
Code:
<Custom Respond Effect>
if (user.barrierPoints() < 1) {
user.removeState(40);
}
</Custom Respond Effect>
But the state just stays on the battler, regardless what happens.
Thanks in advance ~