Lua functions

RemoveSpellBookEntry

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

Historical signature: RemoveSpellBookEntry(player, spellid)

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

Function: RemoveSpellBookEntry(player, spellid)

Description: Removes the spellid from the Player's spell book.

Parameters:

  • player (Spawn) - Spawn object representing player.
  • spellid (uint32) - Integer value spellid.

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.

RemoveSpellBookEntry(Player, 2550401)

Evidence: server/ItemScripts/BrawlerCertificationPapers.lua:42; binding EQ2Emu_lua_RemoveSpellBookEntry.

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