Element-changing skill

Is there a script that changes the element of a skill before it hits? I'm trying to make a spell that lets you choose its element for the turn before hitting, rather that making a lot of different versions of the same spell. I attached to it a common event which triggers the choices, but I dont know how to set the element of the spell.
Honestly I'd go with multiple versions of the same spell that are chosen at the selection point because of the animation component - it'd let you differentiate the spell elements visually to the player as well!
Honestly I'd go with multiple versions of the same spell that are chosen at the selection point because of the animation component - it'd let you differentiate the spell elements visually to the player as well!
You know what, you have a point. I did it. Sorry for bothering.

Original thread: https://forums.rpgmakerweb.com/threads/element-changing-skill.163552/