Skip to content

Auxiliary.GetCappedLevel ​

Signature ​

lua
Auxiliary.GetCappedLevel(Card c) -> void

Description ​

Returns c's current Level, capped at MAX_PARAMETER.

Parameters ​

  • c Card

Source ​

  • Utilities/utility.lua:1522

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 13 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.GetCappedLevel.
CardIDScriptDetected Calls
Miracle Raven18988396Scripts/c18988396.lua1
Griffoh97462632Scripts/c97462632.lua1
Lo, the Prayers of the Voiceless Voice25801745Scripts/c25801745.lua1
Avance, Swordsman of the Nekroz51618973Scripts/c51618973.lua1
Emilia, Dance Priestess of the Nekroz87003671Scripts/c87003671.lua1
Gishki Grimness38356857Scripts/c38356857.lua1
Gishki Vision47106439Scripts/c47106439.lua1
Gishki Shadow29888389Scripts/c29888389.lua1
Shurit, Strategist of the Nekroz90307777Scripts/c90307777.lua1
Dragunity Couse29253591Scripts/c29253591.lua1
Tuningware92676637Scripts/c92676637.lua1
Yamatako Orochi4632019Scripts/c4632019.lua1
Ritual Raven34334692Scripts/c34334692.lua1

Script Examples ​

Miracle Raven (18988396) ​

Source: Scripts/c18988396.lua

lua
function s.rlevel(e,c)
	local ec=e:GetHandler()
	local lv=aux.GetCappedLevel(ec)
	if not ec:IsLocation(LOCATION_MZONE) then return lv end
	local clv=c:GetLevel()

Griffoh (97462632) ​

Source: Scripts/c97462632.lua

lua
end
function s.rlevel(e,c)
	local lv=aux.GetCappedLevel(e:GetHandler())
	if c:IsLevel(8) then
		local clv=c:GetLevel()

Lo, the Prayers of the Voiceless Voice (25801745) ​

Source: Scripts/c25801745.lua

lua
end
function s.rlevel(e,c)
	local lv=aux.GetCappedLevel(e:GetHandler())
	if c:IsRace(RACE_WARRIOR+RACE_DRAGON) and c:IsAttribute(ATTRIBUTE_LIGHT) then
		local clv=c:GetLevel()