예제 #1
0
        private static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }
            prediction = config.Item("main.settings.pred").GetValue <StringList>().SelectedValue;
            if (GetBool("main.settings.w.enabled") && !Player.IsRecalling())
            {
                Casts.W();
            }
            if (GetBool("main.settings.ignite"))
            {
                Casts.Ignite();
            }

            switch (orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.LastHit:
            case Orbwalking.OrbwalkingMode.LaneClear:
                Clear();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                Harass();
                break;

            case Orbwalking.OrbwalkingMode.Combo:
                Combo();
                break;
            }
        }
예제 #2
0
        private static void Game_OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }
            if (GetBool("main.settings.r"))
            {
                Casts.R();
            }
            if (GetBool("main.settings.ignite"))
            {
                Casts.Ignite();
            }
            if (ManalimiterCheck("main.settings.w.wm") && GetBool("main.settings.w.enabled"))
            {
                Casts.W();
            }
            targetedBarrelQ = null;
            targetedBarrelQ = Math.ClosestBarrelWherePosInExplosionRange(Player.ServerPosition.To2D());
            if (GetBool("main.settings.aqe"))
            {
                Casts.AQE();
            }

            switch (orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Combo();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                Harass();
                break;

            case Orbwalking.OrbwalkingMode.LaneClear:
            case Orbwalking.OrbwalkingMode.LastHit:
                Clear();
                break;
            }
        }
예제 #3
0
        private static void Game_OnUpdate(EventArgs args)
        {
            if (Player.HasBuff("GarenE"))
            {
                Orbwalking.MoveTo(Game.CursorPos);
            }

            if (GetBool("main.settings.ignite"))
            {
                Casts.Ignite();
            }
            if (GetBool("main.settings.ks"))
            {
                Casts.R();
            }

            switch (orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Combo();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                Harass();
                break;

            case Orbwalking.OrbwalkingMode.LastHit:
            case Orbwalking.OrbwalkingMode.LaneClear:
                Clear();
                break;
            }

            if (config.Item("main.settings.flee").GetValue <KeyBind>().Active)
            {
                Orbwalking.MoveTo(Game.CursorPos);
                if (q.IsReady())
                {
                    q.Cast();
                }
            }
        }