Show Text when a specific state is resisted during battle

Dear RM Community,

I have a boss which is immune to a specific state (taunt). This was accomplished, obviously, through a trait.

My problem here is that every time an actor fails to apply the state effect, there is no notification of the enemy's resistance. Not a single pop up text. The only evidence out there for the player to notice, is the lack of the state icon above the enemy's head.

I would like to make the player aware of this situation, by having a text message appear every time the taunt effect gets resisted, but it seems harder than I thought. I couldn't come up with a solution through simple eventing and it seems scripting is the only way to go.

I'm pretty new to scripting and even though I manage to do other things in RMMV with a couple of code lines when needed, this time I hit a dead end cause I have no idea how to check when a specific action is occured.

Thanks for your time!
You could have the skill use a common event and have a conditional branch to check whether the enemy was affected by the taunt and have an else branch with text saying that the enemy is immune.
Haha, it's funny how sometimes the solution is so simple, yet you fail to see it! You sir, are the cure of my burnout! Thank you very much!!
No worries ^^ good luck on the game!

Just remember as long as the skill only targets one enemy you can set a conditional branch to check for all 8 enemies, but put them in the conditional branch before them. (just in case you use it in a battle with more than one enemy and you use it on the second instead of the first) if this doesn't make sense I could send a screenshot but if you only have battles with one enemy and no multiple then you should be fine with only one conditional branch.

Original thread: https://forums.rpgmakerweb.com/threads/show-text-when-a-specific-state-is-resisted-during-battle.89262/