ArcAnnihilation.Core.IsAbilityEnable C# (CSharp) Method

IsAbilityEnable() private static method

private static IsAbilityEnable ( string name, bool tempest = false, bool calcForPushing = false ) : bool
name string
tempest bool
calcForPushing bool
return bool
        private static bool IsAbilityEnable(string name, bool tempest = false, bool calcForPushing = false)
        {
            return !calcForPushing
                ? Menu.Item(tempest ? "spellTempest" : "spellHero").GetValue<AbilityToggler>().IsEnabled(name)
                : Menu.Item("AutoPush.Abilites").GetValue<AbilityToggler>().IsEnabled(name);
        }