Beispiel #1
0
        public void OnLoad()
        {
            hero            = ObjectManager.LocalHero;
            abilities       = hero.Spellbook.Spells.Where(x => !x.IsHidden && !IgnoredAbilities.List.Contains(x.StoredName()));
            menuManager     = new MenuManager(abilities.Select(x => x.StoredName()).ToList(), hero.Name);
            sleeper         = new Sleeper();
            abilitylBuilder = new AbilityBuilder(hero);

            sleeper.Sleep(10000);
        }
Beispiel #2
0
        public void OnLoad()
        {
            hero      = ObjectManager.LocalHero;
            abilities = hero.Spellbook.Spells.Where(
                x => !x.IsHidden && !x.AbilityBehavior.HasFlag(AbilityBehavior.NotLearnable) && !x.Name.Contains("special_bonus"));
            menuManager    = new MenuManager(abilities.Select(x => x.StoredName()).ToList(), hero.Name);
            sleeper        = new Sleeper();
            abilityBuilder = new AbilityBuilder(hero);
            talents        = hero.Spellbook.Spells.Where(x => x.Name.Contains("special_bonus")).ToList();

            sleeper.Sleep(10000);
        }
Beispiel #3
0
        public void OnLoad()
        {
            hero = ObjectManager.LocalHero;
            abilities =
                hero.Spellbook.Spells.Where(
                    x =>
                        !x.IsHidden && !IgnoredAbilities.List.Contains(x.StoredName())
                        && !x.Name.Contains("special_bonus"));
            menuManager = new MenuManager(abilities.Select(x => x.StoredName()).ToList(), hero.Name);
            sleeper = new Sleeper();
            abilitylBuilder = new AbilityBuilder(hero);
            talents = hero.Spellbook.Spells.Where(x => x.Name.Contains("special_bonus")).ToList();

            sleeper.Sleep(10000);
        }