I've been browsing for a while now but i can't find a solution that's not a massive workaround.
Problem being relatively simple. I got a bunch of skills that raise various stats via yep skillcore, skill learn and that other yep plugin wich let's you apply passive states via skills.
So I made something like ATK UP I-III and the goal is to have the player "Upgrade the skill" Meaning he can only learn ATK UP II after he learned ATK UP I. Simple enough, we just use <Learn Require Skill: x> and <Learn Cost: x JP> to determine the skill required to learn the upgrade and the JP cost.
Now i found you can use that lunatic mode stuff
<Learn Cost Eval>
user.forgetSkill(x);
</Learn Cost Eval>
in the note to make the player forget the previous skill. This seems to make it so that you can re- learn the previous skill, wich is what I'm trying to avoid for a couple of hours now.
Is there some code that prevents the use from learning a skill if he already has learned a higher tier? Or a code wich just simply hides the previous skill from the list entirely?
I only heard about somehow making the states not able to be applied at the same time using YEP_statecore wich sounds like a big workaround for what seems a simple issue.
As always, help is much appreciated!
Problem being relatively simple. I got a bunch of skills that raise various stats via yep skillcore, skill learn and that other yep plugin wich let's you apply passive states via skills.
So I made something like ATK UP I-III and the goal is to have the player "Upgrade the skill" Meaning he can only learn ATK UP II after he learned ATK UP I. Simple enough, we just use <Learn Require Skill: x> and <Learn Cost: x JP> to determine the skill required to learn the upgrade and the JP cost.
Now i found you can use that lunatic mode stuff
<Learn Cost Eval>
user.forgetSkill(x);
</Learn Cost Eval>
in the note to make the player forget the previous skill. This seems to make it so that you can re- learn the previous skill, wich is what I'm trying to avoid for a couple of hours now.
Is there some code that prevents the use from learning a skill if he already has learned a higher tier? Or a code wich just simply hides the previous skill from the list entirely?
I only heard about somehow making the states not able to be applied at the same time using YEP_statecore wich sounds like a big workaround for what seems a simple issue.
As always, help is much appreciated!