1
0
EQ2Emu/docs/lua_functions/RemoveImmunitySpell.md
2025-05-25 21:42:32 -04:00

20 lines
467 B
Markdown

### Function: RemoveImmunitySpell(type, spawn)
**Description:**
Remove an immunity spell from the Spawn. See immunity types https://github.com/emagi/eq2emu/blob/main/docs/data_types/immunity_types.md
**Parameters:**
- `type` (uint8) - UInt8 value `type`.
- `spawn` (Spawn) - Spawn object representing `spawn`.
**Returns:** None.
**Example:**
```lua
-- From Spells/AA/AdvanceWarning.lua
function remove(Caster, Target)
RemoveImmunitySpell(7, Target)
end
```