Custom Stat Gain on Level UP

So we have been trying to use some existing plugins out there to perform the function we are looking for, such as Bobstah's Weapon/Armor/State/Actor/Class Level Up Bonuses v1.1.1 and Mr. Trivel Gain stats on level up.  None of these have been able to provide what we need.  We have even tried modifying these scripts, but we believe it will take a new script to do what we want.  What we are looking for, is to be able to apply random stat gains within a given interger based on the players class.  The stats themselves are already defined by the players class and these would just be added to the base stats on level.  We want to use notetags to be able to determine the amount of change based on how many levels gained.  So let's say Eric levels up to level 3.  He may gain 1 Strength hitting level 2, but for level 2 he may get 2 strength and 1 vitality.  And maybe once every level 5 levels, they have a chance for a huge stat boost.  Such as +5 strength, +3 vitality, + 2 dexterity and so on.  But the scripts we've tried will not pull the custom stats defined under Bobstah's CustomStats.  If anyone can help me modify one of the existing scripts that would be great, but if someone has the time to write a script from scratch that can cover that functionality simply and allow for calculations and evals, that would be great.  If there needs to be further elaboration, please let me know what is a little fuzzy.


Plugins being used:


Bobstah's Custom Stats:  https://www.dropbox.com/s/9ec4iwp2qvezibu/BOB_CustomStats.js?dl=0
 


Plugins tried for desired effect:  


Bobstah LevelUp Bonus: https://www.dropbox.com/s/hchid4j96jye7y7/BOB_LevelUpBonuses.js?dl=0


Mr. Trivel Gain Stats on Level Up: https://github.com/Trivel/RMMV/blob/master/MrTS_GainStatsOnLevelUp.js
You might want to have a look at my plugin for custom stats. Currently only static level-increases are possible, but an advanced tag to eval javascript is planned for v1.0. With that your idea would be easy to do.


SGS Stats
Thanks for your reply.  I looked at it and I like it.  The one thing we need is a great scripter.  I am the current scripter that wrote this post and my programming skills are definitely at a beginner level.   What I am truly looking at for a system, is a mechanic similar to Final Fantasy IV or any of them really.  I want the base stats to increase on level up, but typically by one or maybe two points at the most, but it be random.   The difference is, the stats are dictated by job, not actor.  Therefore, when a character advances, say from a Warrior to a Knight, their base stats would change, as well as their stat distribution.   The premise is, we are going to give the player a few starter classes to choose from, once chosen, that class is locked, but it has a growth path.   A Warrior can become a Knight or a Blademaster, for example, through a quest.  Similar to an MMO in a way.  But I want their base attributes to be dictated by the job, therefore they have none until that first job is selected.


After looking at your plugin again and reading the instructions, I believe it does some of this, although I'm not sure how to use it in the way that I want it.  I do have a plugin that will allow these base stats to determine everything such as maxHP, maxMP and things, so that is taken care of, then the engine handles the regular battle mechanics.


Also, if you have any ideas on how to do it, I want the jobs to have separate levels, but no job change system where players can use menus to change the job, so the job levels up independently of the actor, and can also see particular increases such as added traits and things.  That's just a concept idea.  But it would be nice so that way it would reset the job level, and maybe only some skills care over, but they have to level up the job to unlock new ones.  Something similar to Ragnarok Online would be the best way to describe it.
But I want their base attributes to be dictated by the job, therefore they have none until that first job is selected.


Define the base attributes by custom stats. Have no stat-notetag on the actors (so they will have a default-value, which is usually 0), but set the notetags on the classes. The stat of an actor is now only depending on his class.

Also, if you have any ideas on how to do it, I want the jobs to have separate levels, but no job change system where players can use menus to change the job, so the job levels up independently of the actor, and can also see particular increases such as added traits and things.  That's just a concept idea.  But it would be nice so that way it would reset the job level, and maybe only some skills care over, but they have to level up the job to unlock new ones.  Something similar to Ragnarok Online would be the best way to describe it.


Since the job-level are still tied to the actor (so Joe could be a Level2 Knight, and Jill is a Level5 Knight) you can use the stat-system for that too. Define the job-level and maybe even the experience as custom stats. Then each actor has a Knight-Level and a Knight-Experience. Increase these stats using the system as you see fit. Checking the experience and awarding "job level up" can be done by an event. Since you can increase and decrease stats already, you can also reset them. (Though that requires a bit of calculation, a set-method would be a nice addition)


All the plugin does is tying some number under a name to an actor/enemy. How you use this number is all up to you.

Original thread: https://forums.rpgmakerweb.com/threads/custom-stat-gain-on-level-up.59546/