Hello everyone.
I have put into my project Yanfly's learn skills and JP manager scripts.
With basic setup I have it working as expected.
The one thing I've been trying to do and can't figure out (I've searched many other posts and web sites)
is how to make a skill only available to learn if the specific actor (or class, yes I have the class script as well)
is a specific level (class) or higher.
$game_actors[1].level >= 2
Does not work. Neither does @actor.level since you can't specify a specific actor with that code.
Is there a way to set it so that actor 1 can learn the skill at level 2 but actor 2 must be level 3?
I have seen on one webpage where it could be used to check parameters. But I only want to restrict to levels.
Current settings -
Class notetag - <learn skills: 3>
Skill notetag -
<learn cost: 80 jp>
<learn require level: 2>
And yes I understand the notetags (if anybody was wondering)
<learn require eval>
$game_actors[1].level >= 2
</learn require eval>
Edit* - The previous edits I made were in regards to classes. I'm going with the basic setup for the skills. learn skills at a specific level then when change class learn skills at a specific level for the new class. Nothing works exactly like I want but I could not find scripts to do what I need. One thought was to set the starting (level 1) exp for the new class to the experience of the previous class (level 50), but it doesn't work that way. So I have not been able to find a way to easily get skills learned as mentioned above, while trying to figure out the best way to do a class change. If I could do the specific level for learning a skill, then that would just add on a feature to the learn skill script. Similarly, if it could be set to a specific class then you could set it so it would be learned at a low level, but then I'm back to the exp starting point again.
I have put into my project Yanfly's learn skills and JP manager scripts.
With basic setup I have it working as expected.
The one thing I've been trying to do and can't figure out (I've searched many other posts and web sites)
is how to make a skill only available to learn if the specific actor (or class, yes I have the class script as well)
is a specific level (class) or higher.
$game_actors[1].level >= 2
Does not work. Neither does @actor.level since you can't specify a specific actor with that code.
Is there a way to set it so that actor 1 can learn the skill at level 2 but actor 2 must be level 3?
I have seen on one webpage where it could be used to check parameters. But I only want to restrict to levels.
Current settings -
Class notetag - <learn skills: 3>
Skill notetag -
<learn cost: 80 jp>
<learn require level: 2>
And yes I understand the notetags (if anybody was wondering)
<learn require eval>
$game_actors[1].level >= 2
</learn require eval>
Edit* - The previous edits I made were in regards to classes. I'm going with the basic setup for the skills. learn skills at a specific level then when change class learn skills at a specific level for the new class. Nothing works exactly like I want but I could not find scripts to do what I need. One thought was to set the starting (level 1) exp for the new class to the experience of the previous class (level 50), but it doesn't work that way. So I have not been able to find a way to easily get skills learned as mentioned above, while trying to figure out the best way to do a class change. If I could do the specific level for learning a skill, then that would just add on a feature to the learn skill script. Similarly, if it could be set to a specific class then you could set it so it would be learned at a low level, but then I'm back to the exp starting point again.