Historical signature: RemoveImmunitySpell(type, spawn)
Parameter and behavior details in the historical explanation are under review against the current implementation.
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.
Checked example
Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.
RemoveImmunitySpell(2,Target)
Evidence: server/Spells/Fighter/Crusader/Shadowknight/OntheMarch.lua:23; binding EQ2Emu_lua_RemoveImmunitySpell.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.