public static void Game_OnGameLoad() { if (ObjectManager.Player.ChampionName != ChampionName) { return; } Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 720); Q.SetTargetted(0.5f, 1500f); W = new LeagueSharp.Common.Spell(SpellSlot.W, 670); W.SetSkillshot(0.6f, 220f, 1450f, false, SkillshotType.SkillshotCircle); E = new LeagueSharp.Common.Spell(SpellSlot.E, 900); E.SetSkillshot(0.3f, 55f, 1650f, true, SkillshotType.SkillshotLine); R = new LeagueSharp.Common.Spell(SpellSlot.R, 720); { SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); } Config = MainMenu.AddMenu(ChampionName, ChampionName); Common.CommonGeometry.Init(); var x = new CommonBuffManager(); comboMenu = Config.AddSubMenu("Combo", "Combo"); comboMenu.Add("ComboMode", new ComboBox("Combo", 1, "Auto", "Q-R Combo", "W-R Combo", "E-R Combo")); comboMenu.Add("ComboMode.Key", new CheckBox("Quick Change Combo Mode With Mouse Scroll Button")); comboMenu.Add("ComboSetEHitCh", new ComboBox("E Hit", 2, "Low", "Medium", "High", "Very High", "Immobile")); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != ObjectManager.Player.Team)) { comboMenu.Add("DontCombo" + enemy.CharData.BaseSkinName, new CheckBox("Don't Combo : " + enemy.CharData.BaseSkinName, false)); } comboMenu.Add("ComboDblStun", new KeyBind("Double Stun!", false, KeyBind.BindTypes.HoldActive, 'T')); comboMenu.Add("ComboShowInfo", new CheckBox("Show Combo Status")); harassMenu = Config.AddSubMenu("Harass", "Harass"); harassMenu.AddGroupLabel("Q"); harassMenu.Add("HarassUseQ", new CheckBox("Use Q")); harassMenu.Add("HarassManaQ", new Slider("Q Min. Mana Percent: ", 50)); harassMenu.Add("HarassUseTQ", new KeyBind("Use Q (toggle)!", false, KeyBind.BindTypes.PressToggle, 'J')); harassMenu.AddGroupLabel("W"); harassMenu.Add("HarassUseW", new CheckBox("Use W")); harassMenu.Add("HarassManaW", new Slider("W Min. Mana Percent: ", 50)); harassMenu.Add("HarassUseTW", new KeyBind("Use W (toggle)!", false, KeyBind.BindTypes.PressToggle, 'K')); harassMenu.AddGroupLabel("E"); harassMenu.Add("HarassUseE", new CheckBox("Use E")); harassMenu.Add("HarassManaE", new Slider("E Min. Mana Percent: ", 50)); harassMenu.Add("HarassUseTE", new KeyBind("Use E (toggle)!", false, KeyBind.BindTypes.PressToggle, 'K')); harassMenu.Add("HarassShowInfo", new CheckBox("Show Harass Toggle Status")); laneClearMenu = Config.AddSubMenu("Lane Clear", "LaneClear"); laneClearMenu.Add("LaneClearUseQ", new ComboBox("Use Q", 3, "Off", "On: Last Hit", "On: Unkillable Minions", "On: Both")); laneClearMenu.Add("LaneClearUseW", new CheckBox("Use W", false)); laneClearMenu.Add("LaneClearUseE", new CheckBox("Use E", false)); laneClearMenu.Add("LaneClearMana", new Slider("Min. Mana Percent: ", 50)); jungleMenu = Config.AddSubMenu("JungleFarm", "JungleFarm"); jungleMenu.Add("JungleFarmUseQ", new CheckBox("Use Q")); jungleMenu.Add("JungleFarmUseW", new CheckBox("Use W")); jungleMenu.Add("JungleFarmUseE", new CheckBox("Use E")); jungleMenu.Add("JungleFarmMana", new Slider("Min. Mana Percent: ", 50)); runMenu = Config.AddSubMenu("Run", "Run"); runMenu.Add("RunUseW", new CheckBox("Use W")); runMenu.Add("RunUseR", new CheckBox("Use R")); runMenu.Add("RunActive", new KeyBind("Run!", false, KeyBind.BindTypes.HoldActive, 'A')); MenuExtras = Config.AddSubMenu("Extras", "Extras"); MenuExtras.Add("InterruptSpells", new CheckBox("Interrupt Spells")); drawMenu = Config.AddSubMenu("Drawings", "Drawings"); drawMenu.AddGroupLabel("Spells : "); drawMenu.Add("QRange", new CheckBox("Q Range", false)); drawMenu.Add("WRange", new CheckBox("W Range")); drawMenu.Add("ERange", new CheckBox("E Range", false)); drawMenu.Add("RRange", new CheckBox("R Range", false)); drawMenu.AddGroupLabel("Others : "); drawMenu.Add("Show.JungleBuffs", new CheckBox("Show Jungle Buff Time Circle:")); drawMenu.Add("ActiveERange", new CheckBox("Active E Range", false)); drawMenu.Add("WQRange", new CheckBox("W + Q Range", false)); Game.OnUpdate += Game_OnUpdate; { Drawing.OnDraw += Drawing_OnDraw; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; Game.OnWndProc += Game_OnWndProc; Interrupter2.OnInterruptableTarget += Interrupter_OnPosibleToInterrupt; } Chat.Print(String.Format("<font color='#70DBDB'>xQx</font> <font color='#FFFFFF'>{0}</font> <font color='#70DBDB'>Loaded! Fixed Auto Return W Problem</font>", ChampionName)); }
public static void Game_OnGameLoad() { if (ObjectManager.Player.ChampionName != "TwistedFate") { return; } Player = ObjectManager.Player; Q = new Spell(SpellSlot.Q, 1450); Q.SetSkillshot(0.25f, 40f, 1000f, false, SkillshotType.SkillshotLine); //Make the menu Config = new Menu("Twisted Fate", "TwistedFate", true); MenuTools = new Menu("Tools", "Tools"); Config.AddSubMenu(MenuTools); var SowMenu = new Menu("Orbwalking", "Orbwalking"); SOW = new Orbwalking.Orbwalker(SowMenu); MenuTools.AddSubMenu(SowMenu); /* Q */ var q = new Menu("Q - Wildcards", "Q"); { q.AddItem(new MenuItem("AutoQI", "Auto-Q immobile").SetValue(true)); q.AddItem(new MenuItem("AutoQD", "Auto-Q dashing").SetValue(true)); q.AddItem( new MenuItem("CastQ", "Cast Q (tap)").SetValue(new KeyBind("U".ToCharArray()[0], KeyBindType.Press))); Config.AddSubMenu(q); } /* W */ var w = new Menu("W - Pick a card", "W"); { w.AddItem( new MenuItem("SelectYellow", "Select Yellow").SetValue(new KeyBind("W".ToCharArray()[0], KeyBindType.Press))); w.AddItem( new MenuItem("SelectBlue", "Select Blue").SetValue(new KeyBind("E".ToCharArray()[0], KeyBindType.Press))); w.AddItem( new MenuItem("SelectRed", "Select Red").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press))); Config.AddSubMenu(w); } var menuLane = new Menu("Lane", "Lane"); { menuLane.AddItem(new MenuItem("Lane.BlueCard.MinMana", "Keep up mana > % [0 = Off]").SetValue(new Slider(50, 0, 100))); Config.AddSubMenu(menuLane); } var menuItems = new Menu("Items", "Items"); { menuItems.AddItem(new MenuItem("itemBotrk", "Botrk").SetValue(true)); menuItems.AddItem(new MenuItem("itemYoumuu", "Youmuu").SetValue(true)); menuItems.AddItem( new MenuItem("itemMode", "Use items on").SetValue( new StringList(new[] { "No", "Mixed mode", "Combo mode", "Both" }, 2))); Config.AddSubMenu(menuItems); } var r = new Menu("R - Destiny", "R"); { r.AddItem(new MenuItem("AutoY", "Select yellow card after R").SetValue(true)); Config.AddSubMenu(r); } var misc = new Menu("Misc", "Misc"); { misc.AddItem(new MenuItem("PingLH", "Ping low health enemies (Only local)").SetValue(true)); misc.AddItem(new MenuItem("Misc.InstantSelection", "Anti-Cheat: Never select card instantly").SetValue(new KeyBind("G".ToCharArray()[0], KeyBindType.Toggle))).SetFontStyle(FontStyle.Regular, SharpDX.Color.Aqua).Permashow(); misc.AddItem(new MenuItem("Misc.SelectRandomCard", "Anti-Cheat: Select a random card for killable enemy").SetValue(false)).SetFontStyle(FontStyle.Regular, SharpDX.Color.Aqua).Permashow(); misc.AddItem(new MenuItem("Misc.SelectGoldCardInRisk", "Anti-Cheat: Select instantly Gold Card if I'm in risk").SetValue(false)).SetFontStyle(FontStyle.Regular, SharpDX.Color.Aqua).Permashow(); Config.AddSubMenu(misc); } /*Drawing*/ var drawings = new Menu("Drawings", "Drawings"); { drawings.AddItem( new MenuItem("Qcircle", "Q Range").SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255)))); drawings.AddItem( new MenuItem("Rcircle", "R Range").SetValue(new Circle(true, Color.FromArgb(100, 255, 255, 255)))); drawings.AddItem( new MenuItem("Rcircle2", "R Range (minimap)").SetValue(new Circle(true, Color.FromArgb(255, 255, 255, 255)))); Config.AddSubMenu(drawings); } Config.AddItem(new MenuItem("Combo", "Combo").SetValue(new KeyBind(32, KeyBindType.Press))); Config.AddToMainMenu(); var x = new CommonBuffManager(); CommonGeometry.Init(); CommonAutoLevel.Init(MenuTools); Game.OnUpdate += Game_OnGameUpdate; Drawing.OnDraw += Drawing_OnDraw; Drawing.OnDraw += Drawing_OnDraw_PassiveTimes; Drawing.OnEndScene += DrawingOnOnEndScene; Obj_AI_Base.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast; Orbwalking.BeforeAttack += OrbwalkingOnBeforeAttack; }
public static void Init() { MenuConfig = new Menu(":: Leblanc II ::", "Leblanc", true).SetFontStyle(FontStyle.Regular, Color.GreenYellow); MenuTools = new Menu("Tools", "Tools").SetFontStyle(FontStyle.Regular, Color.Aqua); MenuConfig.AddSubMenu(MenuTools); MenuTools.AddSubMenu(new Menu("Orbwalking", "Orbwalking")); Orbwalker = new Orbwalking.Orbwalker(MenuTools.SubMenu("Orbwalking")); Orbwalker.SetAttack(true); Modes.ModeSettings.Init(MenuConfig); { Common.CommonGeometry.Init(); Common.CommonTargetSelector.Init(MenuTools); Common.CommonAutoLevel.Init(MenuTools); Common.CommonAutoBush.Init(MenuTools); Common.CommonSkins.Init(MenuTools); } var x = new CommonBuffManager(); Common.CommonHelper.Init(); MenuKeys = new Menu("Keys", "Keys").SetFontStyle(FontStyle.Bold, Color.Coral); { //MenuKeys.AddItem(new MenuItem("Key.Combo", "Combo!").SetValue(new KeyBind(MenuConfig.Item("Orbwalk").GetValue<KeyBind>().Key, KeyBindType.Press))).SetFontStyle(FontStyle.Regular, Color.GreenYellow); MenuKeys.AddItem(new MenuItem("Key.ComboAA", "Combo [Without AA]").SetValue(new KeyBind('Z', KeyBindType.Press))).SetFontStyle(FontStyle.Regular, Color.Aqua); MenuKeys.AddItem(new MenuItem("Key.ChangeCombo", "Change Combo!").SetValue(new KeyBind('J', KeyBindType.Press))).SetFontStyle(FontStyle.Regular, Color.IndianRed); MenuKeys.AddItem(new MenuItem("Key.Harass1", "Harass Toggle!").SetValue(new KeyBind('T', KeyBindType.Toggle)).SetFontStyle(FontStyle.Regular, Color.GreenYellow)).Permashow(true, ObjectManager.Player.ChampionName + " | Harass Toggle", Color.AliceBlue); //.ValueChanged += (sender, args) => // { // MenuKeys.Item("Key.Harass1").Permashow(args.GetNewValue<KeyBind>().Active, ObjectManager.Player.ChampionName + " | Harass Toggle", Color.AliceBlue); // //if (args.GetNewValue<KeyBind>().Active) // //{ // // MenuKeys.Item("Key.Harass1").Permashow(args.GetNewValue<KeyBind>().Active, ObjectManager.Player.ChampionName + " | Harass Toggle",Color.AliceBlue); // //} // //else // //{ // // MenuKeys.Item("Key.Harass1").Permashow(false); // //} // }; MenuKeys.AddItem(new MenuItem("Key.DoubleChain", "Double Chain!").SetValue(new KeyBind('G', KeyBindType.Press)).SetFontStyle(FontStyle.Regular, Color.IndianRed)); //MenuKeys.AddItem(new MenuItem("Key.Farm", "Farm").SetValue(new KeyBind(MenuConfig.Item("LaneClear").GetValue<KeyBind>().Key, KeyBindType.Press))).SetFontStyle(FontStyle.Regular, Color.DarkKhaki); MenuKeys.AddItem(new MenuItem("Key.Flee", "Flee").SetValue(new KeyBind('A', KeyBindType.Press)).SetFontStyle(FontStyle.Regular, Color.GreenYellow)); MenuConfig.AddSubMenu(MenuKeys); } Modes.ModeCombo.Init(); Modes.ModeChain.Init(); Modes.ModeHarass.Init(); MenuFarm = new Menu("Farm", "Farm"); { Modes.ModeLane.Init(MenuFarm); Modes.ModeJungle.Init(MenuFarm); MenuFarm.AddItem(new MenuItem("Farm.Enable", ":: Lane / Jungle Clear Active!").SetValue(new KeyBind("J".ToCharArray()[0], KeyBindType.Toggle, true))).Permashow(true, ObjectManager.Player.ChampionName + " | " + "Lane/Jungle Farm", Colors.ColorPermaShow); MenuFarm.AddItem(new MenuItem("Farm.MinMana.Enable", "Min. Mana Control!").SetValue(new KeyBind("M".ToCharArray()[0], KeyBindType.Toggle, true)).SetFontStyle(FontStyle.Regular, Color.Aqua)).Permashow(true, ObjectManager.Player.ChampionName + " | " + "Min. Mana Control!", Colors.ColorPermaShow); MenuConfig.AddSubMenu(MenuFarm); } Modes.ModeFlee.Init(MenuConfig); new ModeDraw().Init(); Champion.PlayerObjects.Init(); MenuConfig.AddToMainMenu(); foreach (var i in MenuConfig.Children.Cast <Menu>().SelectMany(GetSubMenu)) { i.DisplayName = ":: " + i.DisplayName; } }