powerfor

Returns the boolean if the player has the power to cast the spells provided.

powerfor({spellIDs}) : boolean

Example

if powerfor({639,639}) then
return print('you can cast 2 Holy Lights')
end