include/battle/range_falloff.h
The battle calculation tables: hit chances, HP and PP damage and recovery.
Included by battle_internal.h.
Variables
| Name | Description | |
|---|---|---|
extern const Uint8 | RangeFalloffEffectChance [] | Percentages by a target's distance from the aimed position, 0 for the aimed target to 5 for the farthest: btAbilityApplyToTarget scales an amount by the entry and divides by 100, so an ability spread over a group weakens step by step. |
extern const Sint32 | RangeFalloffPpLoss [] | PP loss (ABILITY_FORMULA_PP_DAMAGE), Crazy Voice's and Psy Drain's: 100, 50, 30, then 10. |
extern const Sint32 | RangeFalloffHealHp [] | HP healing (ABILITY_FORMULA_HEAL_HP): 100 down to 20 by 20, then 10. |
extern const Sint32 | RangeFalloffPpDamage [] | PP damage of the never-reached ability kind -1: 100, 50, 30, then 10. |
extern const Sint32 | RangeFalloffPsynergyDamage [] | Psynergy damage (ABILITY_FORMULA_DAMAGE): 100 down to 20 by 20, then 10. |
extern const Sint32 | RangeFalloffSummonDamage [] | Summon damage (ABILITY_FORMULA_SUMMON): 100, 70, 40, 30, 20, then 10. |
extern const Sint32 | RangeFalloffEnemyDamage [] | An enemy's unleashed damage (ABILITY_FORMULA_ENEMY_DAMAGE): 100, 50, 30, then 10. |
extern const Sint32 | RangeFalloffHealPp [] | PP healing (ABILITY_FORMULA_HEAL_PP): 100 down to 20 by 20, then 10. |
extern const Sint32 | RangeFalloffEffectDamage [] | The damage of an effect ability whose effect lands (ABILITY_FORMULA_EFFECT): 100, 50, 30, then 10. |
Description
The battle calculation tables: hit chances, HP and PP damage and recovery.