Yanfly Job Points reset

Hey guys.  


Im using yanflys job points plugin and want an option to reset the points.  There are only a plugin command to get the current points into a variable but i want to get all points,  the spended points,  too. 


Maybe someone has experience with this feature 🙂  


Thanks 🙂  
It would be helpful if you mention how do the actors get points...
It would be helpful if you mention how do the actors get points...

The actors get points from battle actions and for quests =)

http://yanfly.moe/2015/11/13/yep-27-job-points/
Then just make custom variables for each actor


Whenever you learn a skill, add to that variables how many points you have spent


$gameActors.actor(X)._(point variable) += y


When reseting using a skill, unlearn all skills and


<Learn Cost Eval>


user.gainJp(user._(point variable),class)


user._(point variable) = 0
</Learn Cost Eval>

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-job-points-reset.74295/