Lua functions

GetSpellTriggerCount

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

Historical signature: GetSpellTriggerCount(spell)

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

Function: GetSpellTriggerCount(spell)

Description: Returns number of times the spell has triggered (Set by SetSpellTriggerCount)

Parameters:

  • spell (Spell) - Spell object representing spell.

Returns: UInt32 count of times the spell triggered.

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.