I am working on a Shin Megami Tensei/Megami Tensei-based project and I'm having a hard time adapting the stat system from that game into RPGMMZ. Can someone help please?
Basically, the gist of it is that there's two types of stats the player has - the primary stats and the derivative stats. Primary stats are what the player can directly increase by leveling up, whereas derivative stats are calculations made based on those stats during battle.
Primary stats are the little gauges at the bottom. Derivative stats are the numbers to the right of the spell list.
There are six primary stats - STR, INT, MAG, STM, SPD and LUK.
The derivative calculations are based on those stats, more specifically:
However, same stats are calculated differently for demon party members, which are basically another class altogether. For them it's:
So, in other words, I want additional stats which, in turn, affect "derivative" stats which are used for damage calculations and the such. "Derivative" stats, however, are used differently depending on the class, so either being able to differentiate stat usage using a notetag (<human> for humans and <demon> for demons), or just being able to assign different stat properties to each class (For example, class 1's power formula is STR+(LEVEL) while class 2 uses (STR*4)+(VIT/4)).
Basically, the gist of it is that there's two types of stats the player has - the primary stats and the derivative stats. Primary stats are what the player can directly increase by leveling up, whereas derivative stats are calculations made based on those stats during battle.
Primary stats are the little gauges at the bottom. Derivative stats are the numbers to the right of the spell list.
There are six primary stats - STR, INT, MAG, STM, SPD and LUK.
STRENGTH (STR):Increases Max HP, Power, and Accuracy
INTELLIGENCE (INT):Increases Evade and Magic Effect;
MAGIC (MAG):Increases Magic Power and Magic Effect.
VITALITY (VIT):Increases Max HP twice as much as STR does and Defense.
AGILITY (AGI):Increases Accuracy and Evade; increases the chances of escaping in battle and increases ability to act sooner in battle.
LUCK (LCK):Increases Accuracy and Evade; increases the chances of finding an item after battle, increases chances of getting in a first strike in battle, increases the chances of escaping from battle.
INTELLIGENCE (INT):Increases Evade and Magic Effect;
MAGIC (MAG):Increases Magic Power and Magic Effect.
VITALITY (VIT):Increases Max HP twice as much as STR does and Defense.
AGILITY (AGI):Increases Accuracy and Evade; increases the chances of escaping in battle and increases ability to act sooner in battle.
LUCK (LCK):Increases Accuracy and Evade; increases the chances of finding an item after battle, increases chances of getting in a first strike in battle, increases the chances of escaping from battle.
The derivative calculations are based on those stats, more specifically:
POWER =STR + WEAPON POWER - Improves the damage dealt by a physical attack.
ACCURACY =AGI + [(STR + LCK)/4] + WEAPON ACCURACY - Improves the likelihood of an hitting a target.
DEFENSE =[(VIT + SPD)/2] + ARMOR DEFENSE - Decreases the amount of damage received from a physical attack.
EVADE =AGI + [(INT + LCK)/4] - Decreases the likelihood that an attack or ability will hit.
MAGIC POWER =MAG + (INT/8) - Improves the damage dealt or HP healed by a Magic ability.
MAGIC EFFECT =INT + (MAG/8) - Improves the chances that spell's effects (if we're talking status effects, for example) will work.
ACCURACY =AGI + [(STR + LCK)/4] + WEAPON ACCURACY - Improves the likelihood of an hitting a target.
DEFENSE =[(VIT + SPD)/2] + ARMOR DEFENSE - Decreases the amount of damage received from a physical attack.
EVADE =AGI + [(INT + LCK)/4] - Decreases the likelihood that an attack or ability will hit.
MAGIC POWER =MAG + (INT/8) - Improves the damage dealt or HP healed by a Magic ability.
MAGIC EFFECT =INT + (MAG/8) - Improves the chances that spell's effects (if we're talking status effects, for example) will work.
However, same stats are calculated differently for demon party members, which are basically another class altogether. For them it's:
POWER =(STRx3) + (VIT/4) + (LEVEL - 19)
ACCURACY =AGI + (STR/4)
DEFENSE =(AGIx2) + (STR/4) + [(LEVEL - 19)/2]
EVADE =AGI + (INT/8)
MAGIC POWER =MAG + (INT/8)
MAGIC EFFECT =INT + (MAG/8)
ACCURACY =AGI + (STR/4)
DEFENSE =(AGIx2) + (STR/4) + [(LEVEL - 19)/2]
EVADE =AGI + (INT/8)
MAGIC POWER =MAG + (INT/8)
MAGIC EFFECT =INT + (MAG/8)
So, in other words, I want additional stats which, in turn, affect "derivative" stats which are used for damage calculations and the such. "Derivative" stats, however, are used differently depending on the class, so either being able to differentiate stat usage using a notetag (<human> for humans and <demon> for demons), or just being able to assign different stat properties to each class (For example, class 1's power formula is STR+(LEVEL) while class 2 uses (STR*4)+(VIT/4)).