States that evolve into a different state

Hello all,

I'm trying to figure out if it's possible to create states than can change into a different state. For example, the user can cast an ice spell that inflicts a stack of a state called "Freeze" which slows the target's Agility by 25%. Once the target accumulates 3 stacks of "Freeze" then the "Freeze" state transforms into the "Frozen" state where the target is immobilized for one turn. I've tried using Mr. Trivel's States EX plugin which achieves an effect to what I'm looking for, but it seems to be incompatible with some of Yanfly's plugins. Is there any other possible way to create this effect?

Thanks.
Uh, I can't help you with MV plugins right now, but if you don't mind the extra work you could also solve your problem with a few extra states for now (as long as you don't need too many stacks of a status effect).
Someone else could probably provide an easier solution. 🙂

For this solution, you would need to create one state for every stage including zero (so if you want to stack your state up to 3 times before the target gets frozen, you'd need 4 states).
The level 0 state should not impact the target and shouldn't have an icon, so the player can't tell if a target is inflicted with it or not.
In order to only inflict the next level of the state on a target, each of these state should:
- ... "State Resist" each other state level except the next one (so "Freeze #0" should resist #2 and #3, "Freeze #1" should resist #0 and #3, and so on)
- ... Have a "State Rate" of 0% for itself, except level 0 and the highest state level. This is to prevent the state to get reapplied when a skill fails to inflict the next level.

Finally, in order to apply the state through a skill or event commands, add each stack level in the following order:
- "Add State: Freeze #0" with 1000% chance (this is the highest value you can enter, to guarantee this state is added even when the target has up to 900 more LUK than the attacker).
- After this, add each other state level in descending order, using the chance you want.


Hope this helps anyways. 😀

Original thread: https://forums.rpgmakerweb.com/threads/states-that-evolve-into-a-different-state.88025/