Overwrite Skills (It is possible?)

Hi everyone. Well I'm a beginner(?) in this forum and I don't know if here is the correct category to post this thread.
Guess so. Also, I have to say that I do not speak english very well since I'm from South America, but I usually tries to make me understand. To the point.

I'm working on a RPGMMV project. In a certain moment I was wondering if there's any way to overwrite skills. I'll try to explain, you know. At some level I want my character to obtain a skill more powerful than the actual skill. But I don't like the idea to has both of them because these skills do the same state attack, element, (for example), the difference is the MP cost and the magical damage either physical damage, I mean, the new skill inflicts more injury.

So that's the thing, ovrewriting a skill. Is there a way to o that?, like, a plugin, script or it is possible to do it with the rpgmmv options. Thank you beforehand of course.

Apologies if I didn't explain myself.
you can use events to unlearn skills for actors, but those would have to be triggered outside the regular leveling.

Or you can use a plugin to change the levelup-options.
you can use events to unlearn skills for actors, but those would have to be triggered outside the regular leveling.

Or you can use a plugin to change the levelup-options.

The event thing would work. Still figuring out. But yes, thanks.
This is similar to what I'm doing in the past: upgradeable skills. To achieve this, I used the lunatic mode for the plugin Yanfly Skill Core and Yanfly Skill Learn System

Let's say you have Fire skill, which can be upgraded to Fira skill and can be upgraded further to Firaga skill. In my case, my upgrades cost gold, so I used the notetag <Learn Cost: x Gold>.
Let's say you assigned Fire skill as skill number 10, Fira number 11 and Firaga number 12. Then:

In the notebox of Fire skill,
Code:
<Custom Show Eval>

var upgrades = [10, 11];     // These are the IDs of Fire upgrade skills

for( i=0; i<upgrades.length; i++) {
   if( user.isLearnedSkill(upgrades[i]) ) {
      value = false;     // so that the Fire skill won't appear in the character's skill list should you make Fira or Firaga to be in the character's skill list by default
   }
}

</Custom Show Eval>


In the notebox of Fira skill,
Code:
<Learn Require Skill: 10>
<Learn Cost: 100 Gold>

<Learn Show Eval>
if( this._actor.isLearnedSkill(11) ) {     // If the character learned Fira skill (skill ID 11)
   this._actor.forgetSkill(10);            // ...then the Fire skill (skill ID 10) will be removed from the character's skill list
   value = false;   // Required so that the skill won't appear in the character's skill list by default
   this._actor.refresh();
}

</Learn Show Eval>


In the notebox of Firaga skill,
Code:
<Learn Require Skill: 12>
<Learn Cost: 100 Gold>

<Learn Show Eval>
if( this._actor.isLearnedSkill(12) ) {     // If the character learned Firaga skill (skill ID 12)
   this._actor.forgetSkill(11);            // ...then the Fira skill (skill ID 11) will be removed from the character's skill list
   value = false;     // Required so that the skill won't appear in the character's skill list by default
   this._actor.refresh();
}
</Learn Show Eval>

Hopefully this helps you 🙂
You just need Yanfly Skill Core. And use one of theese notetags:
<Hide if Learned Skill: x> //Just for 1 skill
<Hide if Learned Skill: x, x, x> // for a set of skills, ie 10,15,17
<Hide if Learned Skill: x to y> // for a list of skills ie 10 to 15.

Theese notetags will hide and disable skills if you learn all the skills listed.

Hiding a skill makes it where the player can't see that skill in any menu and can't used the skill, it's like it's gone/disappeared however they still have learned the skill. So here's how the notetags work:

So if you just put:
<Hide if Learned Skill: 12> in skill 11
Then you need to learn just skill 12 to hide skill 11.

If you put:
<Hide if Learned Skill: 12, 15, 17> in skill 11
Then you need to learn skills 12, 15 & 17 to hide skill 11.

If you put:
<Hide if Learned Skill: 12 to 15> in skill 11
Then you need to learn skills 12 to 15 (12, 13, 14,15) to hide skill 11.
Oh thank you. You three. I liked the topic about the Lunatic Mode. Looks tricky to me but with some practice and trial and error I would be able to work on it. And the last backup by Zarsla is pretty effortless than the zimzim's above. Whichever of those will help me.
Thanks for the attention and support. I think I have to thank Yanfly too.

Original thread: https://forums.rpgmakerweb.com/threads/overwrite-skills-it-is-possible.81355/