- summary: A glyph or trap goes off: which mark, on which cell, and who set it off.
- area: Game.Action
A glyph or trap goes off: which mark, on which cell, and who set it off.
Kind struct · Area Game.Action
The GameActionFightEvent.trigger_glyph_trap action: a fighter stepped on or
started a turn in a mark and the mark fires. The effects it causes follow as their
own actions in the same sequence.
READ IT LIKE THIS
1. TriggerGlyphTrap.mark_id names the mark that fired (the mark id of its
FightMark).
2. TriggerGlyphTrap.triggering_character_id is the fighter who set it off.
3. TriggerGlyphTrap.mark_impact_cell is the cell the mark's effects are aimed
at; the client treats it as the target cell of the mark's spell.
4. GameActionFightEvent.source_id is the fighter who laid the mark (its caster).
WHAT THE CLIENT DOES. It looks the mark up by id, takes the mark's spell and level, opens a spell-cast context with the caster and the impact cell, and queues a "mark triggered" step (caster, triggering fighter, mark) followed by the cast's targeting step on the impact cell.
Not sent on its own — it travels inside GameActionFightEvent.trigger_glyph_trap. proven
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | mark_impact_cell | int32 | The cell the mark's effects are aimed at. (map cell id) Becomes the target cell of the mark spell's cast context. | never |
| 2 | mark_id | int32 | The id of the mark that fired. | never |
| 4 | triggering_character_id | int64 | The fighter who set the mark off. (fighter (entity) id) | never |