Lua functions

GetSpellInitialTarget

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

Historical signature: GetSpellInitialTarget(spell)

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

Function: GetSpellInitialTarget(spell)

Description: Obtain the Initial Target of the Spell. The spell field is optional, it will otherwise be in a Spell Script which defaults to the current spell's initial target.

Parameters:

  • spell (Spell) - Spell object representing spell.

Returns: None.

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.