This plugin allows players to distribute points to different stats of the Actors at his or her discretion. A command is added to the menu which allows access to a new menu for stat distribution!
Look at the code or download the Plugin:
This plugin allows players to distribute points to different stats of the
Actors at his or her discretion. A command is added to the menu which allows
access to a new menu for stat distribution!
Use the following plugin commands to preform various actions.
OpenStatDistribution Actor [actorId]
This opens the Stat Distribution Menu for the specified Actor ID.
OpenStatDistribution Party [memberIndex]
This opens the Stat Distribution Menu for the specified Actor based on the
index in which they are in the party. For example, setting “memberIndex”
to 0 will open the menu for the party’s leader.
AddStatPoints Actor [actorId] [points]
AddStatPoints Party [memberIndex] [points]
This adds a specific amount points to a specific Actor.
In order to determine what stats can be upgraded, use the “Default Stats”
Parameter. Otherwise, notetags can be used to customize the stats
per each individual Actor:
<Set Distribution Stats: [stats]>
Sets the Actor’s stats to this list.
<Add Distribution Stats: [stats]>
Adds stats to the Actor’s already existing upgradeable stats.
How to Customize Stats
In order to customize the properties of stats, you must use the Database EX.
Simply go to the customizable editors, and select “Stat Distribution Editor”.
Within here, a list of stats will be available and their variables can
be changed to fit with your needs. Be sure to reload to see the changes!
List of Upgradeable Stats
Here is a list of all the available stats and their three-letter codes.
== Base Stats ==
mhp – Max HP
mmp – Max MP
atk – Attack
def – Defense
mat – Magical Attack
mdf – Magical Defense
agi – Agility
luk – Luck
== Ex Stats ==
hit – Hit Rate
eva – Evasion Rate
cri – Critical Rate
cev – Critical Evasion Rate
mev – Magic Evasion Rate
mrf – Magic Reflection Rate
cnt – Counter Attack Rate
hrg – Hp Regeneration
mrg – Mp Regeneration
trg – Tp Regeneration
== Sp Stats ==
tgr – Target Rate
grd – Guard Effect Rate
rec – Recovery Effect Rate
pha – Pharmacology
mcr – Mp Cost Rate
tcr – Tp Charge Rate
pdr – Physical Damage Rate
mdr – Magical Damage Rate
fdr – Floor Damage Rate
exr – Experience Rate
Stat points can be gained by leveling up the Actors.
The “Default Formula” Parameter can be used to set up a formula for how many
stat points an Actor will gain upon level. Alternatively, the following
notetags can be used to give Actors their own formulas:
<Stat Point Formula: [formula]>
<Stat Point Formula: 5 * level>