benilla-re systems structs docs

HasPetSpells

Lua global function

Function
Script::HasPetSpells ui
Meaning
Returns the pet spell count and the class's pet token, or nil, nil verified, proof one
Registered in
global table s_spellBookFunctions ui
Registrar pair
0x8466a8
Arguments
0 exact
Returns
2 values exact, kinds (nil,nil) | (number,string) | (number,string?) agree

Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.

Cited in 1