Do you use JP for a tree in 'SkillTreesSystem.class2trees'? Because job points belong to a specific class, which means tree must belong to the same class too. Actor tree can't have class because it belongs to an actor, not to a class.
Thanks for report! As I see there is a bug, when I try to change class from class with no trees. I'l fix it soon.
Try to use actors and classes with skilltrees to check that plugin update works.
Fix is ready. Let me know, if you find another bug or your update is successfull.
- Added actor and tree to OnLearnAction.act() method.
- Added text command to show unspent skills.
- Added script calls to reset skills.
- Fixed possible bug with big skill cursor when Window_Selectable spacing was overwritten.
- Fixed bug when skill cooldown wasn't shown without...
Do you use SkillTreesSystem.singlePointsPool? True or false? You can cut off one branch and keep the one you need. Remove empty line.
Or use Flow Control Event Commands instead of code. "Conditional Branch..." to replace if statement, game variables instead of local variables, etc.
There is an actor, which is actor itself, and actor id, which is number in database. resetSkillTree takes actor and skill tree and resets only 1 tree. To reset all trees you can get actor like $gameActors.actor(106) and insert into code snippet in my previous message.
Yes, it is a script call removing all learned skills and giving back all spent points. You can use it in custom script.
As for an actor - take it from the party or any other way. For example, $gameActors.actor(actorId) where actorId is actor id in database.