Searched refs:SpellIsAvailable (Results 1 – 4 of 4) sorted by relevance
68 if (unit.Type->CanCastSpell[j] && SpellIsAvailable(player, j) in AiCheckMagic()
269 extern bool SpellIsAvailable(const CPlayer &player, int SpellId);
439 bool SpellIsAvailable(const CPlayer &player, int spellid) in SpellIsAvailable() function477 if (!SpellIsAvailable(*caster.Player, spell.Slot) in AutoCastSpell()
929 res = SpellIsAvailable(*unit.Player, buttonaction.Value); in IsButtonAllowed()