styx92

Veteran
Veteran
Joined
Jan 7, 2016
Messages
310
Reaction score
39
First Language
German
Primarily Uses
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 :)  
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
696
Reaction score
102
First Language
French
Primarily Uses
RMMV
It would be helpful if you mention how do the actors get points...
 

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
696
Reaction score
102
First Language
French
Primarily Uses
RMMV
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>
 

Latest Threads

Latest Profile Posts

I THINK I have a slightly better grasp on drawing my maps now... sorta. I still need to figure out how to draw a city of sorts. I've only got the abstract going so far.
One day, I'll not have this lingering cough and we'll have another make a game stream.
A music I create while practicing E Major scale. :D
Too bad the Boss Battle Build Bout isn't also for VXAce.

Forum statistics

Threads
115,188
Messages
1,087,948
Members
149,759
Latest member
Valenn
Top