- summary: One spell modifier no longer applies to a fighter: remove it from that fighter's modifiers.
- area: Game.Spell
One spell modifier no longer applies to a fighter: remove it from that fighter's modifiers.
Kind event · Area Game.Spell
Undoes what ApplySpellModifierEvent did for ONE action type of ONE modifier.
WHAT TO DO WHEN YOU RECEIVE IT
1. FIND the modifiers of the fighter RemoveSpellModifierEvent.actor_id.
If it has none, stop.
2. FIND the entry for RemoveSpellModifierEvent.spell_id and
RemoveSpellModifierEvent.modifier_type. If there is none, stop.
3. REMOVE that entry's values for RemoveSpellModifierEvent.action_type.
4. If the entry has no action type left, DELETE the entry.
5. SEND NOTHING BACK.
Any other declared member is padding: ignore it.
When you may send it
- Requires
character_loadedinferred
Related messages
- Unsolicited - nothing you send causes this inferred — the server sends it when an effect stops modifying a fighter's spell; no request asks for it
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | spell_id | int32 | The spell the removed modifier applied to. | never |
| 2 | action_type | SpellModifierActionType | Which of the entry's action types to remove: the entry keeps its other action types. A SpellModifierActionType. | never |
| 3 | modifier_type | SpellModifierType | Which property of the spell the removed modifier changed (range, damage, AP cost, ...). A SpellModifierType. | never |
| 4 | actor_id | int64 | The fighter whose spell modifier ends. (entity id) | never |