示例#1
0
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical);
                AIO_Func.CCast(E, Etarget);
            }
        }
示例#2
0
        static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (Orbwalking.CanMove(10))
            {
                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    Orbwalker.SetAttack(true);
                    Combo();
                    break;

                case Orbwalking.OrbwalkingMode.Mixed:
                    Orbwalker.SetAttack(true);
                    Harass();
                    break;

                case Orbwalking.OrbwalkingMode.LastHit:
                    Orbwalker.SetAttack(AIO_Func.getManaPercent(Player) <= AIO_Menu.Champion.Lasthit.IfMana || !AIO_Menu.Champion.Lasthit.UseQ || !Q.IsReady());
                    Lasthit();
                    break;

                case Orbwalking.OrbwalkingMode.LaneClear:
                    Orbwalker.SetAttack(true);
                    Laneclear();
                    Jungleclear();
                    break;

                case Orbwalking.OrbwalkingMode.None:
                    Orbwalker.SetAttack(true);
                    break;
                }
            }

            if (AIO_Menu.Champion.Misc.getBoolValue("KillstealQ"))
            {
                KillstealQ();
            }
            if (AIO_Menu.Champion.Misc.getBoolValue("KillstealR"))
            {
                KillstealR();
            }
            if (AIO_Menu.Champion.Misc.getBoolValue("W on stuned target"))
            {
                stw();
            }
        }
示例#3
0
        static void Lasthit()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Lasthit.IfMana))
            {
                return;
            }

            var Minions = MinionManager.GetMinions(1000, MinionTypes.All, MinionTeam.Enemy);

            if (Minions.Count <= 0)
            {
                return;
            }
        }
示例#4
0
 static void Harass()
 {
     if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
     {
         return;
     }
     if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
     {
         var Qtarget = TargetSelector.GetTarget(Q.Range, Q.DamageType);
         if (Qtarget.Distance(Player.ServerPosition) > Orbwalking.GetRealAutoAttackRange(Player))
         {
             Q.Cast(Qtarget);
         }
     }
 }
示例#5
0
文件: Graves.cs 项目: werdbrian/LS
        static void Harass()
        {
           
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
                return;

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                var qTarget = TargetSelector.GetTarget(Q.Range, Q.DamageType, true);


                if (qTarget != null && !Player.IsDashing())
                    Q.Cast(qTarget);       
            }
        }
示例#6
0
文件: Amumu.cs 项目: werdbrian/LS
        static void Jungleclear()
        {
            var Mobs = MinionManager.GetMinions(1000, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);

            if (W.IsReady() && !Mobs.Any(x => x.IsValidTarget(W.Range)) && W.Instance.ToggleState == 2)
            {
                W.Cast();
            }

            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Jungleclear.IfMana))
            {
                if (W.IsReady() && W.Instance.ToggleState == 2)
                {
                    W.Cast();
                }

                return;
            }

            if (Mobs.Count <= 0)
            {
                return;
            }

            if (AIO_Menu.Champion.Jungleclear.UseQ && Q.IsReady())
            {
                if (Q.CanCast(Mobs[0]))
                {
                    Q.Cast(Mobs[0]);
                }
            }

            if (AIO_Menu.Champion.Jungleclear.UseW && W.IsReady())
            {
                if (Mobs.Any(x => x.IsValidTarget(W.Range)) && W.Instance.ToggleState == 1)
                {
                    W.Cast();
                }
            }

            if (AIO_Menu.Champion.Jungleclear.UseE && E.IsReady())
            {
                if (Mobs.Any(x => x.IsValidTarget(E.Range)))
                {
                    E.Cast();
                }
            }
        }
示例#7
0
文件: Jinx.cs 项目: werdbrian/LS
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                if (AIO_Menu.Champion.Harass.UseQ)
                    QSwitch(false);

                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
                QSwitchForUnit(TargetSelector.GetTarget(GetQActiveRange + 30, TargetSelector.DamageType.Physical, true));

            if (AIO_Menu.Champion.Harass.UseW && W.IsReady())
                W.CastOnBestTarget();
        }
示例#8
0
        static void Obj_AI_Hero_OnProcessSpellCast(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args)
        {
            var Mobs = MinionManager.GetMinions(Q.Range, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);

            if ((Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LaneClear && Mobs.Count >= 1 &&
                 (!AIO_Menu.Champion.Jungleclear.UseW || !(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Jungleclear.IfMana))) ||
                Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo && !AIO_Menu.Champion.Combo.UseW || !AIO_Menu.Champion.Harass.UseW ||
                Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed && !(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }
            if (IsOnHit(args.SData.Name) && (args.Target.IsMe || !sender.IsAlly) && W.IsReady() && Player.Distance(args.End) < 110)
            {
                W.Cast();
            }
        }
示例#9
0
        static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            R.Range = 150 * R.Level + 400;

            if (Orbwalking.CanMove(10))
            {
                AIO_Func.SC(E);

                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    Orbwalker.SetAttack(true);
                    Combo();
                    break;

                case Orbwalking.OrbwalkingMode.Mixed:
                    Orbwalker.SetAttack(true);
                    Harass();
                    break;

                case Orbwalking.OrbwalkingMode.LastHit:
                    Orbwalker.SetAttack(AIO_Func.getManaPercent(Player) <= AIO_Menu.Champion.Lasthit.IfMana || !AIO_Menu.Champion.Lasthit.UseQ || !Q.IsReady());
                    Lasthit();
                    break;

                case Orbwalking.OrbwalkingMode.LaneClear:
                    Orbwalker.SetAttack(true);
                    Laneclear();
                    Jungleclear();
                    break;

                case Orbwalking.OrbwalkingMode.None:
                    Orbwalker.SetAttack(true);
                    break;
                }
            }

            if (AIO_Menu.Champion.Misc.UseKillsteal)
            {
                Killsteal();
            }
        }
示例#10
0
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                Q.CastOnBestTarget(0f, false, true);
            }

            if (AIO_Menu.Champion.Harass.UseW && W.IsReady())
            {
                W.CastOnBestTarget(0f, false, true);
            }
        }
示例#11
0
文件: Annie.cs 项目: werdbrian/LS
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > Menu.Item("HrsMana", true).GetValue <Slider>().Value))
            {
                return;
            }

            if (Menu.Item("HrsUseQ", true).GetValue <bool>() && Q.IsReady())
            {
                Q.CastOnBestTarget();
            }

            if (Menu.Item("HrsUseW", true).GetValue <bool>() && W.IsReady())
            {
                W.CastOnBestTarget(0f, false, true);
            }
        }
示例#12
0
文件: Evelynn.cs 项目: werdbrian/LS
        static void Jungleclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Jungleclear.IfMana))
            {
                return;
            }

            var Mobs = MinionManager.GetMinions(500f, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);

            if (Mobs.Count > 0)
            {
                if (AIO_Menu.Champion.Jungleclear.UseQ && Q.IsReady())
                {
                    Q.Cast();
                }
            }
        }
示例#13
0
文件: Evelynn.cs 项目: werdbrian/LS
        static void Laneclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Laneclear.IfMana))
            {
                return;
            }

            var Minions = MinionManager.GetMinions(500f, MinionTypes.All, MinionTeam.Enemy);

            if (Minions.Count > 0)
            {
                if (AIO_Menu.Champion.Laneclear.UseQ && Q.IsReady())
                {
                    Q.Cast();
                }
            }
        }
示例#14
0
文件: Gangplank.cs 项目: werdbrian/LS
        static void AAJungleclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Jungleclear.IfMana))
            {
                return;
            }

            var Mobs = MinionManager.GetMinions(E.Range, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);

            if (Mobs.Count <= 0)
            {
                return;
            }

            //if (AIO_Menu.Champion.Jungleclear.UseQ && Q.IsReady() && utility.Activator.AfterAttack.ALLCancelItemsAreCasted)
            //    Q.Cast(Mobs[0]);
        }
示例#15
0
文件: Gangplank.cs 项目: werdbrian/LS
        static void AALaneclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Laneclear.IfMana))
            {
                return;
            }

            var Minions = MinionManager.GetMinions(E.Range, MinionTypes.All, MinionTeam.Enemy);

            if (Minions.Count <= 0)
            {
                return;
            }

            //if (AIO_Menu.Champion.Laneclear.UseQ && Q.IsReady() && utility.Activator.AfterAttack.ALLCancelItemsAreCasted)
            //    Q.Cast(Minions[0]);
        }
示例#16
0
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                var qTarget = TargetSelector.GetTarget(Q.Range, Q.DamageType, true);

                if (qTarget != null && Q.GetPrediction(qTarget).Hitchance >= HitChance.VeryHigh)
                {
                    Q.Cast(qTarget);
                }
            }
        }
示例#17
0
文件: Kalista.cs 项目: werdbrian/LS
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > Menu.Item("HrsMana", true).GetValue <Slider>().Value))
            {
                return;
            }

            if (Menu.Item("harassUseQ", true).GetValue <bool>())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Physical, true);

                if (Q.CanCast(Qtarget) && Q.GetPrediction(Qtarget).Hitchance >= HitChance.VeryHigh && !Player.IsWindingUp && !Player.IsDashing())
                {
                    Q.Cast(Qtarget);
                }
            }
        }
示例#18
0
文件: Lulu.cs 项目: werdbrian/LS
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                Q.CastOnBestTarget();
            }

            if (AIO_Menu.Champion.Harass.UseE && E.IsReady())
            {
                E.CastOnBestTarget();
            }
        }
示例#19
0
文件: Talon.cs 项目: werdbrian/LS
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseW && W.IsReady())
            {
                var wTarget = TargetSelector.GetTarget(W.Range, W.DamageType, true);


                if (wTarget != null && !Player.IsDashing())
                {
                    W.Cast(wTarget);
                }
            }
        }
示例#20
0
文件: Darius.cs 项目: werdbrian/LS
        static void Laneclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Laneclear.IfMana))
            {
                return;
            }

            var Minions = MinionManager.GetMinions(Q.Range, MinionTypes.All, MinionTeam.Enemy);

            if (Minions.Count <= 0)
            {
                return;
            }
            if (AIO_Menu.Champion.Laneclear.UseQ && Q.IsReady())
            {
                AIO_Func.LH(Q, 0);
            }
        }
示例#21
0
文件: Trundle.cs 项目: werdbrian/LS
        static void Jungleclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Jungleclear.IfMana))
            {
                return;
            }

            var Mobs = MinionManager.GetMinions(Q.Range, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);

            if (Mobs.Count <= 0)
            {
                return;
            }
            if (AIO_Menu.Champion.Jungleclear.UseW && W.IsReady())
            {
                W.Cast(Mobs[0].Position);
            }
        }
示例#22
0
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Magical);
                AIO_Func.LCast(Q, Qtarget, Menu.Item("Misc.Qtg").GetValue <Slider>().Value, 0);
            }

            if (AIO_Menu.Champion.Harass.UseW && W.IsReady())
            {
                T(W);
            }
        }
示例#23
0
文件: Diana.cs 项目: werdbrian/LS
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseR && R.IsReady())
            {
                foreach (var Enemy in HeroManager.Enemies.Where(x => x.Distance(Player.ServerPosition) <= R.Range && x.HasBuff("dianamoonlight")).OrderByDescending(x => x.Health))
                {
                    if (R.IsReady() && Enemy != null)
                    {
                        R.Cast(Enemy);
                    }
                }
            }
        }
示例#24
0
        static void Jungleclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > Menu.Item("JcMana", true).GetValue <Slider>().Value))
            {
                return;
            }

            var Mobs = MinionManager.GetMinions(1000, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);

            if (Mobs.Count <= 0)
            {
                return;
            }

            if (Menu.Item("JcUseQ", true).GetValue <bool>() && Q.IsReady())
            {
            }
        }
示例#25
0
        static void Laneclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > Menu.Item("LcMana", true).GetValue <Slider>().Value))
            {
                return;
            }

            var Minions = MinionManager.GetMinions(1000, MinionTypes.All, MinionTeam.Enemy);

            if (Minions.Count <= 0)
            {
                return;
            }

            if (Menu.Item("LcUseQ", true).GetValue <bool>() && Q.IsReady())
            {
            }
        }
示例#26
0
        static void Laneclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Laneclear.IfMana))
            {
                return;
            }

            var Minions = MinionManager.GetMinions(1000, MinionTypes.All, MinionTeam.Enemy);

            if (Minions.Count <= 0)
            {
                return;
            }

            if (AIO_Menu.Champion.Laneclear.UseQ && Q.IsReady())
            {
                var qloc = Q.GetCircularFarmLocation(Minions.Where(x => x.IsValidTarget(Q.Range)).ToList());

                if (qloc.MinionsHit >= 1)
                {
                    Q.Cast(qloc.Position);
                }
            }

            if (AIO_Menu.Champion.Laneclear.UseW && W.IsReady())
            {
                var wloc = W.GetCircularFarmLocation(Minions.Where(x => x.IsValidTarget(Q.Range)).ToList());

                if (wloc.MinionsHit >= 1)
                {
                    W.Cast(wloc.Position);
                }
            }

            if (AIO_Menu.Champion.Laneclear.UseE && E.IsReady())
            {
                var eTarget = Minions.FirstOrDefault(m => AIO_Func.isKillable(m, E, 0) && HealthPrediction.GetHealthPrediction(m, (int)(Player.Distance(m, false) / E.Speed), (int)(E.Delay * 1000 + Game.Ping / 2)) > 0 && IsPoisoned(m));

                if (eTarget != null)
                {
                    E.CastOnUnit(eTarget);
                }
            }
        }
示例#27
0
文件: Karthus.cs 项目: werdbrian/LS
        static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            Q.MinHitChance = AIO_Menu.Champion.Misc.SelectedHitchance;

            if (Orbwalking.CanMove(10))
            {
                switch (Orbwalker.ActiveMode)
                {
                case Orbwalking.OrbwalkingMode.Combo:
                    Orbwalker.SetAttack(false);
                    Combo();
                    break;

                case Orbwalking.OrbwalkingMode.Mixed:
                    Orbwalker.SetAttack(true);
                    Harass();
                    break;

                case Orbwalking.OrbwalkingMode.LastHit:
                    Orbwalker.SetAttack(AIO_Func.getManaPercent(Player) <= AIO_Menu.Champion.Lasthit.IfMana || !AIO_Menu.Champion.Lasthit.UseQ || !Q.IsReady());
                    Lasthit();
                    break;

                case Orbwalking.OrbwalkingMode.LaneClear:
                    Orbwalker.SetAttack(true);
                    Laneclear();
                    Jungleclear();
                    break;

                case Orbwalking.OrbwalkingMode.None:
                    Orbwalker.SetAttack(true);
                    if (E.IsReady() && E.Instance.ToggleState == 2 && !HeroManager.Enemies.Any(x => x.IsValidTarget(E.Range)) && !MinionManager.GetMinions(E.Range, MinionTypes.All, MinionTeam.NotAlly).Any())
                    {
                        E.Cast();
                    }
                    break;
                }
            }
        }
示例#28
0
        static void Jungleclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Jungleclear.IfMana))
            {
                return;
            }

            var Mobs = MinionManager.GetMinions(1000, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);

            if (Mobs.Count <= 0)
            {
                return;
            }

            if (AIO_Menu.Champion.Jungleclear.UseE && E.IsReady() && Mobs.Any(x => x.IsValidTarget(E.Range)))
            {
                AIO_Func.CCast(E, Mobs[0]);
            }
        }
示例#29
0
文件: MasterYi.cs 项目: werdbrian/LS
        static void Laneclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Laneclear.IfMana))
            {
                return;
            }

            var Minions = MinionManager.GetMinions(Q.Range, MinionTypes.All, MinionTeam.Enemy);

            if (Minions.Count <= 0)
            {
                return;
            }

            if (AIO_Menu.Champion.Laneclear.UseQ && Q.IsReady() && !Player.IsWindingUp)
            {
                Q.Cast(Minions.FirstOrDefault());
            }
        }
示例#30
0
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }
            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                Q.CastOnBestTarget();
            }

            if (AIO_Menu.Champion.Harass.UseW && W.IsReady())
            {
                if (HeroManager.Enemies.Any(x => x.IsValidTarget(W.Range)))
                {
                    W.Cast();
                }
            }
        }