- summary: A fighter is killed by the fighter that performs the action.
- area: Game.Action
A fighter is killed by the fighter that performs the action.
Kind struct · Area Game.Action
The kill branch of GameActionFightEvent: the action's source killed a fighter.
WHAT TO DO WHEN YOU RECEIVE IT
1. The killer is the enclosing event's source_id, not a member of this record.
2. Kill.target_id is the fighter that was killed.
3. Only the fight log changes: the fighter's actual death comes in its own Death action.
4. SEND NOTHING BACK.
WHAT THE CLIENT DOES. Writes "<killer> killed <target>" in the fight log (ui.fight.killed).
Not sent on its own — it travels inside GameActionFightEvent (kill). proven
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | target_id | int64 | The fighter that was killed. (fighter (entity) id) The killer is the enclosing event's source_id. | never |