Element Replacement

I would like a plugin what does this:

When you select to use a damage magic spell, appears a little window that allows you to change the spell from its basic element to another element you choose (Doing that consumes 50% extra mp). Would be nice if it changes the name of the skill too, for example:

Fireball -> Frostball (Both same dmg but only change the element)

Ive thought 2 ways to resolve it:

- When you choose a distinct element from default, changes it from the skill element and name (I dont know how to do this)
- Creating a bunch of new spells on the database, 1 for each element from each spell with all their basic stats already changed and call them. (This is simpler but requires more space on the database)

Do you think it is possible to make it?
Can you help me to do it?
Maybe you can do something with yanfly's Elements Core and the "force element" tag? Link here
Maybe you can do something with yanfly's Elements Core and the "force element" tag? Link here
Maybe it could to help me, but I still dont have a way to create a window that allows me to let the player choose the element and a way to increase mp cost, but if I dont missremember, there I can change mp costs with skill core
I think you're not gonna be able to avoid having separate skills in the database. Here's how I would do it:

Have the skill call a common event. This common event opens up the choice window, and depending on the choice, cast another skill (the "real" skill with the right element) .

I would recommend browsing through Yanfly's youtube channel's Tips and Tricks videos, they're guides on replicating all kinds of really cool skills from other games, and if I remember correctly there was one that did something similar to this.

Original thread: https://forums.rpgmakerweb.com/threads/element-replacement.83076/