private static void OnLoadingComplete() { try { switch (ObjectManager.GetLocalPlayer().ChampionName) { case "Jhin": var unused = new Jhin(); Console.WriteLine("FrOnDaL AIO Jhin loaded"); break; case "Veigar": var unused1 = new Veigar(); Console.WriteLine("FrOnDaL AIO Veigar loaded"); break; case "Swain": var unused2 = new Swain(); Console.WriteLine("FrOnDaL AIO Swain loaded"); break; case "Varus": var unused3 = new Varus(); Console.WriteLine("FrOnDaL AIO Varus loaded"); break; case "Thresh": var unused4 = new Thresh(); Console.WriteLine("FrOnDaL AIO Thresh loaded"); break; case "Lux": var unused5 = new Lux(); Console.WriteLine("FrOnDaL AIO Lux loaded"); break; case "Shen": var unused6 = new Shen(); Console.WriteLine("FrOnDaL AIO Shen loaded"); break; case "DrMundo": var unused7 = new DrMundo(); Console.WriteLine("FrOnDaL AIO Dr.Mundo loaded"); break; case "JarvanIV": var unused8 = new JarvanIv(); Console.WriteLine("FrOnDaL AIO Jarvan IV loaded"); break; case "AurelionSol": var unused9 = new AurelionSol(); Console.WriteLine("FrOnDaL AIO AurelionSol loaded"); break; case "Ziggs": var unused10 = new Ziggs(); Console.WriteLine("FrOnDaL AIO Ziggs loaded"); break; } } catch (Exception) { Console.WriteLine("Champion not supported " + ObjectManager.GetLocalPlayer().ChampionName); } }
private static void InitChampions() { if (!SuppoetChampions.Contains(herosName)) { Chat.Print("Flowers' ADC Series" + "[" + herosName + "]: Not Support!"); return; } MyMenuExtensions.myMenu = Menu.AddMenu("Flowers' ADC Series: " + herosName); MyMenuExtensions.ComboMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Combo Settings"); MyMenuExtensions.HarassMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Harass Settings"); MyMenuExtensions.LaneClearMenu = MyMenuExtensions.myMenu.AddSubMenu(":: LaneClear Settings"); MyMenuExtensions.JungleClearMenu = MyMenuExtensions.myMenu.AddSubMenu(":: JungleClear Settings"); MyMenuExtensions.LastHitMenu = MyMenuExtensions.myMenu.AddSubMenu(":: LastHit Settings"); MyMenuExtensions.FleeMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Flee Settings"); MyMenuExtensions.KillStealMenu = MyMenuExtensions.myMenu.AddSubMenu(":: KillSteal Settings"); MyMenuExtensions.MiscMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Misc Settings"); MyManaManager.AddSpellFarm(MyMenuExtensions.MiscMenu); MyMenuExtensions.DrawMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Drawings Settings"); switch (ObjectManager.Player.ChampionName) { case "Ashe": Ashe.Init(); break; case "Caitlyn": Caitlyn.Init(); break; case "Corki": Corki.Init(); break; case "Draven": Draven.Init(); break; case "Ezreal": Ezreal.Init(); break; case "Graves": Graves.Init(); break; case "Jayce": Jayce.Init(); break; case "Jhin": Jhin.Init(); break; case "Jinx": Jinx.Init(); break; case "Kalista": Kalista.Init(); break; case "Kindred": Kindred.Init(); break; case "KogMaw": KogMaw.Init(); break; case "Lucian": Lucian.Init(); break; case "MissFortune": MissFortune.Init(); break; case "Quinn": Quinn.Init(); break; case "Sivir": Sivir.Init(); break; case "Teemo": Teemo.Init(); break; case "Tristana": Tristana.Init(); break; case "TwistedFate": TwistedFate.Init(); break; case "Twitch": Twitch.Init(); break; case "Urgot": Urgot.Init(); break; case "Varus": Varus.Init(); break; case "Vayne": Vayne.Init(); break; case "Xayah": Xayah.Init(); break; } Chat.Print("Flowers' ADC Series" + "[" + herosName + "]: Init Successful! Made by NightMoon"); }