Hello, I am usine Hime's Learn Condition Formulas and am confused with how to use it. I have the core script in the correct place and I've used previous scripts that use notetags before. When I was originally writing it I assumed I would put in a notetag in the skill notes. For example, the basic fire spell needed a user to be at least level 1, have magic power at least at 36, and it will be forgotten once the upgrade spel l is learned:
<req condition: a.level >= 1 />
<req condition: a.mat >= 36 />
<forget condition: a.skill_learn?($data_skills[007] />
Here is the upgrade spell which requires at least a level of 13 and a magic power of 116:
<req condition: a.level >= 13 />
<req condition: a.mat >= 116 />
<req condition: a.skill_learn?($data_skills[006]) />
<forget condition: a.skill_learn?($data_skills[008] />
However it doesn't work. The character's magic attack is much too low to even learn the first level spell but still learns it irregardless. I knew I was doing something wrong so I reread Hime's script and saw this:
I haven't had to work on something like this so I am confused. How does this work? Where would I be writing this? I feel like I am very close to getting this worked out but need a bit of clarification. Thanks in advanced.
<req condition: a.level >= 1 />
<req condition: a.mat >= 36 />
<forget condition: a.skill_learn?($data_skills[007] />
Here is the upgrade spell which requires at least a level of 13 and a magic power of 116:
<req condition: a.level >= 13 />
<req condition: a.mat >= 116 />
<req condition: a.skill_learn?($data_skills[006]) />
<forget condition: a.skill_learn?($data_skills[008] />
However it doesn't work. The character's magic attack is much too low to even learn the first level spell but still learns it irregardless. I knew I was doing something wrong so I reread Hime's script and saw this:
I haven't had to work on something like this so I am confused. How does this work? Where would I be writing this? I feel like I am very close to getting this worked out but need a bit of clarification. Thanks in advanced.