Results when States forcibly removed

Yeah, as a fellow ATB user, that plugin behaves...strangely with a number of things. Anyway that'd work well--you could add the animation effect to crushing blow/whatever other skills interact with frozen prior to removing it without a hitch. It wouldn't be as tidy, since any new skills intended to interact with Frozen added would also need to invoke that same animation as well as removing the state, but at least it'd work.
I DID IT! Here is the winning formula to get around the ATB system

if (b.isStateAffected(34)) b.addState(35); a.atk*5-b.def*1

Crushing blow removes 34 (frozen) in the effects rather than the damage formula. It still adds 35 (shatter), which then triggers the animation caused by inflicting shatter. 100% working, and I even get to keep my shatter state to add frozen immunity to prevent abuse.

Thanks everyone for helping me brainstorm the answer. In a way I'm kinda glad I was able to be the one to solve it in the end but I couldn't have done it without you guys.

I already have a new, unrelated problem to tackle. God I'm so excited.
Oh, you were also using the shatter state to grant temporary immunity? Yeah, that would've changed my approach. Details! Anyhow glad you got it working. 😀
Oh, you were also using the shatter state to grant temporary immunity? Yeah, that would've changed my approach. Details! Anyhow glad you got it working. 😀

It actually wasn't my plan when I made this topic, I'd originally wanted to do without it but later came around to the idea that there are nice benefits to having the second state. I can just imagine it now. A spell to auto-crit, coupled with attack power buffs, coupled with shattering a frozen target. Ugh. Going to be so satisfying. Now I just need to design a nice animation for it, since I already have a stagger system with a "glass shattering" sort of animation and I don't want people to mix them up haha.

Original thread: https://forums.rpgmakerweb.com/threads/results-when-states-forcibly-removed.120352/