Function: GetSpellRequiredLevel(spell)
Description: Obtain the Required Level of the Spell, must be used inside a Spell Script.
Parameters:
- None
Returns: None.
GetSpellRequiredLevelRegistered in this checkout as EQ2Emu_lua_GetSpellRequiredLevel; implementation found at WorldServer/Lua/LuaFunctions.cpp:15627.
Historical signature: GetSpellRequiredLevel(spell)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Obtain the Required Level of the Spell, must be used inside a Spell Script.
Parameters:
Returns: None.
Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.
MinVal = CalculateRateValue(Caster, Target, GetSpellRequiredLevel(Caster), GetLevel(Caster), 5, MinVal)
Evidence: server/Spells/Priest/Cleric/Inquisitor/PenitentsSermon.lua:17; binding EQ2Emu_lua_GetSpellRequiredLevel.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.