Change one skill depending on which weapon the actor is using.

Hello, it's me again, I wanted to know if there was a script (aside from Yanfly's since when using Yanfly it heavily ruins how my game works) that could change a specific skill based on which weapon you're using, with change I mean completely replace it, for example, by having a staff, your already learned "Fire Spell" would turn into "Big Fire Spell" or something like that, I tried sealing the "Fire Spell" and make the actor learn "Big Fire Spell" but that just leaves a vacant "Fire Spell" unavabile on top of the skills, which is annoying.
Thanks in advance!
You'll have to remove the spell, sealing it just makes it unusable.
You'll have to remove the spell, sealing it just makes it unusable.
Wouldn't remove it just permanently delete the move from the player's skillset? I want the normal Fire Spell to reappear after you remove the staff.
Could maybe this work for what you need? But it wouldn't replace the skill in the battle menu... You could leave the skill (Fire Spell) and add something like "amplifies fire spells" in the staff's description.

Edited to add: I might have found something even better. In the common event, you can have the character learn the new skill and forget the old one, and vice versa when the weapon is unequipped.
Could maybe this work for what you need? But it wouldn't replace the skill in the battle menu... You could leave the skill (Fire Spell) and add something like "amplifies fire spells" in the staff's description.

Edited to add: I might have found something even better. In the common event, you can have the character learn the new skill and forget the old one, and vice versa when the weapon is unequipped.
Just tried it, looks perfect!! Thank you so much for finding this, it's the second time in a row that you manage to help me with my really specific requests xD

Original thread: https://forums.rpgmakerweb.com/threads/change-one-skill-depending-on-which-weapon-the-actor-is-using.151047/