BlackZilean.Utility.ManaManager.CanUseSpell C# (CSharp) Method

CanUseSpell() public method

public CanUseSpell ( LeagueSharp.Common.Spell spell ) : bool
spell LeagueSharp.Common.Spell
return bool
        public bool CanUseSpell(Spell spell)
        {
            return this.player.Mana >= this.player.Spellbook.GetSpell(spell.Slot).ManaCost;
        }