- summary: A fighter reduced the damage it takes: which fighter and by how much.
- area: Game.Action
A fighter reduced the damage it takes: which fighter and by how much.
Kind struct · Area Game.Action
Damage reduction: the payload of GameActionFightEvent.reduce_damages.
READ IT LIKE THIS
1. ReduceDamages.target_id is the fighter whose damage was reduced.
2. ReduceDamages.amount is the damage it avoided. It is information only: the
actual loss arrives as LifePointsLost.
3. Ignore the record's other members: the client never reads them.
WHAT THE OFFICIAL CLIENT DOES. It queues a step whose fight-log line is ui.fight.reduceDamages.
Not sent on its own — it travels inside GameActionFightEvent.reduce_damages. proven
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | amount | int32 | The damage that was avoided. (life points) | never |
| 2 | target_id | int64 | The fighter whose incoming damage was reduced. (fighter (entity) id) | never |