The running totals UnitCalc builds a unit's stats in, in a block of the alternate pool that it frees at the end. More...
Data Fields | |
| s32 | hp |
| maximum HP | |
| s32 | pp |
| maximum PP | |
| s32 | atk |
| Attack. | |
| s32 | def |
| Defense. | |
| s32 | agi |
| Agility. | |
| s32 | unk14 |
| never written; a gap between Agility and Luck | |
| s32 | luck |
| s32 | turns |
| actions a round, 0 to 2 | |
| s32 | hpRegen |
| HP regained each round. | |
| s32 | ppRegen |
| PP regained each round. | |
| s32 | element [4][2] |
| [element][0] power and [1] resistance | |
| s32 | kind |
| the item effect being applied | |
| s32 | unk4c [2] |
| never written | |
| s32 | amount |
| the amount of the item effect being applied | |
| struct ItemDefinition * | item |
| the equipped item being applied | |
| s32 | unk5c |
| never written | |
The running totals UnitCalc builds a unit's stats in, in a block of the alternate pool that it frees at the end.
| s32 StatWork::hp |
| s32 StatWork::pp |
| s32 StatWork::atk |
| s32 StatWork::def |
| s32 StatWork::agi |
| s32 StatWork::unk14 |
| s32 StatWork::luck |
Definition at line 16 of file units.c.
Referenced by UnitCalc().
| s32 StatWork::turns |
| s32 StatWork::hpRegen |
| s32 StatWork::ppRegen |
| s32 StatWork::element[4][2] |
[element][0] power and [1] resistance
Definition at line 20 of file units.c.
Referenced by UnitCalc().
| s32 StatWork::kind |
| s32 StatWork::amount |
the amount of the item effect being applied
Definition at line 23 of file units.c.
Referenced by UnitCalc().
| struct ItemDefinition* StatWork::item |