private static void Start() { bool generic = false; switch (ObjectManager.Player.Hero) { case Champion.Ashe: myChamp = new Ashe(); break; case Champion.Sivir: myChamp = new Sivir(); break; case Champion.Annie: generic = true; myChamp = new Annie(); break; default: generic = true; myChamp = new Generic(); break; } CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.myHero, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "EloBuddy\\AutoBuddyTreeline\\Skills")); Logic = new LogicSelector(myChamp, menu); }
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; default: generic = true; myChamp = new Generic(); break; case Champion.Ezreal: myChamp = new Ezreal(); break; case Champion.Cassiopeia: myChamp = new Cassiopeia(); break; } CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Skills")); if (!generic) { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), myChamp.ShopSequence); } else { myChamp = new Generic(); 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); BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get <Label>("shopSequence") .DisplayName); } else { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), myChamp.ShopSequence); } } Logic = new LogicSelector(myChamp, menu); }
private static void Start() { Humanizers.RandGen.Start(); bool generic = false; switch (ObjectManager.Player.Hero) { case Champion.Ashe: _myChamp = new Ashe(); break; case Champion.Caitlyn: _myChamp = new Caitlyn(); break; default: generic = true; _myChamp = new Generic(); break; case Champion.Ezreal: _myChamp = new Ezreal(); break; case Champion.Cassiopeia: _myChamp = new Cassiopeia(); break; } CustomLvlSeq cl = new CustomLvlSeq(_menu, AutoWalker.P, Path.Combine(SandboxConfig.DataDirectory, "AutoRift\\Skills")); if (!generic) { BuildCreator bc = new BuildCreator(_menu, Path.Combine(SandboxConfig.DataDirectory, "AutoRift\\Builds"), _myChamp.ShopSequence); } else { _myChamp = new Generic(); if (MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) != null && MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName).Get <Label>("shopSequence") != null) { Chat.Print("AutoRift: Loaded shop plugin for " + ObjectManager.Player.ChampionName); BuildCreator bc = new BuildCreator(_menu, Path.Combine(SandboxConfig.DataDirectory, "AutoRift\\Builds"), MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get <Label>("shopSequence") .DisplayName); } else { BuildCreator bc = new BuildCreator(_menu, Path.Combine(SandboxConfig.DataDirectory, "AutoRift\\Builds"), _myChamp.ShopSequence); } } Logic = new LogicSelector(_myChamp, _menu); }
private static void Start() { RandGen.Start(); /* * bool generic = false; * switch (ObjectManager.Player.Hero) * { * case Champion.Aatrox: * myChamp = new Aatrox(); * break; * case Champion.Ashe: * myChamp = new Ashe(); * break; * case Champion.Caitlyn: * myChamp = new Caitlyn(); * break; * case Champion.Cassiopeia: * myChamp = new Cassiopeia(); * break; * case Champion.Ezreal: * myChamp = new Ezreal(); * break; * case Champion.Jinx: * myChamp = new Jinx(); * break; * case Champion.Sivir: * myChamp = new Sivir(); * break; * case Champion.Tristana: * myChamp = new Tristana(); * break; * case Champion.Vayne: * myChamp = new Vayne(); * break; * * default: * generic = true; * myChamp = new Generic(); * break; * }*/ var generic = true; myChamp = new Generic(); CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.myHero, Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "EloBuddy\\AutoBuddyPlus\\Skills")); Logic = new LogicSelector(myChamp, menu); new AutoShop(); Game.OnTick += OnTick; KickAss.KickAss.Initialize(); }
private static void Start() { RandGen.Start(); bool generic = false; switch (ObjectManager.Player.Hero) { case Champion.Sivir: myChamp = new Sivir(); break; case Champion.Ashe: myChamp = new Ashe(); break; case Champion.Caitlyn: myChamp = new Caitlyn(); break; case Champion.Ezreal: myChamp = new Ezreal(); break; case Champion.Jinx: myChamp = new Jinx(); break; case Champion.Cassiopeia: myChamp = new Cassiopeia(); break; case Champion.Vayne: myChamp = new Vayne(); break; case Champion.Tristana: myChamp = new Tristana(); break; default: generic = true; myChamp = new Generic(); break; } CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.myHero, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "EloBuddy\\AutoBuddyPlus\\Skills")); Logic = new LogicSelector(myChamp, menu); }
public LogicSelector(IChampLogic my, Menu menu) { myChamp = my; current = MainLogics.Nothing; surviLogic = new Survi(this); recallLogic = new Recall(this, menu); pushLogic = new Push(this); loadLogic = new Load(this); combatLogic = new Combat(this); surrender = new Surrender(); Core.DelayAction(() => loadLogic.SetLane(), 1000); localAwareness = new LocalAwareness(); if (MainMenu.GetMenu("AB").Get<CheckBox>("debuginfo").CurrentValue) Drawing.OnEndScene += Drawing_OnDraw; myChamp.Logic = this; Core.DelayAction(Watchdog, 3000); }
public LogicSelector(IChampLogic my, Menu menu) { myChamp = my; current = MainLogics.Nothing; surviLogic = new Survi(this); recallLogic = new Recall(this, menu); pushLogic = new Push(this); loadLogic = new Load(this); combatLogic = new Combat(this); GameEvents = new MiscEvents(); Core.DelayAction(() => loadLogic.SetLane(), 1000); localAwareness = new LocalAwareness(); Drawing.OnEndScene += Drawing_OnDraw; myChamp.Logic = this; AutoWalker.EndGame += end; Core.DelayAction(Watchdog, 3000); }
public LogicSelector(IChampLogic my, Menu menu) { myChamp = my; current = MainLogics.Nothing; surviLogic = new Survi(this); recallLogic = new Recall(this, menu); pushLogic = new Push(this); loadLogic = new Load(this); combatLogic = new Combat(this); GameEvents = new MiscEvents(); Core.DelayAction(() => loadLogic.SetLane(), 1000); localAwareness = new LocalAwareness(); Drawing.OnEndScene += Drawing_OnDraw; myChamp.Logic = this; AutoWalker.EndGame += end; Core.DelayAction(Watchdog, 3000); }
private static void Start() { RandGen.Start(); bool generic = false; if (ObjectManager.Player.Hero == Champion.Ashe) { myChamp = new Ashe(); } else if (ObjectManager.Player.Hero == Champion.Caitlyn) { myChamp = new Caitlyn(); } else { generic = true; myChamp = new Generic(); } if (!generic) easyShop = new EasyShop(myChamp.ShopSequence, menu); else { myChamp = new Generic(); 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); easyShop = new EasyShop( MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get<Label>("shopSequence") .DisplayName, menu); } else { Chat.Print("Autobuddy shop and auto skill lvl: no plugins detected for " + ObjectManager.Player.ChampionName + ", using generic ADC build"); easyShop = new EasyShop(myChamp.ShopSequence, menu); } } if (!menu.Get<CheckBox>("autolvl").CurrentValue) LevelUp = new SkillLevelUp(myChamp); Logic = new LogicSelector(myChamp); }
public LogicSelector(IChampLogic my, Menu menu) { myChamp = my; current = MainLogics.Nothing; surviLogic = new Survi(this); recallLogic = new Recall(this, menu); pushLogic = new Push(this); loadLogic = new Load(this); combatLogic = new Combat(this); surrender = new Surrender(); Core.DelayAction(() => loadLogic.SetLane(), 1000); localAwareness = new LocalAwareness(); if (MainMenu.GetMenu("AB").Get <CheckBox>("debuginfo").CurrentValue) { Drawing.OnEndScene += Drawing_OnDraw; } myChamp.Logic = this; Core.DelayAction(Watchdog, 3000); }
public SkillLevelUp(IChampLogic myChamp) { _champ = myChamp; Core.DelayAction(() => OnLvLUp(ObjectManager.Player.Level), RandGen.R.Next(900, 3000)); Obj_AI_Base.OnLevelUp += Player_OnLevelUp; }
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; default: generic = true; myChamp = new Generic(); break; case Champion.Ezreal: myChamp = new Ezreal(); break; case Champion.Cassiopeia: myChamp = new Cassiopeia(); break; } CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Skills")); if (!generic) { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), myChamp.ShopSequence); } else { myChamp = new Generic(); 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); BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get <Label>("shopSequence") .DisplayName); } else { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), 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 }, }); }
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; default: generic = true; myChamp = new Generic(); break; case Champion.Ezreal: myChamp = new Ezreal(); break; case Champion.Cassiopeia: myChamp = new Cassiopeia(); break; } CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Skills")); if (!generic) { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), myChamp.ShopSequence); } else { myChamp = new Generic(); 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); BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get<Label>("shopSequence") .DisplayName); } else { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), 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}, }); }
//For Kalista private static void Start() { RandGen.Start(); var generic = false; if (menu.Get <CheckBox>("toUseOurChampLogic").CurrentValue) { switch (ObjectManager.Player.Hero) { case Champion.Aatrox: goto default; case Champion.Ahri: myChamp = new Ahri(); break; case Champion.Akali: goto default; case Champion.Alistar: goto default; case Champion.Amumu: goto default; case Champion.Anivia: myChamp = new Anivia(); break; case Champion.Annie: myChamp = new Annie(); break; case Champion.Ashe: myChamp = new Ashe(); break; case Champion.AurelionSol: goto default; case Champion.Azir: myChamp = new Azir(); break; case Champion.Bard: goto default; case Champion.Blitzcrank: goto default; case Champion.Brand: myChamp = new Brand(); break; case Champion.Braum: goto default; case Champion.Caitlyn: myChamp = new Caitlyn(); break; case Champion.Camille: goto default; case Champion.Cassiopeia: myChamp = new Cassiopeia(); break; case Champion.Chogath: goto default; case Champion.Corki: myChamp = new Corki(); break; case Champion.Darius: goto default; case Champion.Diana: goto default; case Champion.DrMundo: goto default; case Champion.Draven: myChamp = new Draven(); break; case Champion.Ekko: goto default; case Champion.Elise: goto default; case Champion.Evelynn: goto default; case Champion.Ezreal: myChamp = new Ezreal(); break; case Champion.FiddleSticks: goto default; case Champion.Fiora: goto default; case Champion.Fizz: goto default; case Champion.Galio: goto default; case Champion.Gangplank: goto default; case Champion.Garen: myChamp = new Garen(); break; case Champion.Gnar: goto default; case Champion.Gragas: goto default; case Champion.Graves: goto default; case Champion.Hecarim: goto default; case Champion.Heimerdinger: goto default; case Champion.Illaoi: goto default; case Champion.Irelia: goto default; case Champion.Ivern: goto default; case Champion.Janna: goto default; case Champion.JarvanIV: goto default; case Champion.Jax: goto default; case Champion.Jayce: goto default; case Champion.Jhin: goto default; case Champion.Jinx: myChamp = new Jinx(); break; case Champion.Kalista: myChamp = new Kalista(); break; case Champion.Karma: goto default; case Champion.Karthus: goto default; case Champion.Kassadin: goto default; case Champion.Katarina: myChamp = new Katarina(); break; case Champion.Kayle: myChamp = new Kayle(); break; case Champion.Kennen: goto default; case Champion.Khazix: goto default; case Champion.Kindred: goto default; case Champion.Kled: goto default; case Champion.KogMaw: goto default; case Champion.Leblanc: myChamp = new Leblanc(); break; case Champion.LeeSin: goto default; case Champion.Leona: goto default; case Champion.Lissandra: goto default; case Champion.Lucian: goto default; case Champion.Lulu: goto default; case Champion.Lux: goto default; case Champion.Malphite: goto default; case Champion.Malzahar: goto default; case Champion.Maokai: goto default; case Champion.MasterYi: goto default; case Champion.MissFortune: goto default; case Champion.Mordekaiser: goto default; case Champion.Morgana: myChamp = new Morgana(); break; case Champion.Nami: goto default; case Champion.Nasus: goto default; case Champion.Nautilus: goto default; case Champion.Nidalee: myChamp = new Nidalee(); break; case Champion.Nocturne: goto default; case Champion.Nunu: goto default; case Champion.Olaf: goto default; case Champion.Orianna: goto default; case Champion.Pantheon: goto default; case Champion.Poppy: goto default; case Champion.Quinn: goto default; case Champion.Rammus: goto default; case Champion.RekSai: goto default; case Champion.Renekton: goto default; case Champion.Rengar: goto default; case Champion.Riven: goto default; case Champion.Rumble: goto default; case Champion.Ryze: myChamp = new Ryze(); break; case Champion.Sejuani: goto default; case Champion.Shaco: goto default; case Champion.Shen: goto default; case Champion.Shyvana: goto default; case Champion.Singed: goto default; case Champion.Sion: goto default; case Champion.Sivir: myChamp = new Sivir(); break; case Champion.Skarner: goto default; case Champion.Sona: goto default; case Champion.Soraka: myChamp = new Soraka(); break; case Champion.Swain: goto default; case Champion.Syndra: goto default; case Champion.TahmKench: goto default; case Champion.Taliyah: goto default; case Champion.Talon: goto default; case Champion.Taric: goto default; case Champion.Teemo: goto default; case Champion.Thresh: goto default; case Champion.Tristana: myChamp = new Tristana(); break; case Champion.Trundle: goto default; case Champion.Tryndamere: goto default; case Champion.TwistedFate: goto default; case Champion.Twitch: myChamp = new Twitch(); break; case Champion.Udyr: goto default; case Champion.Urgot: goto default; case Champion.Varus: goto default; case Champion.Vayne: goto default; case Champion.Veigar: goto default; case Champion.Velkoz: myChamp = new Velkoz(); break; case Champion.Vi: goto default; case Champion.Viktor: goto default; case Champion.Vladimir: goto default; case Champion.Volibear: goto default; case Champion.Warwick: goto default; case Champion.MonkeyKing: goto default; case Champion.Xerath: myChamp = new Xerath(); break; case Champion.XinZhao: goto default; case Champion.Yasuo: goto default; case Champion.Yorick: goto default; case Champion.Zac: goto default; case Champion.Zed: goto default; case Champion.Ziggs: goto default; case Champion.Zilean: goto default; case Champion.Zyra: goto default; default: generic = true; myChamp = new Generic(); break; } } else { generic = true; myChamp = new Generic(); } var cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(SandboxConfig.DataDirectory, "AutoBuddy\\Skills")); if (!generic) { var bc = new BuildCreator(menu, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Builds"), 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); var bc = new BuildCreator(menu, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Builds"), MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get <Label>("shopSequence") .DisplayName); } else { var bc = new BuildCreator(menu, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Builds"), myChamp.ShopSequence); } } Logic = new LogicSelector(myChamp, menu); }
private static void Start() { RandGen.Start(); bool generic = false; switch (ObjectManager.Player.Hero) { case Champion.Ashe: myChamp = new Ashe(); break; case Champion.Anivia: myChamp = new Anivia(); break; case Champion.Annie: myChamp = new Annie(); break; case Champion.Ahri: myChamp = new Ahri(); break; case Champion.Caitlyn: myChamp = new Caitlyn(); break; case Champion.Cassiopeia: myChamp = new Cassiopeia(); break; default: generic = true; myChamp = new Generic(); break; case Champion.Ezreal: myChamp = new Ezreal(); 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.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; } CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Skills")); if (!generic) { BuildCreator bc = new BuildCreator(menu, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Builds"), myChamp.ShopSequence); } else { myChamp = new Generic(); 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); BuildCreator bc = new BuildCreator(menu, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Builds"), MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get <Label>("shopSequence") .DisplayName); } else { BuildCreator bc = new BuildCreator(menu, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Builds"), myChamp.ShopSequence); } } Logic = new LogicSelector(myChamp, menu); new Disrespekt(); }
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; default: generic = true; myChamp = new Generic(); break; case Champion.Ezreal: myChamp = new Ezreal(); break; case Champion.Cassiopeia: myChamp = new Cassiopeia(); break; } CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Skills")); if (!generic) { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), myChamp.ShopSequence); } else { myChamp = new Generic(); 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); BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get<Label>("shopSequence") .DisplayName); } else { BuildCreator bc = new BuildCreator(menu, Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), "AutoBuddy\\Builds"), myChamp.ShopSequence); } } Logic = new LogicSelector(myChamp, menu); }
public SkillLevelUp(IChampLogic myChamp) { champ = myChamp; Core.DelayAction(() => OnLvLUp(ObjectManager.Player.Level), RandGen.r.Next(900, 3000)); Obj_AI_Base.OnLevelUp += Player_OnLevelUp; }
//For Kalista private static void Start() { Chat.Print("Autobuddy: Started!"); RandGen.Start(); bool generic = false; switch (ObjectManager.Player.Hero) { case Champion.Ashe: myChamp = new Ashe(); break; case Champion.Caitlyn: myChamp = new Caitlyn(); break; default: generic = true; myChamp = new Generic(); 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; } CustomLvlSeq cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Skills")); 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 }, }); }
//For Kalista private static void Start() { RandGen.Start(); var generic = false; switch (ObjectManager.Player.Hero) { case Champion.Aatrox: myChamp = new Aatrox(); break; case Champion.Ahri: myChamp = new Ahri(); break; case Champion.Akali: myChamp = new Akali(); break; case Champion.Alistar: goto default; case Champion.Amumu: goto default; case Champion.Anivia: myChamp = new Anivia(); break; case Champion.Annie: myChamp = new Annie(); break; case Champion.Ashe: myChamp = new Ashe(); break; case Champion.AurelionSol: goto default; case Champion.Azir: myChamp = new Azir(); break; case Champion.Bard: goto default; case Champion.Blitzcrank: goto default; case Champion.Brand: myChamp = new Brand(); break; case Champion.Braum: goto default; case Champion.Caitlyn: myChamp = new Caitlyn(); break; case Champion.Camille: goto default; case Champion.Cassiopeia: myChamp = new Cassiopeia(); break; case Champion.Chogath: goto default; case Champion.Corki: myChamp = new Corki(); break; case Champion.Darius: goto default; case Champion.Diana: goto default; case Champion.DrMundo: goto default; case Champion.Draven: myChamp = new Draven(); break; case Champion.Ekko: goto default; case Champion.Elise: goto default; case Champion.Evelynn: goto default; case Champion.Ezreal: myChamp = new Ezreal(); break; case Champion.FiddleSticks: goto default; case Champion.Fiora: goto default; case Champion.Fizz: goto default; case Champion.Galio: goto default; case Champion.Gangplank: goto default; case Champion.Garen: myChamp = new Garen(); break; case Champion.Gnar: goto default; case Champion.Gragas: goto default; case Champion.Graves: goto default; case Champion.Hecarim: goto default; case Champion.Heimerdinger: goto default; case Champion.Illaoi: goto default; case Champion.Irelia: goto default; case Champion.Ivern: goto default; case Champion.Janna: goto default; case Champion.JarvanIV: goto default; case Champion.Jax: goto default; case Champion.Jayce: goto default; case Champion.Jhin: goto default; case Champion.Jinx: myChamp = new Jinx(); break; case Champion.Kalista: myChamp = new Kalista(); break; case Champion.Karma: goto default; case Champion.Karthus: goto default; case Champion.Kassadin: goto default; case Champion.Katarina: myChamp = new Katarina(); break; case Champion.Kayle: myChamp = new Kayle(); break; case Champion.Kennen: goto default; case Champion.Khazix: goto default; case Champion.Kindred: goto default; case Champion.Kled: goto default; case Champion.KogMaw: goto default; case Champion.Leblanc: myChamp = new Leblanc(); break; case Champion.LeeSin: goto default; case Champion.Leona: goto default; case Champion.Lissandra: goto default; case Champion.Lucian: goto default; case Champion.Lulu: goto default; case Champion.Lux: goto default; case Champion.Malphite: goto default; case Champion.Malzahar: goto default; case Champion.Maokai: goto default; case Champion.MasterYi: goto default; case Champion.MissFortune: goto default; case Champion.Mordekaiser: goto default; case Champion.Morgana: myChamp = new Morgana(); break; case Champion.Nami: goto default; case Champion.Nasus: goto default; case Champion.Nautilus: goto default; case Champion.Nidalee: myChamp = new Nidalee(); break; case Champion.Nocturne: goto default; case Champion.Nunu: goto default; case Champion.Olaf: goto default; case Champion.Orianna: goto default; case Champion.Pantheon: goto default; case Champion.Poppy: goto default; case Champion.Quinn: goto default; case Champion.Rammus: goto default; case Champion.RekSai: goto default; case Champion.Renekton: goto default; case Champion.Rengar: goto default; case Champion.Riven: goto default; case Champion.Rumble: goto default; case Champion.Ryze: myChamp = new Ryze(); break; case Champion.Sejuani: goto default; case Champion.Shaco: goto default; case Champion.Shen: goto default; case Champion.Shyvana: goto default; case Champion.Singed: goto default; case Champion.Sion: goto default; case Champion.Sivir: myChamp = new Sivir(); break; case Champion.Skarner: goto default; case Champion.Sona: goto default; case Champion.Soraka: myChamp = new Soraka(); break; case Champion.Swain: goto default; case Champion.Syndra: goto default; case Champion.TahmKench: goto default; case Champion.Taliyah: goto default; case Champion.Talon: goto default; case Champion.Taric: goto default; case Champion.Teemo: goto default; case Champion.Thresh: goto default; case Champion.Tristana: myChamp = new Tristana(); break; case Champion.Trundle: goto default; case Champion.Tryndamere: goto default; case Champion.TwistedFate: goto default; case Champion.Twitch: myChamp = new Twitch(); break; case Champion.Udyr: goto default; case Champion.Urgot: goto default; case Champion.Varus: goto default; case Champion.Vayne: goto default; case Champion.Veigar: goto default; case Champion.Velkoz: myChamp = new Velkoz(); break; case Champion.Vi: goto default; case Champion.Viktor: goto default; case Champion.Vladimir: goto default; case Champion.Volibear: goto default; case Champion.Warwick: goto default; case Champion.MonkeyKing: goto default; case Champion.Xerath: myChamp = new Xerath(); break; case Champion.XinZhao: goto default; case Champion.Yasuo: goto default; case Champion.Yorick: goto default; case Champion.Zac: goto default; case Champion.Zed: goto default; case Champion.Ziggs: goto default; case Champion.Zilean: goto default; case Champion.Zyra: goto default; default: generic = true; myChamp = new Generic(); break; } //Set lame item set build for all champs myChamp.ShopSequence = "3340:Buy," + //"Warding Totem (Trinket)" "1036:Buy," + //"Long Sword" "2003:StartHpPot," + //"Health Potion" "1004:Buy," + //Faerie Charm "1027:Buy," + //Sapphire Crystal "3070:Buy," + //Tear of the Goddess "1037:Buy," + //Pickaxe "3004:Buy," + //Manamune "2003:StopHpPot," + //"Health Potion" "1082:Buy," + //The dark seal "3041:Buy," + // Mejai's Soulstealer "1052:Buy," + //Amplifying Tome "3108:Buy," + //Fiendish Codex "1004:Buy," + //Faerie Charm "1004:Buy," + //Faerie Charm "1033:Buy," + //Null-Magic Mantle "3028:Buy," + //Chalice of Harmony "3174:Buy," + // Athene's Unholy Grail "1036:Buy," + //Long Sword "1053:Buy," + //Vamperic Sceptor "1036:Buy," + //Long Sword "3144:Buy," + //Bilgewater Cutlass "1052:Buy," + //Amplifying Tome "1052:Buy," + //Amplifying Tome "3145:Buy," + //Hextech Revolver "3146:Buy," + // Hextech Gunblade "1033:Buy," + //Null Magic Mantle "1029:Buy," + //Cloth Armor "3105:Buy," + //Aegis of the Legion "1027:Buy," + //Sapphire Crystal "3024:Buy," + //Glacial Shroud "3060:Buy," + // Banner of Command "1029:Buy," + //Cloth Armor "1031:Buy," + //Chain Vest "3075:Buy"; //Thornmail var cl = new CustomLvlSeq(menu, AutoWalker.p, Path.Combine(SandboxConfig.DataDirectory, "AutoBuddy\\Skills")); if (!generic) { var bc = new BuildCreator(menu, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Builds"), 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); var bc = new BuildCreator(menu, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Builds"), MainMenu.GetMenu("AB_" + ObjectManager.Player.ChampionName) .Get <Label>("shopSequence") .DisplayName); } else { var bc = new BuildCreator(menu, Path.Combine(SandboxConfig.DataDirectory , "AutoBuddy\\Builds"), myChamp.ShopSequence); } } Logic = new LogicSelector(myChamp); }