src/game/element_table.c
The element tables: class series by element, element power and resistance by level, the enemies' element presets, the power and resistance curve, and the dragons and sea creatures two weapons' effects look for. More…
Included by game.c.
Variables
| Name | Description | |
|---|---|---|
const Sint32 | ClassSeriesByElements [4][4] | The class series by a character's strongest and second element, read as [strongest][second]; The Broken Seal's ClassSeriesByElements. |
const ELEMENT_LEVEL_BONUS | ElementPowerResistByLevel [16] | The elemental power and resistance of each element level, 0 to 15; The Broken Seal's ElementPowerResistByLevel. |
const ENEMY_ELEMENT_PRESET | EnemyElementPresetTable [] | The 48 enemy element presets, by ENEMY_DEFINITION.elementPreset; each is named by the enemies that have it, in the English release's words. |
const Sint16 | ElementPowerResistCurve [5][2] | The element power and resistance curve, the same in both games: pairs of an input and its value in 256ths, from 200 down to -200, between which gmBattleGetElementMultiplier interpolates. |
const Uint16 | EnemyDragonIds [DRAGON_ENEMY_COUNT] | The dragons, by enemy id: the Hydras, Serpents, Dinos, Dragons, Lizards, Chimeras and the Doom Dragon. |
const Uint16 | EnemySeaCreatureIds [SEA_CREATURE_ENEMY_COUNT] | The sea creatures, by enemy id: the Cuttles, Jellies, Hydras, Poseidon, the shells and urchins, the Mermen, the sea Dragons, the Seabirds, the Lizard Men and the Kraken. |
Description
The element tables: class series by element, element power and resistance by
level, the enemies' element presets, the power and resistance curve, and the
dragons and sea creatures two weapons' effects look for. Part of game.c.
Variables in detail
ClassSeriesByElements
const Sint32 ClassSeriesByElements[4][4]
The class series by a character's strongest and second element, read as
[strongest][second]; The Broken Seal's ClassSeriesByElements.
References Sint32.
Referenced by gmClassDetermine().
Definition at line 7 of file element_table.c.
ElementPowerResistByLevel
const ELEMENT_LEVEL_BONUS ElementPowerResistByLevel[16]
The elemental power and resistance of each element level, 0 to 15; The Broken
Seal's ElementPowerResistByLevel.
Referenced by gmUnitCalculateBaseElements().
Definition at line 24 of file element_table.c.
EnemyElementPresetTable
const ENEMY_ELEMENT_PRESET EnemyElementPresetTable[]
The 48 enemy element presets, by ENEMY_DEFINITION.elementPreset; each is named by the enemies
that have it, in the English release's words.
Referenced by gmEnemyGetAttackElement(), gmUnitCalculateBaseElements() and gmUnitGetElementLevels().
Definition at line 46 of file element_table.c.
ElementPowerResistCurve
const Sint16 ElementPowerResistCurve[5][2]
The element power and resistance curve, the same in both games: pairs of an
input and its value in 256ths, from 200 down to -200, between which
gmBattleGetElementMultiplier interpolates.
Referenced by gmBattleGetElementMultiplier().
Definition at line 602 of file element_table.c.
EnemyDragonIds
const Uint16 EnemyDragonIds[DRAGON_ENEMY_COUNT]
The dragons, by enemy id: the Hydras, Serpents, Dinos, Dragons, Lizards,
Chimeras and the Doom Dragon. Raiden's Wrath (the Cloud Brand's unleash)
takes effect only on these (gmEnemyIsDragon).
Referenced by gmEnemyIsDragon().
Definition at line 613 of file element_table.c.
EnemySeaCreatureIds
const Uint16 EnemySeaCreatureIds[SEA_CREATURE_ENEMY_COUNT]
The sea creatures, by enemy id: the Cuttles, Jellies, Hydras, Poseidon, the
shells and urchins, the Mermen, the sea Dragons, the Seabirds, the Lizard Men
and the Kraken. The Trident's use takes effect only on these
(gmEnemyIsSeaCreature).
Referenced by gmEnemyIsSeaCreature().
Definition at line 667 of file element_table.c.