casting

fun casting(spell: Magic.MagicSpell): Boolean

Validates that a player has a specific spell selected.

Return

true if the spell is currently selected, false otherwise.

Parameters

spell

The spell to validate.