Exemplo n.º 1
0
        private static void CastW()
        {
            if (!W.IsReady())
            {
                return;
            }

            var target = TargetSelector.GetAATarget();

            if (target != null)
            {
                W.Cast();
            }

            if (Orbwalker.CurrentMode != Orbwalker.Mode.LaneClear)
            {
                return;
            }
            var allMinion = MinionManager.GetMinions(ObjectManager.Player.Position,
                                                     Orbwalker.GetAutoAttackRangeto(), MinionTypes.All, MinionTeam.NotAlly);

            if (!allMinion.Any(minion => minion.IsValidTarget(Orbwalker.GetAutoAttackRangeto(minion))))
            {
                return;
            }
            W.Cast();
        }
Exemplo n.º 2
0
        private void CastQ()
        {
            if (!Q.IsReady())
            {
                return;
            }
            if (GetQStacks() > 0 || AxeList.Count > 2)
            {
                return;
            }
            var target = TargetSelector.GetAATarget();

            if (target != null)
            {
                Q.Cast();
            }

            if (Orbwalker.CurrentMode != Orbwalker.Mode.LaneClear)
            {
                return;
            }
            var allMinion = MinionManager.GetMinions(ObjectManager.Player.Position,
                                                     Orbwalker.GetAutoAttackRangeto(), MinionTypes.All, MinionTeam.NotAlly);

            if (!allMinion.Any(minion => minion.IsValidTarget(Orbwalker.GetAutoAttackRangeto(minion))))
            {
                return;
            }
            Q.Cast();
        }