MV Looking for a plugin that changes a spell into another spell

Basically I am trying to find out if there are any plugins that change a spell into a different spell when under a specific state or trigger.

For example, if you have a spell called Gust and you activate Agility, that spell is replaced with Spiral Gust.

Not looking for something that activates/deactivates based on a state/trigger. But something that completely changes which spell is there. Spells are equipped, so I cant just hide/show them either. I just want the game to immediately go "You are trying to use Gust, but because X state is active, you now use Spiral Gust".

Thanks!
Hmm.. The easiest way I came up with was using action sequences perhaps. You can put if conditions in there so it should be possible to just go like if "agility switch" = use different animations, formula?

Won't replace the skill name in the skill window but should work...
you just need a state plugin. when under that state forget gust, learn agility
So you don't say what plugin you're using for equipping skills, and that's the tricky part. I'm going to presume Yanfly's Equip Battle Skills, but if it's something else you'll need to modify this code.

Using Yanfly's Buffs and States Core, put the following notetag into your Agility state:
Code:
<Custom Apply Effect>
if (user.isLearnedSkill(x))
{
    user.forgetSkill(x);
    user.learnSkill(y);
}
</Custom Apply Effect>

where x is the ID of Gust and y is the ID of Spiral Gust. Then put the same code into a Custom Remove Effect, but reverse the IDs.

If you're using Yanfly's Equip Battle Skills, it looks like it automatically equips a skill when you learn it if you have an open slot.

If it doesn't work that way, and this swaps the skills on the actor but doesn't equip it, let us know and you can do that manually in the notetags.

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-a-plugin-that-changes-a-spell-into-another-spell.153034/