- summary: One fighter's end-of-fight statistics: damage, heals, shields, AP and MP, kills, and who the fighter is.
- area: Game.Fight
One fighter's end-of-fight statistics: damage, heals, shields, AP and MP, kills, and who the fighter is.
Kind struct · Area Game.Fight
One fighter's statistics for the fight that just ended; FightStatisticsEvent.detailed_statistics holds one
per fighter, keyed by fighter id. Each member is one block of the results screen's Statistics tab.
READ IT LIKE THIS
1. DetailedStatistics.fighter: who this is (a FighterIdentity: player, monster, companion or summon).
2. Damage: DetailedStatistics.damage_done (dealt, with its breakdown) and DetailedStatistics.damage_taken (received).
3. Healing: DetailedStatistics.heal_done (given) and DetailedStatistics.heal_taken (received).
4. Shields: DetailedStatistics.shield_done (applied) and DetailedStatistics.shield_taken (received).
5. Points: DetailedStatistics.action_points and DetailedStatistics.movement_points, the same Point record for AP and for MP
(dodged, not dodged, removed, removed by tackle, and their per-turn averages).
6. DetailedStatistics.kill: kills.
A third Point-typed member and an enum member are never read by the client: ignore them. Every record's own members are named after the label the Statistics tab shows next to them (see each record).
WHAT THE OFFICIAL CLIENT DOES. It converts the record into the Statistics tab: one block per member, filed under a fixed slot (damage done, damage taken, heal done, heal taken, shield done, shield taken, AP, MP, kills), each block built with its own translation keys (ui.fightResult.damageDealt, ...healReceived, ...shieldDealt, ...kill, ...) and the AP/MP blocks titled ui.stats.shortAP / ui.stats.shortMP.
Not sent on its own — it travels as a value of FightStatisticsEvent.detailed_statistics, one per fighter. proven
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | damage_done | DamageDone | The damage the fighter dealt. A DamageDone; the results screen labels it ui.fightResult.damageDealt. | never |
| 2 | heal_taken | HealTaken | The healing the fighter received. A HealTaken; the results screen labels it ui.fightResult.healReceived. | never |
| 3 | shield_done | ShieldDone | The shield the fighter applied. A ShieldDone; the results screen labels it ui.fightResult.shieldDealt. | never |
| 5 | movement_points | Point | What happened to the fighter's movement points (MP). A Point, like action_points.Shown under the title ui.stats.shortMP. | never |
| 6 | shield_taken | ShieldTaken | The shield the fighter received. A ShieldTaken; the results screen labels it ui.fightResult.shieldReceived. | never |
| 7 | damage_taken | DamageTaken | The damage the fighter received. A DamageTaken; the results screen labels it ui.fightResult.damageTaken. | never |
| 8 | fighter | FighterIdentity | Who the fighter is. A FighterIdentity (player, monster, companion or summon). | never |
| 9 | action_points | Point | What happened to the fighter's action points (AP). A Point: dodged, not dodged, removed, removed by tackle, and per-turn averages.Shown under the title ui.stats.shortAP. | never |
| 11 | kill | DetailedStatistics.Kill | The the fighter's kills. A DetailedStatistics.Kill; the results screen labels it ui.fightResult.kill. | never |
| 12 | heal_done | HealDone | The healing the fighter gave. A HealDone; the results screen labels it ui.fightResult.healDealt. | never |