Lua functions

GetSpellData

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

Historical signature: GetSpellData(spell, field)

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

Function: GetSpellData(spell, field)

Description: Returns spell data of the current spell object.

Parameters:

  • spell (Spell) - Spell object representing spell.
  • field (string) - String field.

Returns: Various values depending on the WorldServer/Spells.cpp Spell::GetSpellData

Checked example

No checked example is published for this function yet. No active script call with the current C++ argument count was found.

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