Alchemy
Loading...
Searching...
No Matches

BattleBaseStats Struct Reference

A copy of a unit's base stats, from baseHp to its element stats, kept while its level is adjusted: BattleEnemy_AdjustLevel reads only the stats it changes, for their 70 percent floors. More...

Data Fields

s16 baseHp
s16 basePp
s16 hpGauge
 copied, not read
s16 ppGauge
 copied, not read
u16 baseAttack
u16 baseDefense
u16 baseAgility
u8 baseLuck
 copied, not read
u8 actionCount
 copied, not read
u8 hpRegen
 copied, not read
u8 ppRegen
 copied, not read
u8 unk12 [2]
struct BattleElementStats element [4]
 the base power is read

Detailed Description

A copy of a unit's base stats, from baseHp to its element stats, kept while its level is adjusted: BattleEnemy_AdjustLevel reads only the stats it changes, for their 70 percent floors.

Definition at line 76 of file formation.c.

Field Documentation

◆ baseHp

s16 BattleBaseStats::baseHp

Definition at line 77 of file formation.c.

Referenced by BattleEnemy_AdjustLevel().

◆ basePp

s16 BattleBaseStats::basePp

Definition at line 78 of file formation.c.

Referenced by BattleEnemy_AdjustLevel().

◆ hpGauge

s16 BattleBaseStats::hpGauge

copied, not read

Definition at line 79 of file formation.c.

◆ ppGauge

s16 BattleBaseStats::ppGauge

copied, not read

Definition at line 80 of file formation.c.

◆ baseAttack

u16 BattleBaseStats::baseAttack

Definition at line 81 of file formation.c.

Referenced by BattleEnemy_AdjustLevel().

◆ baseDefense

u16 BattleBaseStats::baseDefense

Definition at line 82 of file formation.c.

Referenced by BattleEnemy_AdjustLevel().

◆ baseAgility

u16 BattleBaseStats::baseAgility

Definition at line 83 of file formation.c.

Referenced by BattleEnemy_AdjustLevel().

◆ baseLuck

u8 BattleBaseStats::baseLuck

copied, not read

Definition at line 84 of file formation.c.

◆ actionCount

u8 BattleBaseStats::actionCount

copied, not read

Definition at line 85 of file formation.c.

◆ hpRegen

u8 BattleBaseStats::hpRegen

copied, not read

Definition at line 86 of file formation.c.

◆ ppRegen

u8 BattleBaseStats::ppRegen

copied, not read

Definition at line 87 of file formation.c.

◆ unk12

u8 BattleBaseStats::unk12[2]

Definition at line 88 of file formation.c.

◆ element

struct BattleElementStats BattleBaseStats::element[4]

the base power is read

Definition at line 89 of file formation.c.

Referenced by BattleEnemy_AdjustLevel().