How to make undead receive damage on white magic?

This may sound like a silly question, but healing does healing in RPG Maker. Even for the undead. Is there a way to where the undead is known to be weaken by healing magic, so that the healer can also deliver damage to the undead?
I've seen this done with Yanfly's Lunatic Mode and probably an Auto-Passive state to differentiate undead from living monsters. Because of this, I'm assuming that you can't do it by default in RPG Maker.
either set the enemy to recieve 200% damage from skills set to "holy", or make the skill check for "undead type" and deliver extra damage from the skill formula itself.
hard to explain.... I made it work without plugins, but that's me.
it depends on what types of magic you have, how your elements are set up, and wether you have some sort of classification for enemies.
@Aurawhisperer
The problem here is the scope - a skill that does healing on allies cannot be targeted on the enemy by default.
If you want to have the skills being able to target both allies and enemies and do different things based on who they target, you'll need a plugin.
Never thought of that Andar. Seems like I need to further investigate. Thanks guys
Thank you for the yanfly link! That did the trick, and learn more too!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-undead-receive-damage-on-white-magic.78697/