Support on Emerald's Skill Tree script

I need some assistance on Emerald's Skill Tree script.


Is there a way to generate a line of script I can plug into a script call that tells the script that the player already learned a skill, the requirements to learn are thus fulfilled, and doesn't need to put points into it? This may not have much impact at the beginning of the game, but as you can imagine, later in the game when party members come with skills already learned, it just looks sloppy for the skill tree to state that they need x points to learn it, when in fact they already know it.
I have NOT used this script, so maybe someone can give you better help, but I did take a quick look through it and found this method of Game_Actor:


def learn_tree_skill(skill_id)
unless skill_learn?($data_skills[skill_id])
@skills.push(skill_id)
@skills.sort!
end
end



I am wondering if you might be able to call something like $game_actors[8].learn_tree_skill(115) to populate Skill #115 into Actor #8 (in your database)'s repertoire when they first join your party, rather than giving them the skill by default.  That way, I would imagine you could still show the skill in the tree, but it will display as "already learned" even on the first time you view the tree for that actor.

Original thread: https://forums.rpgmakerweb.com/threads/support-on-emeralds-skill-tree-script.63566/