|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's battle stats (FIGHTSTG_computeStats). More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| static void | computeEnemyStats (BattleStats *stats, BattleFighter *fighter, s32 index) |
| Works out an enemy's stats from its table entry, its strength and the fighter's boosts. | |
| BattleStats * | FIGHTSTG_computeStats (u8 side, s32 which, s32 index) |
| Works out a side's stats into its BattleStats: the partner's totals with the fighter's boosts, its resistances and what its equipment and accessories add, or the enemy's (computeEnemyStats). | |
FIGHTSTG's battle stats (FIGHTSTG_computeStats).
Definition in file stats.c.
|
inlinestatic |
Works out an enemy's stats from its table entry, its strength and the fighter's boosts.
< physical damage
< against it
< physical accuracy, evasion and running away
< magic damage, and against it
Definition at line 7 of file stats.c.
Referenced by FIGHTSTG_computeStats().
| BattleStats * FIGHTSTG_computeStats | ( | u8 | side, |
| s32 | which, | ||
| s32 | index | ||
| ) |
Works out a side's stats into its BattleStats: the partner's totals with the fighter's boosts, its resistances and what its equipment and accessories add, or the enemy's (computeEnemyStats).
The match depends on one s16 pointer walking the totals, the accessories and the equipment alike: its extra sets give it the references that put it before found in the global allocator.
< its power is read by nothing
< its power is read by nothing
< its power is in 128ths of the damage
< its power is in 128ths of the damage
Definition at line 42 of file stats.c.
Referenced by FIGHTSTG_changeBoost(), FIGHTSTG_computeCounterDamage(), FIGHTSTG_computeDamage(), FIGHTSTG_computeHeal(), FIGHTSTG_computeMagicDamage(), FIGHTSTG_getDamage(), FIGHTSTG_rollCritical(), FIGHTSTG_rollDrain(), FIGHTSTG_rollHit(), FIGHTSTG_rollMagicCritical(), FIGHTSTG_rollMagicHit(), FIGHTSTG_rollPoison(), FIGHTSTG_rollSleep(), FIGHTSTG_rollStatusRaise(), FIGHTSTG_rollSteal(), FIGHTSTG_testConfusion(), FIGHTSTG_testParalysis(), FIGHTSTG_testRunAway(), FIGHTSTG_testWakeUp(), and rollStatus().