Replace State Plugin

What im looking to do is have a state stack a few times increasing the potency.
For example;
Skill Fire applies burn state.
If you cast Fire again burn state is removed and applies burn state 2, and so on.
If you cast Skill Ice on a target with burn state, the ice nullifies the burn and removes it while applying chill state.
I can't seem to find a plugin compatible with what I am looking for.
What im looking to do is have a state stack a few times increasing the potency.
For example;
Skill Fire applies burn state.
If you cast Fire again burn state is removed and applies burn state 2, and so on.
If you cast Skill Ice on a target with burn state, the ice nullifies the burn and removes it while applying chill state.
I can't seem to find a plugin compatible with what I am looking for.
https://forums.rpgmakerweb.com/index.php?threads/stacking-states.14110/ here is a stacking plugin
Add in the skill param. to remove the other state and that should be
https://forums.rpgmakerweb.com/index.php?threads/stacking-states.14110/ here is a stacking plugin
Add in the skill param. to remove the other state and that should be

This does no achieve what I am going for. The skills will respond differently based on the stack, I use if b.stateaffected(X) then ... But with this there will not be burn 1-2-3-etc.. states just burn with slightly stronger effects. I need it to replace completely so I can have a skill like incinerate that does double damage if target has burn 3 state or higher.
I gave you the basis you needed to achieve this in your previous thread, but you gave up on it too fast... which you admitted by saying that you didn't understand any of it. I was willing to assist you with it, but trying to get someone to make it as easy as possible cause you don't understand isn't a good way to be... learning this coding will help you in the long run on many things. 🙂

I'll make a skill for you that does the effect you're looking for once this severe thunderstorm passes and I can use my PC without fear of lightning, and then you can base any other spells off of it.

Edit: Added in fire skill plugin.
I gave you the basis you needed to achieve this in your previous thread, but you gave up on it too fast... which you admitted by saying that you didn't understand any of it. I was willing to assist you with it, but trying to get someone to make it as easy as possible cause you don't understand isn't a good way to be... learning this coding will help you in the long run on many things. 🙂

I'll make a skill for you that does the effect you're looking for once this severe thunderstorm passes and I can use my PC without fear of lightning, and then you can base any other spells off of it.

Edit: Added in fire skill plugin.

Fair enough, im very new this this but it has been 2 weeks since that thread and I searched and through trial and error did many things I set out to do , its not perfect but im doing my best. I tinkered with your formula plugin but ultimately tried something else and I for the most part got 80% of the desired effect I was going for.

I completely agree but no joke I did what you did with fire skill in 2 weeks where I assume it took you minutes. Additionally my database is a disaster of trial and errors and super long complicated bits of codes and damage formulas that are all over the place. If someone has an alternative cleaner way it would speed things up for me.

I just looked at the fire skill plugin and it looks amazing lol, the descriptions on the side help tremendously. I appreciate all the help and seeing an example of what I am looking for along with having done it myself using plugins and note tags and damage formulas gives me an even better understanding and appreciation for it. Thank you for taking the time to help and educate me 🙂
When I began with MV I had only seen the RGSS3 code from VX/Ace... when I moved to Javascript I had 0 experience and had to relearn everything all over again for the most part. Trial and error, lots of mess and messy databases is where its at. You have no idea of the countless house I've spent staring at code trying to understand how this does this, and how that does that to self teach myself.

Don't be afraid to make a fool of yourself and make mistakes... make small edits to things and see how they change stuff (just make sure you know how to revert the changes if its bad!), try making an insane idea work, all the trying is all it takes to learn 🙂

Original thread: https://forums.rpgmakerweb.com/threads/replace-state-plugin.96964/