Enemy Skill Conditions - Noob Help

Sorry still getting used to RMMV and programming in general lol. I am trying to figure out how would you go about two things:


When a player uses a skill on a certain enemy type it  shows a dialogue and just cancels the spell?


When a Enemy's mana is a certain percentage, A skill is enabled or disabled from a character's spell list?


Much help would be grateful! Thank you!
If you want the skill canceled immediately, you would need to use a plug-in to make what you described happen. It is not possible with the default engine (even an invisible state which is checked still applies the damage).


The 2nd is probably going to require a plug-in as well, as there is no troop event to check for enemy or actor MP that I could see, and you can't make a skill only show up depending on someone's MP (even a lunatic mode plug-in would have trouble, as it would check every enemies MP from what I can see, not just that one case).


I'll move this over to Plug-in requests as that is probably what it will take to get this done.
Ah ok, thanks for clarifying! 🙂 Hopefully someone is willing to make a plugin...

Original thread: https://forums.rpgmakerweb.com/threads/enemy-skill-conditions-noob-help.74325/