Function: GetSpellName(spell)
Description: Obtain the Spell Name of the Spell. Must be used in a Spell Script.
Parameters:
- None
Returns: None.
GetSpellNameRegistered in this checkout as EQ2Emu_lua_GetSpellName; implementation found at WorldServer/Lua/LuaFunctions.cpp:11086.
Historical signature: GetSpellName(spell)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Obtain the Spell Name of the Spell. Must be used in a Spell Script.
Parameters:
Returns: None.
Active call in a local runtime Lua script. Uses the current spell context. This is a contextual call pattern, not a tested standalone script.
ProcDamage(Caster, Target, GetSpellName(), 7, Damage)
Evidence: server/Spells/Mage/RetaliateArcana.lua:23; binding EQ2Emu_lua_GetSpellName.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.