A downloadable tool

Download NowName your own price

Stat Level Up System v0.9

A system for allowing actor stats to have their
own exp and level for each stat. Simply use the
plugin script calls to gain exp.

Script calls:

SLS.gainExp(actorId, stat, exp, gain);

Use SLS.gainExp to give stat exp to actorId.
actorId = actorId from database
stat = Stat "Name" from parameters
exp = number of exp gained
gain = number of stats gained if level up

Example: SLS.gainExp(1, "Attack", 5, 10)
This would give 5 exp to actor 1 "Attack" stat and
if this stat levels up it would add 10 to that stat.
If actorId 0 is used then the Id will be set to party
leaders actorId.
Example: SLS.gainExp(0, "Attack", 5, 10)
Would do the same as example above but the actorId will
be the party leaders actorId. (Top actor in party).

Script Call to level up a target stat:

SLS.levelUp(actorId, stat);

actorId = actors Id from database
stat = "stat" name from plugin parameters

Example: SLS.levelUp(1, "Attack");
Would level up target actors stat & add multiplier values
to target stat.

Example2: SLS.levelup(0, "Agility");
Would level up party leaders stat & add multiplier values
to target stat.

-----------------------------------------------

Use the following to display/check stat exp and level
and stat value.

SLS.getExp(actorId, stat);
SLS.getLevel(actorId, stat);
SLS.getStat(actorId, stat);

actorId = Actors Id # from database.
stat = Stat "Name" from plugin parameters.

Example: SLS.getExp(1, "Attack");
This would return current exp for "Attack" stat of
actor 1.

-----------------------------------------------

Actor Database Notetags:

Use notetag box in actor database to specify stat
gain multipliers. Any 'gain' value used in
SLS.gainExp(actorId, "stat", exp, gain) call
will be multiplied by the value used in actor notes.
Use stat name value in plugin parameters.

Allows for multiple notetags to be used, or none.

<SLS "attack" 3>
would multiply attack stat gain by 3.

<SLS "luck" 5>
would multiply luck stat gain by 5

Script call to Modify these values on the fly:

SLS.setMult(actorId, stat, value);

Sets the multiplier for actors described above.

Example1:
SLS.setMult(3, "Agility", 2.5);
Sets actor 3s Agility stat gain multiplier to 2.5.

Example2:
SLS.setMult(0, "Luck", 5);
Sets party leaders Luck stat gain multipler to 5.

-----------------------------------------------

SLS.addMult(actorId, stat, value);

Adds value to the current Multiplier value.

Example:
SLS.addMult(1, "Attack", 5);
Would add 5 to actor 1s current "Attack" Multiplier.

Example2:
If used as a consumable item set item 'Effects' to
Execute a common event and in the common event call
the script call as shown below.

SLS.addMult($gameParty._targetActorId, "Agility", 5);

this adds 5 "Agility" to the actor the item was used on.

SLS.getMult(actorId, stat);

Displays/Checks the current Multiplier values of actors
"Stat".

actorId = actors Id from database.
stat = "stat" name from parameter.

Example:
SLS.getMult(2, "Luck");

Returns actor 2's "Luck" Multiplier.

-----------------------------------------------

You can place event comments on event pages to
set event stats and level. Use the notetags below
on an event page to tie stats and level to an event.

If an event switches pages the comment values are
updated to reflect new values on next page, if
next page has no comments all values will be 0.

Event Comments:

<SLSlvl "stat" 5>
Will make the event have level 5 in "stat" Use plugin
parameters name for "stat". Example: "Attack"

<SLSstat "stat" 50>
Will make the event have 50 "stat". Use plugin parameters
name for "stat". Example: "Attack".

Use script calls below to check/display these values.

Script Calls:
 
SLS.getEventLvl(eventId, "stat");
Returns the events "stat" level.

SLS.getEventStat(eventId, "stat");
Returns the events "stat" value.

-----------------------------------------------
More coming if needed.
-----------------------------------------------

Change Log:
v0.1 -
Created basic actor stat setup.
Created basic stat exp system.
Created basic stat level up system.
v0.3 -
Added LevelDown function.
Added support for negative values in SLS.gainExp.
Added party leader option to SLS.gainExp function.
v0.5 -
Added actor database notetag multiplier.
Added script call to modify multiplier for actors.
v0.7 -
Added Event comment system.
Added Event script calls to check lvl and stat.
v0.8 -
Added Event comment check for each page.
v0.9 -
Added Exp Required Formula to plugin parameters.
Added functionality to Exp Formula.
Added manual level up script call.
Added initial actor stat level plugin parameter.
Made a change to how event page setup is handled.
Added script call to add to the value of multiplier.

-----------------------------------------------


Note: This is a discontinued plugin and will likely never be updated again.

Download

Download NowName your own price

Click download now to get access to the following files:

Ritter_StatLevelUpSystem.js 18 kB

Leave a comment

Log in with itch.io to leave a comment.