private static void onLoad(EventArgs args) { if (ObjectManager.Player.ChampionName != CharName) { return; } map = new Map(); Game.PrintChat("LeeSin"); try { Config = new Menu("LeeSin", "LeeSin", true); var targetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); Config.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); LeeSin.orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker")); Config.AddSubMenu(new Menu("Combo", "Combo")); Config.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Use Q")).SetValue(true); Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Use E")).SetValue(true); Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Use R")).SetValue(true); Config.SubMenu("Combo").AddItem(new MenuItem("ActiveCombo", "Combo!").SetValue(new KeyBind(32, KeyBindType.Press))); Config.SubMenu("Combo").AddItem(new MenuItem("ActiveCombo1", "Combo2!").SetValue((new KeyBind("Z".ToCharArray()[0], KeyBindType.Press, false)))); Config.AddSubMenu(new Menu("Harass", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("ActiveHarass", "Harass!").SetValue((new KeyBind("C".ToCharArray()[0], KeyBindType.Press, false)))); Config.AddSubMenu(new Menu("Insec", "Insec")); Config.SubMenu("Insec").AddItem(new MenuItem("ActiveInsec", "Insec!").SetValue((new KeyBind("T".ToCharArray()[0], KeyBindType.Press, false)))); Config.AddSubMenu(new Menu("KillSteal", "KillSteal")); Config.SubMenu("KillSteal").AddItem(new MenuItem("UseR", "R killsteal")).SetValue(true); Config.AddSubMenu(new Menu("WardJump", "WardJump")); Config.SubMenu("WardJump").AddItem(new MenuItem("ActiveWard", "WardJump!").SetValue((new KeyBind("G".ToCharArray()[0], KeyBindType.Press, false)))); Config.AddSubMenu(new Menu("Drawings", "Drawings")); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawQ", "Draw Q")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawE", "Draw E")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawW", "Draw W")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawR", "Draw R")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawInsec", "Draw Insec")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("CircleQuality", "Circles Quality").SetValue(new Slider(100, 100, 10))); Config.SubMenu("Drawings").AddItem(new MenuItem("CircleThickness", "Circles Thickness").SetValue(new Slider(1, 10, 1))); Config.AddToMainMenu(); Drawing.OnDraw += onDraw; Game.OnGameUpdate += OnGameUpdate; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; Obj_AI_Base.OnProcessSpellCast += OnProcessSpell; LeeSin.setSkillShots(); } catch { } }
private static void OnGameUpdate(EventArgs args) { LeeSin.loaidraw(); LeeSin.CastR_kill(); target = SimpleTs.GetTarget(1500, SimpleTs.DamageType.Physical); LeeSin.checkLock(target); LeeSin.orbwalker.SetAttacks(true); if (Config.Item("ActiveWard").GetValue <KeyBind>().Active) { LeeSin.wardJump(Game.CursorPos.To2D()); } if (Config.Item("ActiveHarass").GetValue <KeyBind>().Active) { LeeSin.doHarass(); } if (Config.Item("ActiveCombo").GetValue <KeyBind>().Active) { LeeSin.combo(); } if (Config.Item("ActiveCombo1").GetValue <KeyBind>().Active) { LeeSin.combo2(); } if (Config.Item("ActiveInsec").GetValue <KeyBind>().Active) { LeeSin.useinsec(); } if (LeeSin.orbwalker.ActiveMode.ToString() == "LaneClear") { } }
private static void OnGameUpdate(EventArgs args) { target = SimpleTs.GetTarget(1000, SimpleTs.DamageType.Physical); LeeSin.checkLock(target); if (Config.Item("db_targ").GetValue <KeyBind>().Active) { LeeSin.wardJump(Game.CursorPos.To2D()); } if (Config.Item("harassDo").GetValue <KeyBind>().Active) { LeeSin.doHarass(); } if (LeeSin.orbwalker.ActiveMode.ToString() == "Combo") { Console.WriteLine(LeeSin.Q.ChargedSpellName); Console.WriteLine(LeeSin.Qdata.Name); } if (LeeSin.orbwalker.ActiveMode.ToString() == "Mixed") { } if (LeeSin.orbwalker.ActiveMode.ToString() == "LaneClear") { } if (Config.Item("harassOn").GetValue <bool>() && LeeSin.orbwalker.ActiveMode.ToString() == "None") { } }
private static void onLoad(EventArgs args) { map = new Map(); Game.PrintChat("LeeSin - Sharp by DeTuKs"); try { Config = new Menu("LeeSin - SharpSwrod", "LeeSin", true); //Orbwalker Config.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); LeeSin.orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker")); //TS var TargetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(TargetSelectorMenu); Config.AddSubMenu(TargetSelectorMenu); //Combo Config.AddSubMenu(new Menu("Combo Sharp", "combo")); Config.SubMenu("combo").AddItem(new MenuItem("comboItems", "Use Items")).SetValue(true); //LastHit Config.AddSubMenu(new Menu("LastHit Sharp", "lHit")); //LaneClear Config.AddSubMenu(new Menu("LaneClear Sharp", "lClear")); //Harass Config.AddSubMenu(new Menu("Harass Sharp", "harass")); Config.SubMenu("harass").AddItem(new MenuItem("harassDo", "Harass adv")).SetValue(new KeyBind('H', KeyBindType.Press, false)); //Extra Config.AddSubMenu(new Menu("Extra Sharp", "extra")); //Debug Config.AddSubMenu(new Menu("Debug", "debug")); Config.SubMenu("debug").AddItem(new MenuItem("db_targ", "Debug Target")).SetValue(new KeyBind('T', KeyBindType.Press, false)); Config.AddToMainMenu(); Drawing.OnDraw += onDraw; Game.OnGameUpdate += OnGameUpdate; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; Obj_AI_Base.OnProcessSpellCast += OnProcessSpell; LeeSin.setSkillShots(); } catch { Game.PrintChat("Oops. Something went wrong with Yasuo- Sharpino"); } }
private static void onDraw(EventArgs args) { if (Config.Item("DrawQ").GetValue <bool>()) { Utility.DrawCircle(ObjectManager.Player.Position, 1000, System.Drawing.Color.Gray, Config.Item("CircleThickness").GetValue <Slider>().Value, Config.Item("CircleQuality").GetValue <Slider>().Value); } if (Config.Item("DrawW").GetValue <bool>()) { Utility.DrawCircle(ObjectManager.Player.Position, 700, System.Drawing.Color.Gray, Config.Item("CircleThickness").GetValue <Slider>().Value, Config.Item("CircleQuality").GetValue <Slider>().Value); } if (Config.Item("DrawE").GetValue <bool>()) { Utility.DrawCircle(ObjectManager.Player.Position, 350, System.Drawing.Color.Gray, Config.Item("CircleThickness").GetValue <Slider>().Value, Config.Item("CircleQuality").GetValue <Slider>().Value); } if (Config.Item("DrawR").GetValue <bool>()) { Utility.DrawCircle(ObjectManager.Player.Position, 375, System.Drawing.Color.Gray, Config.Item("CircleThickness").GetValue <Slider>().Value, Config.Item("CircleQuality").GetValue <Slider>().Value); } if (Config.Item("DrawInsec").GetValue <bool>() && LeeSin.R.IsReady()) { if (!LeeSin.loaidraw()) { Vector2 heroPos = Drawing.WorldToScreen(LeeSin.LockedTarget.Position); Vector2 diempos = Drawing.WorldToScreen(LeeSin.getward1(LeeSin.LockedTarget)); Drawing.DrawLine(heroPos[0], heroPos[1], diempos[0], diempos[1], 1, System.Drawing.Color.White); } else { Vector2 heroPos = Drawing.WorldToScreen(LeeSin.LockedTarget.Position); Vector2 diempos = Drawing.WorldToScreen(LeeSin.getward3(LeeSin.LockedTarget)); Drawing.DrawLine(heroPos[0], heroPos[1], diempos[0], diempos[1], 1, System.Drawing.Color.White); } } }
private static void onLoad(EventArgs args) { if (ObjectManager.Player.ChampionName != CharName) { return; } map = new Map(); Game.PrintChat("^^huanvip1994^^ - Phá nát LMHT"); try { Config = new Menu("【Huanvip1994】- LeeSin", "【Huanvip1994】- Pro LeeSin", true); var targetSelectorMenu = new Menu("Chọn đối tượng", "Target Selector"); LeagueSharp.Common.TargetSelector.AddToMenu(targetSelectorMenu); Config.AddSubMenu(targetSelectorMenu); Config.AddSubMenu(new Menu("La liếm", "Orbwalker")); LeeSin.orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker")); Config.AddSubMenu(new Menu("Combo", "Combo")); Config.SubMenu("Combo").AddItem(new MenuItem("UseQCombo", "Dùng Q")).SetValue(true); Config.SubMenu("Combo").AddItem(new MenuItem("UseECombo", "Dùng E")).SetValue(true); Config.SubMenu("Combo").AddItem(new MenuItem("UseRCombo", "Dùng R")).SetValue(true); Config.SubMenu("Combo").AddItem(new MenuItem("ActiveCombo", "Combo và Insec!").SetValue(new KeyBind(32, KeyBindType.Press))); Config.SubMenu("Combo").AddItem(new MenuItem("ActiveCombo1", "QERQE!").SetValue((new KeyBind("S".ToCharArray()[0], KeyBindType.Press, false)))); //Misc Config.AddSubMenu(new Menu("Trang bị kích hoạt", "Misc")); Config.SubMenu("Misc").AddItem(new MenuItem("KhienRadun", "Khiên Radun").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("AutoTiamat", "Tiamax").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("Automangxa", "Mãng xà").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("AutoBOTRK", "Vô danh").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("AutoYoumuu", "Kiếm ma Yomun").SetValue(true)); Config.SubMenu("Misc").AddItem(new MenuItem("AutoIgnite", "Thiêu đốt").SetValue(true)); Config.AddSubMenu(new Menu("Rỉa máu", "Harass")); Config.SubMenu("Harass").AddItem(new MenuItem("ActiveHarass", "Rỉa máu!").SetValue((new KeyBind("V".ToCharArray()[0], KeyBindType.Press, false)))); Config.AddSubMenu(new Menu("Insec", "Insec")); Config.SubMenu("Insec").AddItem(new MenuItem("ActiveInsec", "Insec!").SetValue((new KeyBind("T".ToCharArray()[0], KeyBindType.Press, false)))); Config.AddSubMenu(new Menu("KS bằng R", "KillSteal")); Config.SubMenu("KillSteal").AddItem(new MenuItem("UseR", "KS R")).SetValue(true); Config.AddSubMenu(new Menu("Cắm mắt lướt", "WardJump")); Config.SubMenu("WardJump").AddItem(new MenuItem("ActiveWard", "Cắm mắt lướt").SetValue((new KeyBind("G".ToCharArray()[0], KeyBindType.Press, false)))); Config.AddSubMenu(new Menu("Hiễn thị", "Drawings")); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawQ", "Vòng Q")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawE", "Vòng E")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawW", "Vòng W")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawR", "Vòng R")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("DrawInsec", "Hướng Insec")).SetValue(true); Config.SubMenu("Drawings").AddItem(new MenuItem("CircleQuality", "Vòng tròn").SetValue(new Slider(100, 100, 10))); Config.SubMenu("Drawings").AddItem(new MenuItem("CircleThickness", "Độ đậm").SetValue(new Slider(1, 10, 1))); MenuItem drawComboDamageMenu = new MenuItem("Draw_ComboDamage", "Thanh máu sau khi Combo ").SetValue(true); Config.AddItem(drawComboDamageMenu); Utility.HpBarDamageIndicator.DamageToUnit = GetComboDamage; Utility.HpBarDamageIndicator.Enabled = drawComboDamageMenu.GetValue <bool>(); drawComboDamageMenu.ValueChanged += delegate(object sender, OnValueChangeEventArgs eventArgs) { Utility.HpBarDamageIndicator.Enabled = eventArgs.GetNewValue <bool>(); }; Config.AddToMainMenu(); Drawing.OnDraw += onDraw; Game.OnUpdate += OnGameUpdate; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; Obj_AI_Base.OnProcessSpellCast += OnProcessSpell; LeeSin.setSkillShots(); } catch { } }