|
Digimon World 3 decomp
The European version, SLES_039.36
|
A side's stats as FIGHTSTG_computeStats works them out. More...
#include <battle/battle_mode/battle.h>
Data Fields | |
| s16 | level |
| s16 | stats [5] |
| with the fighter's boosts | |
| s16 | resist [12] |
| u8 | flags |
| the fighter's | |
| u8 | family |
| u8 | damageBonus |
| in 64ths: the fighter's charge | |
| u8 | damageCut |
| taken off each hit | |
| u8 | weaponFamilies [3] |
| from the equipment, as are the ones after | |
| u8 | element |
| the accessory's, for techniques without one | |
| u8 | elementPower |
| HitStatus | statuses [5] |
| by HIT_*, from the weapon | |
| u8 | tripleHit |
| plain physical techniques hit 3 times for 0.4 of the damage | |
| u8 | criticalBonus |
| to plain techniques' critical chance, off their accuracy | |
| u8 | counter |
| answers hits with the partner's first skill | |
| u8 | accuracy |
| u8 | evasion |
| u8 | runAwayBonus |
| to the player's chance to run away | |
| u8 | runAwayGuard |
| halves the enemy's chance to run away | |
| u8 | stealBonus |
| u8 | pad |
| only cleared with the rest (HEAP.zero of sizeof); BattleFuncs.stats[2] spans 0x80 bytes | |
A side's stats as FIGHTSTG_computeStats works them out.
A family is the kind of Digimon that a technique (TechData.family) or a weapon does half again the damage to, and to which it lands critical hits more often.
| s16 BattleStats::level |
Definition at line 306 of file battle.h.
Referenced by computeEnemyStats(), FIGHTSTG_computeStats(), FIGHTSTG_rollHit(), FIGHTSTG_rollMagicHit(), and FIGHTSTG_testRunAway().
| s16 BattleStats::stats[5] |
with the fighter's boosts
Definition at line 307 of file battle.h.
Referenced by boostAttack(), boostDefense(), boostFieldElement(), boostSpeed(), computeEnemyStats(), FIGHTSTG_changeBoost(), FIGHTSTG_computeDamage(), FIGHTSTG_computeHeal(), FIGHTSTG_computeMagicDamage(), FIGHTSTG_computeStats(), FIGHTSTG_getEventDelay(), FIGHTSTG_rollHit(), FIGHTSTG_rollMagicHit(), FIGHTSTG_rollPoison(), FIGHTSTG_rollSleep(), FIGHTSTG_rollStatusRaise(), FIGHTSTG_rollSteal(), FIGHTSTG_testRunAway(), FIGHTSTG_testWakeUp(), lowerEnemySpeed(), lowerEnemyStat(), queueFirstTurns(), rollStatus(), and weakenEnemyDefense().
| s16 BattleStats::resist[12] |
Definition at line 308 of file battle.h.
Referenced by computeEnemyStats(), FIGHTSTG_adjustDamage(), FIGHTSTG_computeMagicDamage(), FIGHTSTG_computeStats(), FIGHTSTG_getDamage(), FIGHTSTG_getEventDelay(), FIGHTSTG_rollMagicCritical(), FIGHTSTG_rollPoison(), FIGHTSTG_rollSleep(), FIGHTSTG_testConfusion(), FIGHTSTG_testParalysis(), and rollStatus().
| u8 BattleStats::flags |
the fighter's
Definition at line 309 of file battle.h.
Referenced by computeEnemyStats(), FIGHTSTG_computeStats(), and FIGHTSTG_testRunAway().
| u8 BattleStats::family |
Definition at line 310 of file battle.h.
Referenced by chooseEnemyScript(), choosePartnerScript(), computeEnemyStats(), FIGHTSTG_adjustDamage(), FIGHTSTG_computeMagicDamage(), FIGHTSTG_computeStats(), FIGHTSTG_rollCritical(), FIGHTSTG_rollMagicCritical(), and WFIGHTMN_startTech().
| u8 BattleStats::damageBonus |
in 64ths: the fighter's charge
Definition at line 311 of file battle.h.
Referenced by computeEnemyStats(), FIGHTSTG_adjustDamage(), and FIGHTSTG_computeStats().
| u8 BattleStats::damageCut |
taken off each hit
Definition at line 312 of file battle.h.
Referenced by FIGHTSTG_adjustDamage(), FIGHTSTG_computeMagicDamage(), and FIGHTSTG_computeStats().
| u8 BattleStats::weaponFamilies[3] |
from the equipment, as are the ones after
Definition at line 313 of file battle.h.
Referenced by choosePartnerScript(), FIGHTSTG_adjustDamage(), FIGHTSTG_computeStats(), FIGHTSTG_rollCritical(), and WFIGHTMN_startTech().
| u8 BattleStats::element |
the accessory's, for techniques without one
Definition at line 314 of file battle.h.
Referenced by FIGHTSTG_adjustDamage(), FIGHTSTG_computeStats(), playCounterTech(), and WFIGHTMN_startTech().
| u8 BattleStats::elementPower |
Definition at line 315 of file battle.h.
Referenced by FIGHTSTG_adjustDamage(), FIGHTSTG_computeStats(), playCounterTech(), and WFIGHTMN_startTech().
| HitStatus BattleStats::statuses[5] |
by HIT_*, from the weapon
Definition at line 316 of file battle.h.
Referenced by FIGHTSTG_computeStats(), FIGHTSTG_rollDrain(), FIGHTSTG_rollPoison(), FIGHTSTG_startAction(), FIGHTSTG_tryConfusion(), FIGHTSTG_tryDrain(), FIGHTSTG_tryParalysis(), and rollStatus().
| u8 BattleStats::tripleHit |
plain physical techniques hit 3 times for 0.4 of the damage
Definition at line 317 of file battle.h.
Referenced by choosePartnerScript(), FIGHTSTG_adjustDamage(), FIGHTSTG_computeCounterDamage(), FIGHTSTG_computeStats(), and FIGHTSTG_startAction().
| u8 BattleStats::criticalBonus |
to plain techniques' critical chance, off their accuracy
Definition at line 318 of file battle.h.
Referenced by FIGHTSTG_computeStats(), FIGHTSTG_rollCritical(), and FIGHTSTG_rollHit().
| u8 BattleStats::counter |
answers hits with the partner's first skill
Definition at line 319 of file battle.h.
Referenced by FIGHTSTG_computeStats(), and FIGHTSTG_updateCounterattack().
| u8 BattleStats::accuracy |
Definition at line 320 of file battle.h.
Referenced by FIGHTSTG_computeStats(), and FIGHTSTG_rollHit().
| u8 BattleStats::evasion |
Definition at line 321 of file battle.h.
Referenced by FIGHTSTG_computeStats(), and FIGHTSTG_rollHit().
| u8 BattleStats::runAwayBonus |
to the player's chance to run away
Definition at line 322 of file battle.h.
Referenced by FIGHTSTG_computeStats(), and FIGHTSTG_testRunAway().
| u8 BattleStats::runAwayGuard |
halves the enemy's chance to run away
Definition at line 323 of file battle.h.
Referenced by FIGHTSTG_computeStats(), and FIGHTSTG_testRunAway().
| u8 BattleStats::stealBonus |
Definition at line 324 of file battle.h.
Referenced by FIGHTSTG_computeStats(), and FIGHTSTG_rollSteal().
| u8 BattleStats::pad |
only cleared with the rest (HEAP.zero of sizeof); BattleFuncs.stats[2] spans 0x80 bytes