Lua functions

RemoveProc

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

Historical signature: RemoveProc(spawn, item)

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

Function: RemoveProc(spawn, item)

Description: Remove proc that was applied in a spell script or item script. Will apply to spawn unless item is not specified, then all spell targets are applicable.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • item (Item) - Item object representing item.

Returns: None.

Checked example

Active call in a local runtime Lua script. Uses the current spell context when no item is given. This is a contextual call pattern, not a tested standalone script.

RemoveProc()

Evidence: server/Spells/BastensRunesofSurety.lua:26; binding EQ2Emu_lua_RemoveProc.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.