struct LEVEL_UP_RESULT
A level up's result: the level reached and the gain in each stat. More…
Declared in character.h.
Fields
| Name | Description | |
|---|---|---|
Sint16 | level | |
Uint16 | ability | Set to -1 and read by nothing: the battle finds an ability learned by comparing the unit's Psynergy before and after. |
Uint16 | hp | |
Uint16 | pp | |
Uint16 | attack | |
Uint16 | defense | |
Uint16 | agility | |
Uint16 | luck |
Description
A level up's result: the level reached and the gain in each stat. The caller
provides it; gmUnitLevelUp fills it, and btAwardSpoils reports each gain that
is not zero.
struct LEVEL_UP_RESULT
Referenced by gmUnitCheckLevelUp(), gmUnitLevelUp(), gmUnitLevelUpTo() and gmUnitTryLevelUp().
Definition at line 293 of file character.h.
Fields in detail
level
Sint16 level
ability
Uint16 ability
Set to -1 and read by nothing: the battle finds an ability learned by comparing the unit's Psynergy before and after.
hp
Uint16 hp
pp
Uint16 pp
attack
Uint16 attack
defense
Uint16 defense
agility
Uint16 agility
luck
Uint16 luck