Function: GetSpellTier()
Description: Get the spell tier of the current spell, must be ran in a spell scfript.
Parameters: None.
Returns: UInt32 tier of the spell.
GetSpellTierRegistered in this checkout as EQ2Emu_lua_GetSpellTier; implementation found at WorldServer/Lua/LuaFunctions.cpp:12305.
Historical signature: GetSpellTier()
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Get the spell tier of the current spell, must be ran in a spell scfript.
Parameters: None.
Returns: UInt32 tier of the spell.
Active call in a local runtime Lua script. Uses the current spell context. This is a contextual call pattern, not a tested standalone script.
local tier = GetSpellTier()
Evidence: server/Spells/ClassicRefresh/Mage/StaticPulse-2553190.lua:12; binding EQ2Emu_lua_GetSpellTier.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.