RPG Maker Forums

SGS Stats v1.2
by MagicMagor


Features
This plugin allows you to define additional stats for your actors and enemies. These stats can be then used in damage formulas or elsewhere. Stats are influenced by states, equipment and classes. They automaticly increase when an actor levels up.

How to Use
A complete explanation of all parameters and notetags can be found in the plugins help. This is just a small explanation to get you started.


You define the stats by entering a list of stat-names in the plugin parameter "Names". Seperate names with a comma. These names are case-sensitive.


Afterwards you can use the following notetag on Actors, Classes, Enemies, Weapons, Armors and States


Code:
<SGS Stat: name=value>

This defines the base-value of the stat 'name' to be value. The value must be a number and name must be one of stat-names defined in the parameters.


To retrieve the stat-value of an actor or enemy the following javascript function can be used


Code:
battler.sgsStat(name)

'battler' is a Game_Actor or Game_Enemy object, 'name' is the name of the stat. Please note that the name has to be enclosed in ''. For example:


Code:
battler.sgsStat('strength')

This would return the strength-value of an actor or enemy.

A simpler way is to use the stat as a property (requires v. 1.2):

Code:
battler.strength
The value of a stat on an actor or enemie is further modified by active states, the actors class and equipment. The exact formula can be changed in the plugin parameters. It is also possible to use a different formula for enemies.


To change the value of a stat you can use


Code:
battler.incSGSStat(name, value)

This will increase the stat 'name' of the battler by 'value'. Use negative values to decrease the stat.


A stat can automaticly increase when an actor levels up. The amount it increases can be defined by this notetag:


Code:
<SGS Stat Level: name=value>

Like with the normal value, states, class and equipment affect the level-increase of the stat.


Additional features

  • Advanced versions of the Base- and Level-Notetag to evaluate javascript

  • Define global maximum/minimum stats, or specific limits by notetags

Other things to note


The defined stats do nothing on their own. How they are used are up to you. They can be used inside damage formulas, can affect other stats/parameter using other plugins or simply used inside events.


In particular the stats are not displayed anywhere on the normal GUI. You would have to use another plugin, to display them on the status menu.


License:


Free for all games in MV (free and commercial). Credit to MagicMagor must be given inside the game or a credits-file. Modification to the script is allowed, but the modified script can not be distributed. Distributing the script via the game, that uses it is the only exception for this.



Download
SGS Stats (v1.2)

Changelog
1.0 - Initial Release
1.1 - Fixed invisible enemies
1.2 - Adapted to new plugin manager and added simple properties for new stats

Latest Threads

Latest Posts

Latest Profile Posts

He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!

Forum statistics

Threads
106,035
Messages
1,018,459
Members
137,821
Latest member
Capterson
Top