Historical signature: GetCasterSpellLevel(spell)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: GetCasterSpellLevel(spell)
Description:
Gets the Caster's spell level. The spell field is optional for outside a spell script, if inside a spell script the current spell is assumed.
Parameters:
spell (Spell) - Spell object representing spell.
Returns: The spell caster's level in UINT32 format.
Checked example
Active call in a local runtime Lua script. Falls back to the current spell context. This is a contextual call pattern, not a tested standalone script.
MinValHeal = CalculateRateValue(initial_caster, Target, GetSpellRequiredLevel(initial_caster), GetCasterSpellLevel(), 3.75, MinValHeal)
Evidence: server/Spells/Priest/Cleric/Inquisitor/ContriteGrace.lua:27; binding EQ2Emu_lua_GetCasterSpellLevel.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.