- summary: A fighter's new spell list and spell bar for the rest of the fight.
- area: Game.Fight
A fighter's new spell list and spell bar for the rest of the fight.
Kind event · Area Game.Fight
Gives ONE fighter a new spell list and spell bar, in the middle of a fight. It is played in the fight's sequence, like the other fight events: apply it in the order received.
WHAT TO DO WHEN YOU RECEIVE IT
1. FIND the fighter: FightSpellsUpdateEvent.fighter_id. It is your character or a
fighter you command (see FightControlEvent).
2. REPLACE that fighter's fight spell list with FightSpellsUpdateEvent.spells. When
the fighter is your character, add your breed's own spells to it, as for
SpellsEvent#human_spells.
3. REPLACE that fighter's spell bar with FightSpellsUpdateEvent.shortcuts.
4. SEND NOTHING BACK.
The second list of spells in the message is never read by the client: ignore it.
When you may send it
- Requires
character_loadedinferred
Related messages
- Unsolicited - nothing you send causes this inferred — the server sends it when a fighter's spells change during a fight; no request asks for it
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | shortcuts | repeated Shortcut | The fighter's whole spell bar; it replaces the previous one. Element type Shortcut, as in ShortcutBarContentEvent; each entry carries its slot. | never |
| 3 | fighter_id | int64 | The fighter whose spells and spell bar change. | never |
| 4 | spells | repeated SpellItem | The fighter's whole spell list for the fight; it replaces the previous one. Element type SpellItem. For your own character the client adds your breed's spells. | never |