How do you make a different animation/effect appear for the same attack done on differing enemies?

Im tryinf to make a attack animation appear as a spark on robot enemies enemies and while it appears as a thunderstorm on non metal enemies. How do i do that?
not possible by default, you'll need a plugin to give you that ability.

your best chance might be the action sequences of yanfly's plugins, but a lot also depends on how you identify an enemy as a robot.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-make-a-different-animation-effect-appear-for-the-same-attack-done-on-differing-enemies.150642/