Hello!
I'm trying to do exactly as the title states.
Whenever a battler uses a skill that gives a barrier, I also give the battler a state that has this:
I'm not sure why it's only showing 0 in the counter of the state.
I'm trying to do exactly as the title states.
Whenever a battler uses a skill that gives a barrier, I also give the battler a state that has this:
Code:
<Custom Apply Effect>
var points = user.barrierPoints();
// Update the state counter by barrierpoints
user.setStateCounter(stateId, points);
</Custom Apply Effect>
I'm not sure why it's only showing 0 in the counter of the state.



