struct CLASS_DEFINITION
A class: its series, the element levels it needs, its stat multipliers and the abilities it teaches.
Declared in character.h.
Fields
| Name | Description | |
|---|---|---|
long | series | The series the class belongs to; gmClassDetermine picks the series from the character's two strongest elements. |
Uint8 | required [4] | The element levels the class needs, in tens: the last class of the series the character meets in all four is its class. |
Uint8 | hp | Tenths of the base stat. |
Uint8 | pp | Tenths of the base stat. |
Uint8 | attack | Tenths of the base stat. |
Uint8 | defense | Tenths of the base stat. |
Uint8 | agility | Tenths of the base stat. |
Uint8 | luck | Tenths of the base stat. |
Uint8 | padding [2] | |
CLASS_ABILITY | abilities [CLASS_ABILITY_SLOTS] | The Psynergy the class teaches. |
Uint8 | weakEffects [4] | [0] to [2]: the ability effects the class is weak to (gmBattleAbilityIsWeakToEffect); [3] is 0 in every row and not read. |
Description
A class: its series, the element levels it needs, its stat multipliers and the abilities it teaches.
struct CLASS_DEFINITION
Referenced by ClassDefinitionTable, gmClassGetDefinition(), gmUnitCalculate() and gmUnitRefreshPsynergy().
Definition at line 90 of file character.h.
Fields in detail
series
long series
The series the class
belongs to;
gmClassDetermine picks the
series from the character's
two strongest elements.
required
Uint8 required[4]
The element levels the class needs, in tens: the last class of the series the character meets in all four is its class.
hp
Uint8 hp
Tenths of the base stat.
pp
Uint8 pp
Tenths of the base stat.
attack
Uint8 attack
Tenths of the base stat.
defense
Uint8 defense
Tenths of the base stat.
agility
Uint8 agility
Tenths of the base stat.
luck
Uint8 luck
Tenths of the base stat.
padding
Uint8 padding[2]
abilities
CLASS_ABILITY abilities[CLASS_ABILITY_SLOTS]
The Psynergy the class teaches.
weakEffects
Uint8 weakEffects[4]
[0] to [2]: the ability effects the class
is weak to (gmBattleAbilityIsWeakToEffect);
[3] is 0 in every row and not read.