Beispiel #1
0
        static void Jungleclear()
        {
            var Mobs = MinionManager.GetMinions(Player.ServerPosition, GetQActiveRange, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);

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

            if (!(Player.ManaPercent > AIO_Menu.Champion.Jungleclear.IfMana))
            {
                if (AIO_Menu.Champion.Jungleclear.UseQ)
                {
                    QSwitch(false);
                }

                return;
            }

            if (AIO_Menu.Champion.Jungleclear.UseQ && Q.IsReady())
            {
                var target = Orbwalker.GetTarget();

                if (target != null)
                {
                    QSwitch((AIO_Func.CountEnemyMinionsInRange(target.Position, 200) >= 2));
                }
            }

            if (W.CanCast(Mobs[0]) && AIO_Menu.Champion.Jungleclear.UseW)
            {
                W.Cast(Mobs[0]);
            }
        }
Beispiel #2
0
        static void Laneclear()
        {
            var Minions = MinionManager.GetMinions(Player.ServerPosition, GetQActiveRange, MinionTypes.All, MinionTeam.Enemy);

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

            if (!(Player.ManaPercent > AIO_Menu.Champion.Laneclear.IfMana))
            {
                if (AIO_Menu.Champion.Laneclear.UseQ)
                {
                    QSwitch(false);
                }

                return;
            }

            if (AIO_Menu.Champion.Laneclear.UseQ)
            {
                var target = Orbwalker.GetTarget();

                if (target != null)
                {
                    QSwitch((AIO_Func.CountEnemyMinionsInRange(target.Position, 200) >= AIO_Menu.Champion.Laneclear.getSliderValue("Switch to FISHBONES If Hit Minion Number >=").Value));
                }
            }
        }