Hi, is there any way to create a status that, when it accumulates and reaches a certain number, applies another status? Let me explain my idea: I would like some Ice-type abilities to apply a status (frost, for example) and for that status to be cumulative, like having stacks. When it reaches 5 stacks, meaning the target has been hit with frost 5 times, it freezes (receives another status). Is this possible? I use RPG Maker MZ and the Visustella plugin.
Stack State
RPG Maker MZ SupportI've used this plugin,
along with FOSSIL to achieve something like this in a previous project.
if youre using the Visustella Battle Core, put this in the notebox for your frost state and replace the "x" with the id for the freeze state
Code:
<JS On Add State>
target._freeze = (target._freeze +1) || 1;
if (target._freeze >= 5) {
target.addState(x);
target.removeState(state.id)
}
</JS On Add State>
<JS On Erase State>
delete target._freeze;
</JS On Erase State>
Works perfectly, thank you very much! Is there a way to display the stacks that are accumulating?
Original thread: https://forums.rpgmakerweb.com/threads/stack-state.180108/