Exemple #1
0
 public static void OnTick(EventArgs args)
 {
     AutoShop.OnTick(args);
     AutoWalker.OnTick(args);
 }
Exemple #2
0
        //For Kalista

        private static void Start()
        {
            RandGen.Start();
            bool generic = false;

            switch (ObjectManager.Player.Hero)
            {
            case Champion.Ashe:
                myChamp = new Ashe();
                break;

            case Champion.Caitlyn:
                myChamp = new Caitlyn();
                break;

            case Champion.Ezreal:
                myChamp = new Ezreal();
                break;

            case Champion.Cassiopeia:
                myChamp = new Cassiopeia();
                break;

            case Champion.Ryze:
                myChamp = new Ryze();
                break;

            case Champion.Soraka:
                myChamp = new Soraka();
                break;

            case Champion.Kayle:
                myChamp = new Kayle();
                break;

            case Champion.Tristana:
                myChamp = new Tristana();
                break;

            case Champion.Sivir:
                myChamp = new Sivir();
                break;

            case Champion.Ahri:
                myChamp = new Ahri();
                break;

            case Champion.Anivia:
                myChamp = new Anivia();
                break;

            case Champion.Annie:
                myChamp = new Annie();
                break;

            case Champion.Corki:
                myChamp = new Corki();
                break;

            case Champion.Brand:
                myChamp = new Brand();
                break;

            case Champion.Azir:
                myChamp = new Azir();
                break;

            case Champion.Xerath:
                myChamp = new Xerath();
                break;

            case Champion.Morgana:
                myChamp = new Morgana();
                break;

            case Champion.Draven:
                myChamp = new Draven();
                break;

            case Champion.Twitch:
                myChamp = new Twitch();
                break;

            case Champion.Kalista:
                myChamp = new Kalista();
                break;

            case Champion.Velkoz:
                myChamp = new Velkoz();
                break;

            case Champion.Leblanc:
                myChamp = new Leblanc();
                break;

            case Champion.Jinx:
                myChamp = new Jinx();
                break;

            case Champion.Katarina:
                myChamp = new Katarina();
                break;

            case Champion.Nidalee:
                myChamp = new Nidalee();
                break;

            default:
                generic = true;
                myChamp = new Generic();
                break;
            }

            CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(SandboxConfig.DataDirectory
                                                                                , "AutoBuddy\\Skills"));

            if (!generic)
            {
                AutoShop bc = new AutoShop(menu, myChamp.ShopSequence);
            }
            else if (MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) != null &&
                     MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName).Get <Label>("shopSequence") != null)
            {
                Chat.Print("Autobuddy: Loaded shop plugin for " + ObjectManager.Player.ChampionName);
                AutoShop bc = new AutoShop(menu, MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName)
                                           .Get <Label>("shopSequence")
                                           .DisplayName);
            }
            else
            {
                AutoShop bc = new AutoShop(menu, myChamp.ShopSequence);
            }

            Logic = new LogicSelector(myChamp, menu);
            new Disrespekt();
            Telemetry.SendEvent("GameStart", new Dictionary <string, string>()
            {
                { "GameChamp", AutoWalker.p.ChampionName },
                { "GameType", BrutalExtensions.GetGameType() },
                { "GameRegion", Game.Region },
                { "GameID", "" + AutoWalker.GameID },
            });
        }
Exemple #3
0
 static SafeFunctions()
 {
     autoShop=new AutoShop();
 }
Exemple #4
0
 static SafeFunctions()
 {
     autoShop = new AutoShop();
 }