Now that Yanfly has released the Skill Learning system, I would like to be able to have 'upgradable skills' but I would like them to replace the prior skill.
For example:
I learn Fire 1. After a few levels, I go back and learn Fire 2 which has some additional bonuses. Now I have available Fire 2 but Fire 1 is not usable again as it is a lower level.
Maybe a tag like <hide if learned: X>
I'll second this... it will help a lot for quasi skill-trees. Also, I would think that hiding the skill from the list (not unlearning) is preferable. Otherwise if its unlearned, it may show back up on plugins that allow for unlearned skills to be learned somehow. 😉
*Bump*
Anyone else interested in this?
Thanks for taking this one on- it works well for a 1 skill replace but I'm getting some odd behavior when replacing multiple skills
So if I have Fire 1, Fire 2, Fire 3, Fire 4, and Fire 5 (all requiring the former skill and replacing it when learned) here's what happens.
Learn Fire1. Can see and use Fire1.
Learn Fire2. Can see and use Fire2. Fire1 is gone.
Learn Fire3. Can see and use Fire2 and Fire3.
Learn Fire4. Can see and use Fire2 and Fire4. Fire3 is now gone.
Learn Fire5. Can see and use Fire2 and Fire4 and Fire5.
If I add Fire6 and test, this happens.
Learn Fire6. Can see and use Fire2, Fire4, and Fire6. Fire5 is now gone.
Fixed and also added a small plugin description.
Iavra, Sorry to bother you again. But would you be willing to include skills learned from traits rather than only by 'Learn Skill' function? This way if the actor knows a skill, and equips something that grants a better version of that skill, they can only use the better version and not both.
Un-equipping would then revert the skill back to the learned skill. 🙂
Added a new plugin parameter "Include Traits". You'll need to re-add the plugin to your plugin list if you use the new version, otherwise it won't be able to read the new parameter and crash.
how the compatibility with yanfly skill core?
Ah, i didn't even think about disabling the skill as well. I never use auto battle, since it tends to waste mp and rather use something like "use auto attack on all characters" to kill weak mobs, so that wouldn't be an issue.
Mine doesn't ignore trait learned skills.