I have a character who is an Alchemist. I have it set up with Victor Engine's
Mix Action so that he can combine two items in combat for a predetermined effect.
What I would like to happen is that when he combines the items, it gets added to a list in the menu that the player can view (but not use; it's a battle skill only). I'm also using
YEP_SkillCore, and I thought I could have him "learn" his Alchemy Skills by putting something like this in the notes of each skill:
<Post-Damage Eval>
if (!user.isLearnedSkill(skill.id)) {
user.learnSkill(skill.id);
var text = user.name() + ‘ discovered the formula for ‘
text = text + skill.name + ‘!’;
$gameMessage.add(text);
}
</Post-Damage Eval>
Basically, whenever he mixes an item in battle to get an effect, I want the game to check to see if he already knows the skill, and if not, to add it to the menu for viewing. The above code returns a syntax error, though, and I'm not sure what I'm missing.