- summary: The damage one fighter dealt during the fight, in total and by source.
- area: Game.Fight
The damage one fighter dealt during the fight, in total and by source.
Kind struct · Area Game.Fight
One block of DetailedStatistics: what the official end-of-fight statistics screen shows for one
fighter. Read the members you need; every value is already final (per-turn and per-AP values
are averages, sent as floats).
The client shows each member under its own localization key:
- total: ui.fightResult.damageDealt
- direct: ui.fightResult.byDirect
- poison: ui.fightResult.byPoison
- push: ui.fightResult.byPush
- object: ui.fightResult.byObject
- summon: ui.fightResult.bySummon
- shield: ui.fightResult.byShield
- action_point: ui.fightResult.byActionPoint
- per_turn: ui.fightResult.byTurn
- erosion: ui.fightResult.erosionDealt
Not sent on its own — a record carried by DetailedStatistics, never sent on its own. inferred
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | action_point | float | Damage per action point spent. The official client shows it under ui.fightResult.byActionPoint. | never |
| 2 | direct | int32 | Damage dealt directly by spells and weapons. The official client shows it under ui.fightResult.byDirect. | never |
| 3 | summon | int32 | Damage dealt by the fighter's summons. The official client shows it under ui.fightResult.bySummon. | never |
| 4 | shield | int32 | Damage dealt through shields. The official client shows it under ui.fightResult.byShield. | never |
| 5 | erosion | int32 | Erosion inflicted (permanent life lost by the targets). The official client shows it under ui.fightResult.erosionDealt. | never |
| 6 | per_turn | float | Average damage per turn. The official client shows it under ui.fightResult.byTurn. | never |
| 7 | poison | int32 | Damage dealt by poisons. The official client shows it under ui.fightResult.byPoison. | never |
| 8 | push | int32 | Damage dealt by pushing fighters into obstacles. The official client shows it under ui.fightResult.byPush. | never |
| 9 | object | int32 | Damage dealt by objects (traps, glyphs and the like). The official client shows it under ui.fightResult.byObject. | never |
| 10 | total | int32 | All damage dealt. The official client shows it under ui.fightResult.damageDealt. | never |