Is there a way to create a state where the battler loses all barrier points but gets them back when it wears off? (this is an alternative in case the first one is not possible). I tired a note tag but it doesn't seem to have any effect.
NOTE TAG
<Custom Confirm Effect>
if (this.isHpEffect() && value > 0) {
value= battler.barrierPoints(-1);
target.loseBarrier(value);
}
</Custom Confirm Effect>
<Custom Remove Effect>
target.gainBarrier(value, 0)
</Custom Remove Effect>
if (this.isHpEffect() && value > 0) {
value= battler.barrierPoints(-1);
target.loseBarrier(value);
}
</Custom Confirm Effect>
<Custom Remove Effect>
target.gainBarrier(value, 0)
</Custom Remove Effect>