Spell evasion and self casts

Hello all, and thanks ahead of time for the support!

I'm trying to create a skill that can be cast on any ally. Once cast, it will stop all spells, except spells cast by the person affected by the spell. 

An example, Hero A puts the barrier up on Hero B. Any skill with the Hit Type of "Magical Attack" will be stopped. However, if Hero B casts a healing spell on themselves, it will work just fine. Even if Hero A casts a healing spell on Hero B, the spell will be stopped.

If you are familiar with Dragon Warrior (Dragon Quest) 4, the Hero's spell called "Fendspell" (Or "Snub", depending on the version) is what I'm trying to accomplish. 

So far, what I've tried is to create a skill that puts a state on that increases the MEV Ex-Parameter to 100%. This will allow the avoidance of all skills, but skills cast by the affected character are still stopped.

I'm not sure if I can do it without scripts, but I thought I would cast it out and see if anyone has any ideas. 

Again, thanks for your time, and enjoy your Holidays!
I don't know if you figured this out, ever, but here's the answer.


Easy, just make the healing skill a certain hit. It's a bad idea to have healing spells able to miss or fail anyways, and certain hit attacks ignore evasion.

Original thread: https://forums.rpgmakerweb.com/threads/spell-evasion-and-self-casts.53524/