struct ENEMY_ELEMENT_PRESET
An enemy's element preset in EnemyElementPresetTable: the element it attacks with, its level in each element, and its base power and resistance in each element.
Declared in character.h.
Fields
| Name | Description | |
|---|---|---|
Sint32 | attackElement | The element of its attacks, ELEMENT_NONE for most (gmEnemyGetAttackElement). |
Uint8 | elementLevels [4] | Its level in each element; gmUnitGetElementLevels returns ten times each. |
BATTLE_ELEMENT_STATS | stats [4] | Its base power and resistance in each element, as gmUnitCalculateBaseElements gives them to the unit. |
Description
An enemy's element preset in EnemyElementPresetTable: the element it attacks
with, its level in each element, and its base power and resistance in each
element.
struct ENEMY_ELEMENT_PRESET
Referenced by EnemyElementPresetTable.
Definition at line 226 of file character.h.
Fields in detail
attackElement
Sint32 attackElement
The element of its attacks,
ELEMENT_NONE for most
(gmEnemyGetAttackElement).
elementLevels
Uint8 elementLevels[4]
Its level in each element;
gmUnitGetElementLevels returns ten
times each.
stats
BATTLE_ELEMENT_STATS stats[4]
Its base power and resistance in
each element, as
gmUnitCalculateBaseElements gives
them to the unit.