Enemies Protected by "boon". Must be Broken

Hey there, guys and gals. Here's my mere predicament...

I'm planning to add a feature to my baddies that automatically renders them invulnerable to physical attacks(mainly with a state). But, the "boon" can be broken by using certain skills. Quick question: How does one do such a perilous task?
In the damage formula for the skills that remove it, just add

b.remove_state(id); followed by the damage formula.
id is the id of the state that makes them invulnerable to physical attacks.
You can add a "remove state" effect to the skills.
Huh, did not know you could do that, how interesting. Thanks guys 😛 . Been using this engine for awhile and never even thought of this.

Good luck on your en devours OP sounds like an interesting fight 🙂
Thank you all! Good luck on your projects and such! Once again, thank you! <3

Original thread: https://forums.rpgmakerweb.com/threads/enemies-protected-by-boon-must-be-broken.37302/