Lua functions

RemoveImmunitySpell

Registered in this checkout as EQ2Emu_lua_RemoveImmunitySpell; implementation found at WorldServer/Lua/LuaFunctions.cpp:10936.

Historical signature: RemoveImmunitySpell(type, spawn)

Parameter and behavior details in the historical explanation are under review against the current implementation.

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.