예제 #1
0
        public static void WtfSec()
        {
            var target = EnemyTarget;

            Orbwalker.OrbwalkTo(target.Position);

            if (target == null || !target.IsValidTarget())
            {
                return;
            }
            var allyPos = Game.CursorPos;

            if (InsecPos == new Vector3())
            {
                var insecPos = allyPos.Extend(target.Position, target.Distance(allyPos) + InsecMenu["insecDistance"].Cast <Slider>().CurrentValue);
                InsecPos   = insecPos.To3D();
                LastUpdate = Environment.TickCount;
            }
            var jumpPos = InsecTarget.Position.Extend(_Player.Position, 130).To3D();

            if (InsecTarget.HasBuffOfType(BuffType.Knockback) && InsecTarget.HasQBuff() && Program.Q.IsReady() &&
                Program.Q.Instance().Name == Program.Spells["Q2"])
            {
                Core.DelayAction(delegate
                {
                    Program.Q2.Cast();
                }
                                 , 600);
            }
            if (!Program.R.IsReady())
            {
                return;
            }
            if (_Player.Distance(InsecTarget) < Program.R.Range && _Player.Distance(InsecPos) < 400)
            {
                Program.R.Cast(InsecTarget);
                Core.DelayAction(delegate
                {
                    var spell = _Player.Spellbook.Spells.FirstOrDefault(a => a.Name.ToLower().Contains("summonerflash"));
                    if (spell == null || !spell.IsReady)
                    {
                        return;
                    }
                    _Player.Spellbook.CastSpell(spell.Slot, InsecPos);
                }, 200);
            }
            else if (Program.Q.Instance().Name == Program.Spells["Q1"] && Program.Q.IsReady())
            {
                SpellClass.SmiteQCast(InsecTarget);
                Program.LastSpellTime = Environment.TickCount;
            }
            else if (jumpPos.Distance(_Player.Position) < 600)
            {
                WardJumper.WardJump(jumpPos, false, true);
            }
        }
예제 #2
0
        private static void Load_OnLoad(EventArgs a)
        {
            if (Player.Instance.Hero != Champion.LeeSin)
            {
                return;
            }

            menu = MainMenu.AddMenu("PratikHack LeeSin V1", "LeeSinBuddyMenu");
            menu.AddGroupLabel("Hoşgeldiniz / Welcome");
            menu.AddSeparator();
            menu.AddLabel("Made by PratikHack");
            menu.AddLabel("www.youtube.com/c/PratikHack01");
            menu.AddLabel("www.fb.com/PratikHackOfficial");

            DrawingMenu = menu.AddSubMenu("Drawing Settings", "menuleesin");
            DrawingMenu.Add("drawQ1", new CheckBox("Draw Q1", false));
            DrawingMenu.Add("drawQ2", new CheckBox("Draw Q2", false));
            DrawingMenu.Add("drawW1", new CheckBox("Draw W1", false));
            DrawingMenu.Add("drawE1", new CheckBox("Draw E1", false));
            DrawingMenu.Add("drawE2", new CheckBox("Draw E2", false));
            DrawingMenu.Add("drawR", new CheckBox("Draw R", false));

            Q  = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1800, 70);
            Q2 = new Spell.Active(SpellSlot.Q, 1400); // 1400
            W  = new Spell.Targeted(SpellSlot.W, 700);
            E  = new Spell.Active(SpellSlot.E, 430);  //430
            E2 = new Spell.Active(SpellSlot.E, 600);  // 600
            R  = new Spell.Targeted(SpellSlot.R, 375);
            R2 = new Spell.Targeted(SpellSlot.R, 800);

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnAttack;
            InsecManager.Init();
            StateManager.Init();
            WardJumper.Init();
            Smiter.Init();
            Game.OnTick += Game_OnTick;

            Chat.Print("Script yüklendi gene iyisin :).", System.Drawing.Color.BlueViolet);
        }
예제 #3
0
파일: Program.cs 프로젝트: tekintr/Elobuddy
        private static void Load_OnLoad(EventArgs a)
        {
            if (Player.Instance.Hero != Champion.LeeSin)
            {
                return;
            }

            menu = MainMenu.AddMenu("Fluxy's LeeSinBuddy", "LeeSinBuddyMenu");
            menu.AddGroupLabel("Fluxy's LeeSinBuddy");
            menu.AddSeparator();
            menu.AddLabel("Yapimci By Fluxy");
            menu.AddLabel("Turkce Ceviri TekinTR");
            menu.AddLabel("Iyi oyunlar :P");

            DrawingMenu = menu.AddSubMenu("Cizim Ayarlari", "menuleesin");
            DrawingMenu.Add("drawQ1", new CheckBox("Goster Q1", false));
            DrawingMenu.Add("drawQ2", new CheckBox("Goster Q2", false));
            DrawingMenu.Add("drawW1", new CheckBox("Goster W1", false));
            DrawingMenu.Add("drawE1", new CheckBox("Goster E1", false));
            DrawingMenu.Add("drawE2", new CheckBox("Goster E2", false));
            DrawingMenu.Add("drawR", new CheckBox("Goster R", false));

            Q  = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1800, 70);
            Q2 = new Spell.Active(SpellSlot.Q, 1400); // 1400
            W  = new Spell.Targeted(SpellSlot.W, 700);
            E  = new Spell.Active(SpellSlot.E, 430);  //430
            E2 = new Spell.Active(SpellSlot.E, 600);  // 600
            R  = new Spell.Targeted(SpellSlot.R, 375);
            R2 = new Spell.Targeted(SpellSlot.R, 800);

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnAttack;
            InsecManager.Init();
            StateManager.Init();
            WardJumper.Init();
            Smiter.Init();
            Game.OnTick += Game_OnTick;

            Chat.Print("Fluxy's Lee Sin Buddy Yuklendi Ceviri TekinTR.", System.Drawing.Color.BlueViolet);
        }
예제 #4
0
        private static void Load_OnLoad(EventArgs a)
        {
            if (Player.Instance.Hero != Champion.LeeSin)
            {
                return;
            }

            menu = MainMenu.AddMenu("LeeSin - Lolscripts.net", "LeeSin - Lolscripts.net");
            menu.AddGroupLabel("LeeSin - Lolscripts.net");
            menu.AddSeparator();
            menu.AddLabel("Lolscripts.net");
            menu.AddLabel("Lolscripts.net");
            menu.AddLabel("Lolscripts.net");

            DrawingMenu = menu.AddSubMenu("Circulos Config", "Menu");
            DrawingMenu.Add("drawQ1", new CheckBox("Circulo Q1", false));
            DrawingMenu.Add("drawQ2", new CheckBox("Circulo Q2", false));
            DrawingMenu.Add("drawW1", new CheckBox("Circulo W1", false));
            DrawingMenu.Add("drawE1", new CheckBox("Circulo E1", false));
            DrawingMenu.Add("drawE2", new CheckBox("Circulo E2", false));
            DrawingMenu.Add("drawR", new CheckBox("Circulo R", false));

            Q  = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1800, 70);
            Q2 = new Spell.Active(SpellSlot.Q, 1400); // 1400
            W  = new Spell.Targeted(SpellSlot.W, 700);
            E  = new Spell.Active(SpellSlot.E, 430);  //430
            E2 = new Spell.Active(SpellSlot.E, 600);  // 600
            R  = new Spell.Targeted(SpellSlot.R, 375);
            R2 = new Spell.Targeted(SpellSlot.R, 800);

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnAttack;
            InsecManager.Init();
            StateManager.Init();
            WardJumper.Init();
            Smiter.Init();
            Game.OnTick += Game_OnTick;

            Chat.Print("Lee Sin - Lolscripts.net cargado.", System.Drawing.Color.BlueViolet);
        }
예제 #5
0
        private static void Load_OnLoad(EventArgs a)
        {
            if (Player.Instance.Hero != Champion.LeeSin)
            {
                return;
            }

            menu = MainMenu.AddMenu("Fluxy's LeeSinBuddy", "LeeSinBuddyMenu");
            menu.AddGroupLabel("Fluxy's LeeSinBuddy");
            menu.AddSeparator();
            menu.AddLabel("Made By Fluxy");
            menu.AddLabel("fleshlit by finn");
            menu.AddLabel("no jquery here :P");

            DrawingMenu = menu.AddSubMenu("Drawing Settings", "menuleesin");
            DrawingMenu.Add("drawQ1", new CheckBox("Draw Q1", false));
            DrawingMenu.Add("drawQ2", new CheckBox("Draw Q2", false));
            DrawingMenu.Add("drawW1", new CheckBox("Draw W1", false));
            DrawingMenu.Add("drawE1", new CheckBox("Draw E1", false));
            DrawingMenu.Add("drawE2", new CheckBox("Draw E2", false));
            DrawingMenu.Add("drawR", new CheckBox("Draw R", false));

            Q  = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, 250, 1800, 70);
            Q2 = new Spell.Active(SpellSlot.Q, 1400); // 1400
            W  = new Spell.Targeted(SpellSlot.W, 700);
            E  = new Spell.Active(SpellSlot.E, 430);  //430
            E2 = new Spell.Active(SpellSlot.E, 600);  // 600
            R  = new Spell.Targeted(SpellSlot.R, 375);
            R2 = new Spell.Targeted(SpellSlot.R, 800);

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += Orbwalker_OnAttack;
            InsecManager.Init();
            StateManager.Init();
            WardJumper.Init();
            Smiter.Init();
            Game.OnTick += Game_OnTick;

            Chat.Print("Fluxy's Lee Sin Buddy Loaded.", System.Drawing.Color.BlueViolet);
        }
예제 #6
0
        public static void Insec()
        {
            var target = EnemyTarget;

            Orbwalker.OrbwalkTo(InsecMenu["insecPositionMode"].Cast <Slider>().CurrentValue == 1 && target != null || GetBestInsecPos() == Game.CursorPos && target != null ? target.Position : Game.CursorPos);


            if (target == null || !target.IsValidTarget())
            {
                return;
            }
            var allyPos = GetBestInsecPos();

            if (InsecPos == new Vector3())
            {
                var insecPos = allyPos.Extend(target.Position, target.Distance(allyPos) + InsecMenu["insecDistance"].Cast <Slider>().CurrentValue).To3D();
                InsecPos   = insecPos;
                LastUpdate = Environment.TickCount;
            }
            if (!Program.R.IsReady())
            {
                StateManager.Combo();
                return;
            }

            if (_Player.Distance(InsecPos) < 200)
            {
                Program.R.Cast(target);
                return;
            }
            if (_Player.Distance(InsecPos) < 600)
            {
                if (WardJumper.GetWardSlot() == null && InsecPos.Distance(_Player.Position) < 400 &&
                    WardJumper.LastWard + 1000 < Environment.TickCount)
                {
                    var spell =
                        _Player.Spellbook.Spells.FirstOrDefault(a => a.Name.ToLower().Contains("summonerflash"));
                    if (InsecMenu["useFlash"].Cast <CheckBox>().CurrentValue&& spell != null && spell.IsReady)
                    {
                        _Player.Spellbook.CastSpell(spell.Slot, InsecPos);
                        return;
                    }
                }
                WardJumper.WardJump(InsecPos, false, true);
            }
            if (Program.Q.Instance().Name == Program.Spells["Q2"] && Extended.BuffedEnemy != null &&
                (Extended.BuffedEnemy.Distance(_Player) < 1400 && Program.Q.IsReady() &&
                 (target.HasQBuff() || Extended.BuffedEnemy.Distance(InsecPos) < 600)))
            {
                Program.Q2.Cast();
            }
            if (Program.Q.Instance().Name == Program.Spells["Q1"] && Program.Q.IsReady() && target.Distance(_Player) < Program.Q.Range)
            {
                if (!SpellClass.SmiteQCast(target) && InsecMenu["checkAllUnits"].Cast <CheckBox>().CurrentValue)
                {
                    foreach (
                        var unit in
                        EntityManager.MinionsAndMonsters.EnemyMinions.Where(
                            a => a.Distance(_Player) < Program.Q.Range && a.Distance(InsecPos) < 550)
                        )
                    {
                        var pred = Program.Q.GetPrediction(unit);
                        if (pred.HitChance > HitChance.Medium)
                        {
                            continue;
                        }
                        Program.Q.Cast(pred.CastPosition);
                        break;
                    }
                }
            }
        }