- summary: A fighter is immune to the spell that hits it.
- area: Game.Action
A fighter is immune to the spell that hits it.
Kind struct · Area Game.Action
The spell_immunity branch of GameActionFightEvent: the spell had no effect on a fighter.
WHAT TO DO WHEN YOU RECEIVE IT
1. SpellImmunity.target_id is the immune fighter. Nothing about it changes.
2. SEND NOTHING BACK.
WHAT THE CLIENT DOES. Writes "no change" for that fighter in the fight log
(ui.fight.noChange).
UNREAD MEMBER. Beta also carries the spell id (an int32). The client never reads it; on 3.4.18.19 a second int32 sits beside it, so it is left unnamed.
Not sent on its own — it travels inside GameActionFightEvent (spell_immunity). proven
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 3 | target_id | int64 | The fighter that is immune. (fighter (entity) id) | never |