Historical signature: SetSpellList(spawn, primary_list, secondary_list)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SetSpellList(spawn, primary_list, secondary_list)
Description:
Set the spell list of the Spawn for primary and secondary list.
Parameters:
spawn (Spawn) - Spawn object representing spawn.
primary_list (uint32) - Integer value primary_list.
secondary_list (uint32) - Integer value secondary_list.
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.
SetSpellList (NPC, 573, 0, 0)
Evidence: server/SpawnScripts/Generic/NPCModule.lua:437; binding EQ2Emu_lua_SetSpellList.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.