Element Evasion chance?

Just wondering if there was a way to make it so a character can avoid skills with a certain element.


Similar to Pokemon, my example would be a character who is considered a "Flying" type to be unaffected by moves with the element, "Ground". I can make it so the Flying type takes 0 damage from Ground attacks, but any effect that skill has will still go through. So I'm looking for a way to just have 100% evasion against certain elements.
There's probably something in Yanfly's Element Core that can help you do this. Personally, I haven't used the plugin, so I don't know for sure.
I already looked through that one and couldn't find what I was looking for :/ 
Oh... Well, then I don't know what could help you.

Original thread: https://forums.rpgmakerweb.com/threads/element-evasion-chance.66937/