Example #1
0
        private static void OnGameUpdate(EventArgs args)
        {
            Killsteal.CastQ();
            Killsteal.CastR();
            if (R.IsReady())
            {
                if (mainMenu["Automatic"].GetValue <MenuSliderButton>("safe").Enabled)
                {
                    if (GameObjects.Player.CountEnemyHeroesInRange(
                            mainMenu["Automatic"].GetValue <MenuSliderButton>("safe").Value) == 0)
                    {
                        Automatic.OnImmobile();
                    }
                }
                else
                {
                    Automatic.OnImmobile();
                }

                Combo.SemiR();
            }

            if (Q.IsReady())
            {
                Automatic.CastQ();
            }
            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (mainMenu["Combo"].GetValue <MenuSliderButton>("priority").Enabled&&
                    GameObjects.Player.ManaPercent <=
                    mainMenu["Combo"].GetValue <MenuSliderButton>("priority").Value)
                {
                    Combo.CastW();
                    Combo.CastQ();
                }
                else
                {
                    Combo.CastW();
                    Combo.CastQ();
                }
                break;

            case OrbwalkerMode.Harass:
                Harass.CastW();
                Harass.CastQ();
                break;

            case OrbwalkerMode.LaneClear:
                LaneClear.CastQ();
                JungleClear.CastW();
                JungleClear.CastQ();
                Structureclear.CastW();
                break;

            case OrbwalkerMode.LastHit:
                Lasthit.CastQ();
                break;
            }
        }
Example #2
0
        private static void OnAfterAttack(object sender, AfterAttackEventArgs args)
        {
            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (Q.IsReady())
                {
                    Extra.CastQ(args);
                }
                break;

            case OrbwalkerMode.Harass:
                if (Q.IsReady())
                {
                    Harass.CastQ(args);
                }
                break;

            case OrbwalkerMode.LaneClear:
                var target = args.Target as AIMinionClient;
                if (Q.IsReady())
                {
                    Structureclear.CastQ(args);
                    if (target.IsJungle())
                    {
                        Jungleclear.CastQ(args);
                    }

                    if (target.IsMinion())
                    {
                        Laneclear.CastQ(args);
                        return;
                    }
                }

                if (E.IsReady())
                {
                    if (target.IsJungle())
                    {
                        Jungleclear.CastE(args);
                    }
                }
                break;

            case OrbwalkerMode.LastHit:
                if (Q.IsReady())
                {
                    Lasthit.CastQ(args);
                }
                break;
            }
        }
Example #3
0
        private static void OnGameUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (E.IsReady())
            {
                Automatic.CastE();
            }

            Killsteal.Cast();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (Q.IsReady() && Extension.IsReloading())
                {
                    Combo.CastQ();
                }

                if (W.IsReady())
                {
                    Combo.CastW();
                }

                if (R.IsReady() && Extension.IsUltShooting())
                {
                    Combo.CastR();
                }
                break;

            case OrbwalkerMode.Harass:
                if (Q.IsReady())
                {
                    Harass.CastQ();
                }
                break;

            case OrbwalkerMode.LaneClear:
                if (Q.IsReady())
                {
                    Laneclear.CastQ();
                }

                if (W.IsReady())
                {
                    Laneclear.CastW();
                }

                if (E.IsReady())
                {
                    Laneclear.CastE();
                }
                break;

            case OrbwalkerMode.LastHit:
                if (Q.IsReady())
                {
                    Lasthit.CastQ();
                }
                break;
            }
        }
Example #4
0
        private static void OnGameTick(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (W.IsReady())
            {
                Automatic.WOnImmobile();
                Killsteal.CastW();
            }

            if (E.IsReady())
            {
                Automatic.EOnImmobile();
            }

            if (R.IsReady())
            {
                Killsteal.CastR();
                Combo.SemiCastR();
            }

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (Q.IsReady())
                {
                    Combo.CastQ();
                }

                if (W.IsReady())
                {
                    Combo.CastW();
                }

                if (E.IsReady())
                {
                    Combo.CastE();
                }
                break;

            case OrbwalkerMode.Harass:
                if (Q.IsReady())
                {
                    Harass.CastQ();
                }

                if (W.IsReady())
                {
                    Harass.CastW();
                }
                break;

            case OrbwalkerMode.LaneClear:
                if (Q.IsReady())
                {
                    Laneclear.CastQ();
                    Jungleclear.CastQ();
                }

                if (W.IsReady())
                {
                    Jungleclear.CastW();
                }
                break;

            case OrbwalkerMode.LastHit:
                if (Q.IsReady())
                {
                    Lasthit.CastQ();
                }
                break;
            }
        }