Ejemplo n.º 1
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (R.GetBasicSpell().Level > 0)
            {
                R.Range = rRange;
            }

            if (MiscOption.GetKey("R", "SemiR").Enabled)
            {
                SemiRLogic();
            }

            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                FarmHarass();
            }
        }
Ejemplo n.º 2
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (Me.HasBuff("VarusQLaunch") || Me.HasBuff("VarusQ"))
            {
                Me.IssueOrder(OrderType.MoveTo, Game.CursorPos);
            }

            if (MiscOption.GetKey("R", "SemiR").Enabled)
            {
                SemiRLogic();
            }

            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                FarmHarass();
            }
        }
Ejemplo n.º 3
0
        private static void OnWndProc(WndEventArgs Args)
        {
            if (MiscOption.GetBool("EnableControl"))
            {
                if (MiscOption.GetKey("ControlKey"))
                {
                    if (Utils.TickCount - lastCastTime > 1800)
                    {
                        lastCastTime = Utils.TickCount;
                    }
                }

                if (MiscOption.GetBool("ControlKey2") && (Args.Msg == 516 || Args.Msg == 517))
                {
                    if (Utils.TickCount - lastCastTime > 1800)
                    {
                        lastCastTime = Utils.TickCount;
                    }
                }

                if (MiscOption.GetBool("ControlKey3") && Args.Msg == 0x20a)
                {
                    if (Utils.TickCount - lastCastTime > 1800)
                    {
                        lastCastTime = Utils.TickCount;
                    }
                }
            }
        }
Ejemplo n.º 4
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (R.GetBasicSpell().Level > 0)
            {
                R.Range = Me.HasBuff("CorkiMissileBarrageCounterBig") ? 1500f : 1300f;
            }

            if (MiscOption.GetKey("SemiR").Enabled)
            {
                SemiRLogic();
            }

            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                FarmHarass();
            }
        }
Ejemplo n.º 5
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (MiscOption.GetKey("R", "SemiR").Enabled)
            {
                OneKeyR();
            }

            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                FarmHarass();
            }
        }
Ejemplo n.º 6
0
        private static void AutoUseEvent()
        {
            if (MiscOption.GetKey("R", "SemiRKey").Active)
            {
                Me.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos);

                if (Me.Spellbook.GetSpell(SpellSlot.R).Level > 0 && R.IsReady())
                {
                    var target = MyTargetSelector.GetTarget(R.Range);
                    if (target.IsValidTarget(R.Range) && !target.IsValidTarget(MiscOption.GetSlider("R", "GlobalRMin").Value))
                    {
                        var rPred = R.GetPrediction(target);

                        if (rPred.Hitchance >= HitChance.High)
                        {
                            R.Cast(rPred.CastPosition);
                        }
                    }
                }
            }

            if (MiscOption.GetBool("W", "WSlow").Enabled&& W.IsReady() && Me.HasBuffOfType(BuffType.Slow))
            {
                W.Cast();
            }
        }
Ejemplo n.º 7
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                havePassive = false;
                return;
            }

            if (Utils.TickCount - lastCastTime >= 3100)
            {
                havePassive = false;
            }

            if (isFleeMode && FleeOption.DisableMove)
            {
                Orbwalker.Move = false;
                return;
            }

            Orbwalker.Move = true;

            if (Me.HasBuff("LucianR"))
            {
                Me.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPosition);
                return;
            }

            if (Me.IsDashing())
            {
                return;
            }

            if (R.Level > 0 && R.IsReady() && Me.Mana > R.ManaCost + Q.ManaCost + W.ManaCost + E.ManaCost &&
                MiscOption.GetKey("SemiR"))
            {
                SemiRLogic();
            }

            KillSteal();

            if (isComboMode)
            {
                Combo();
            }

            if (isHarassMode)
            {
                Harass();
            }

            if (isFarmMode)
            {
                FarmHarass();

                if (isLaneClearMode)
                {
                    LaneClear();
                }
            }
        }
Ejemplo n.º 8
0
        private static void OnUpdate(EventArgs args)
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (Me.IsWindingUp)
            {
                return;
            }

            if (MiscOption.GetKey("R", "SemiR").Active)
            {
                OneKeyR();
            }

            KillSteal();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo();
                break;

            case OrbwalkerMode.Harass:
                Harass();
                break;

            case OrbwalkerMode.LaneClear:
                FarmHarass();
                break;
            }
        }
Ejemplo n.º 9
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (R.Level > 0)
            {
                R.Range = MiscOption.GetSlider("RMaxRange");
            }

            if (isFleeMode && FleeOption.DisableMove)
            {
                Orbwalker.Move = false;
                return;
            }

            Orbwalker.Move = true;

            if (MiscOption.GetKey("SemiR") && R.IsReady())
            {
                OneKeyCastR();
            }

            KillSteal();
            AutoRLogic();

            if (isComboMode)
            {
                Combo();
            }

            if (isHarassMode)
            {
                Harass();
            }

            if (isFarmMode)
            {
                FarmHarass();

                if (isLaneClearMode)
                {
                    LaneClear();
                }

                if (isJungleClearMode)
                {
                    JungleClear();
                }
            }

            if (isLastHitMode)
            {
                LastHit();
            }
        }
Ejemplo n.º 10
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (E.Level > 0)
            {
                E.Range = 630 + 7 * (Me.Level - 1);
            }

            if (R.Level > 0)
            {
                R.Range = 630 + 7 * (Me.Level - 1);
            }

            if (isFleeMode)
            {
                Flee();

                if (FleeOption.DisableMove)
                {
                    Orbwalker.Move = false;
                }

                return;
            }

            Orbwalker.Move = true;

            if (MiscOption.GetKey("SemiE") && E.IsReady())
            {
                OneKeyCastE();
            }

            KillSteal();

            if (isComboMode)
            {
                Combo();
            }

            if (isHarassMode)
            {
                Harass();
            }

            if (isFarmMode)
            {
                FarmHarass();

                if (isJungleClearMode)
                {
                    JungleClear();
                }
            }
        }
Ejemplo n.º 11
0
        private static void OnUpdate(EventArgs args)
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (Me.IsWindingUp)
            {
                return;
            }

            if (Q.Level > 0)
            {
                bigGunRange = Q.Range + new[] { 75, 100, 125, 150, 175 }[Q.Level - 1];
            }

            if (W.Level > 0)
            {
                //https://github.com/ensoulsharp-io/EnsoulSharp.Assemblies/blob/master/Third_Port/Mask/Executable/OneKeyToWin_AIO_Sebby/Champions/Jinx.cs#L128-L131
                W.Delay = Math.Max(0.4f, (600 - Me.PercentAttackSpeedMod / 2.5f * 200) / 1000f);
            }

            if (R.Level > 0)
            {
                R.Range = MiscOption.GetSlider("R", "rMenuMax").Value;
            }

            rCoolDown = R.Level > 0
                ? (Me.Spellbook.GetSpell(SpellSlot.R).CooldownExpires - Game.Time < 0
                    ? 0
                    : Me.Spellbook.GetSpell(SpellSlot.R).CooldownExpires - Game.Time)
                : -1;

            if (MiscOption.GetKey("R", "rMenuSemi").Active)
            {
                SemiRLogic();
            }

            AutoLogic();
            KillSteal();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo();
                break;

            case OrbwalkerMode.Harass:
                Harass();
                break;

            case OrbwalkerMode.LaneClear:
                FarmHarass();
                break;
            }
        }
Ejemplo n.º 12
0
        private static void SemiRLogic()
        {
            if (MiscOption.GetKey("SemiR") && R.IsReady())
            {
                var target = TargetSelector.GetTarget(R.Range, TargetSelector.DamageType.Physical);

                if (target.IsValidTarget(R.Range))
                {
                    SpellManager.PredCast(R, target, true);
                }
            }
        }
Ejemplo n.º 13
0
        private static void OnUpdate(EventArgs args)
        {
            if (Variables.GameTimeTickCount - LastForcusTime > Me.AttackCastDelay * 1000f)
            {
                if (Orbwalker.ActiveMode != OrbwalkerMode.None)
                {
                    Orbwalker.ForceTarget = null;
                }
            }

            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (Me.IsWindingUp)
            {
                return;
            }

            if (E.Level > 0)
            {
                E.Range = 630 + 7 * (Me.Level - 1);
            }

            if (R.Level > 0)
            {
                R.Range = 630 + 7 * (Me.Level - 1);
            }

            if (MiscOption.GetKey("E", "SemiE").Active&& E.IsReady())
            {
                OneKeyCastE();
            }

            KillSteal();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo();
                break;

            case OrbwalkerMode.Harass:
                Harass();
                break;

            case OrbwalkerMode.LaneClear:
                FarmHarass();
                break;
            }
        }
Ejemplo n.º 14
0
        private static void OnUpdate(EventArgs args)
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                havePassive = false;
                return;
            }

            if (Variables.GameTimeTickCount - lastCastTime >= 3100)
            {
                havePassive = false;
            }

            if (Me.HasBuff("LucianR"))
            {
                Me.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos);
                return;
            }

            if (Me.HasBuff("LucianR") || Me.IsDashing())
            {
                return;
            }

            if (Me.IsWindingUp)
            {
                return;
            }

            if (MiscOption.GetKey("R", "SemiRKey").Active&& R.IsReady())
            {
                SemiRLogic();
            }

            KillSteal();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo();
                break;

            case OrbwalkerMode.Harass:
                Harass();
                break;

            case OrbwalkerMode.LaneClear:
                Farm();
                break;
            }
        }
Ejemplo n.º 15
0
        private static void Auto()
        {
            if (Q.IsReady())
            {
                if (MiscOption.GetKey("Q", "SemiQ").Active)
                {
                    var target = MyTargetSelector.GetTarget(Q.Range);

                    if (target != null && target.IsValidTarget(Q.Range))
                    {
                        var qPred = Q.GetPrediction(target);

                        if (qPred.Hitchance >= HitChance.High)
                        {
                            Q.Cast(qPred.CastPosition);
                        }
                    }
                }

                if (MiscOption.GetBool("Q", "AutoQImmobile").Enabled)
                {
                    var target = GameObjects.EnemyHeroes.FirstOrDefault(x => x.IsValidTarget(Q.Range) && !x.CanMoveMent());

                    if (target != null && target.IsValidTarget(Q.Range))
                    {
                        Q.Cast(target.PreviousPosition);
                    }
                }
            }

            if (W.IsReady())
            {
                if (MiscOption.GetKey("CardSelect", "CardSelectYellow").Active)
                {
                    HumanizerCardSelect.Select = HumanizerCards.Yellow;
                    HumanizerCardSelect.StartSelecting(HumanizerCards.Yellow);
                }

                if (MiscOption.GetKey("CardSelect", "CardSelectBlue").Active)
                {
                    HumanizerCardSelect.Select = HumanizerCards.Blue;
                    HumanizerCardSelect.StartSelecting(HumanizerCards.Blue);
                }

                if (MiscOption.GetKey("CardSelect", "CardSelectRed").Active)
                {
                    HumanizerCardSelect.Select = HumanizerCards.Red;
                    HumanizerCardSelect.StartSelecting(HumanizerCards.Red);
                }
            }
        }
Ejemplo n.º 16
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (FleeOption.DisableMove && isFleeMode)
            {
                Orbwalker.Move = false;
                return;
            }

            Orbwalker.Move = true;

            if (MiscOption.GetKey("SemiR"))
            {
                OneKeyR();
            }

            AutoRLogic();
            KillSteal();

            if (isComboMode)
            {
                Combo();
            }

            if (isHarassMode)
            {
                Harass();
            }

            if (isFarmMode)
            {
                FarmHarass();

                if (isLaneClearMode)
                {
                    LaneClear();
                }

                if (isJungleClearMode)
                {
                    JungleClear();
                }
            }
        }
Ejemplo n.º 17
0
        private static void OnUpdate()
        {
            if (Game.TickCount - LastForcusTime > Orbwalker.WindUpTime)
            {
                if (Orbwalker.Mode != OrbwalkingMode.None)
                {
                    Orbwalker.ForceTarget(null);
                }
            }

            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (E.GetBasicSpell().Level > 0)
            {
                E.Range = 630 + 7 * (Me.Level - 1);
            }

            if (R.GetBasicSpell().Level > 0)
            {
                R.Range = 630 + 7 * (Me.Level - 1);
            }

            if (MiscOption.GetKey("E", "SemiE").Enabled&& E.Ready)
            {
                OneKeyCastE();
            }

            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                FarmHarass();
            }
        }
Ejemplo n.º 18
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                havePassive = false;
                return;
            }

            if (Game.TickCount - lastCastTime >= 3100)
            {
                havePassive = false;
            }

            if (Me.HasBuff("LucianR"))
            {
                Me.IssueOrder(OrderType.MoveTo, Game.CursorPos);
                return;
            }

            if (Me.HasBuff("LucianR") || Me.IsDashing())
            {
                return;
            }

            if (MiscOption.GetKey("R", "SemiRKey").Enabled&& R.Ready)
            {
                SemiRLogic();
            }

            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                Farm();
            }
        }
Ejemplo n.º 19
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (Q.GetBasicSpell().Level > 0)
            {
                bigGunRange = Q.Range + new[] { 75, 100, 125, 150, 175 }[Q.GetBasicSpell().Level - 1];
            }

            if (R.GetBasicSpell().Level > 0)
            {
                R.Range = MiscOption.GetSlider("R", "rMenuMax").Value;
            }

            rCoolDown = R.GetBasicSpell().Level > 0
                ? (Me.SpellBook.GetSpell(SpellSlot.R).CooldownEnd - Game.ClockTime < 0
                    ? 0
                    : Me.SpellBook.GetSpell(SpellSlot.R).CooldownEnd - Game.ClockTime)
                : -1;

            if (MiscOption.GetKey("R", "rMenuSemi").Enabled&& R.Ready)
            {
                SemiRLogic();
            }

            AutoLogic();
            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                FarmHarass();
            }
        }
Ejemplo n.º 20
0
        private static void OnUpdate(EventArgs args)
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (isWActive)
            {
                Orbwalker.AttackState = false;
                Me.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPosRaw);
            }
            else
            {
                Orbwalker.AttackState = true;
            }

            if (MiscOption.GetKey("R", "SemiR").Active&& R.IsReady())
            {
                SemiRLogic();
            }

            if (Me.IsWindingUp)
            {
                return;
            }

            AutoR2Logic();
            KillSteal();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo();
                break;

            case OrbwalkerMode.Harass:
                Harass();
                break;

            case OrbwalkerMode.LaneClear:
                Clear();
                break;
            }
        }
Ejemplo n.º 21
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (R.GetBasicSpell().Level > 0)
            {
                R.Range = MiscOption.GetSlider("R", "RMaxRange").Value;
            }

            if (MiscOption.GetKey("R", "SemiR").Enabled&& R.Ready)
            {
                OneKeyCastR();
            }

            if (MiscOption.GetBool("R", "AutoR").Enabled&& R.Ready && Me.CountEnemyHeroesInRange(1000) == 0)
            {
                AutoRLogic();
            }

            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                FarmHarass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Lasthit)
            {
                LastHit();
            }
        }
Ejemplo n.º 22
0
        private static void OnUpdate(EventArgs args)
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (Variables.GameTimeTickCount - lastRTime < 3000)
            {
                Orbwalker.AttackState   = false;
                Orbwalker.MovementState = false;
                return;
            }

            Orbwalker.AttackState   = true;
            Orbwalker.MovementState = true;

            if (Me.IsWindingUp)
            {
                return;
            }

            if (MiscOption.GetKey("R", "SemiR").Active&& R.IsReady())
            {
                SemiRLogic();
            }

            KillSteal();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo();
                break;

            case OrbwalkerMode.Harass:
                Harass();
                break;

            case OrbwalkerMode.LaneClear:
                FarmHarass();
                break;
            }
        }
Ejemplo n.º 23
0
        private static void OnUpdate(EventArgs args)
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (R.Level > 0)
            {
                R.Range = MiscOption.GetSlider("R", "RMaxRange").Value;
            }

            if (MiscOption.GetKey("R", "SemiR").Active)
            {
                OneKeyCastR();
            }

            if (MiscOption.GetBool("R", "AutoR").Enabled&& R.IsReady() && Me.CountEnemyHeroesInRange(1000) == 0)
            {
                AutoRLogic();
            }

            KillSteal();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo();
                break;

            case OrbwalkerMode.Harass:
                Harass();
                break;

            case OrbwalkerMode.LaneClear:
                FarmHarass();
                break;

            case OrbwalkerMode.LastHit:
                LastHit();
                break;
            }
        }
Ejemplo n.º 24
0
        private static void OnUpdate(EventArgs args)
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (Me.IsWindingUp)
            {
                return;
            }

            R.Range = rRange;

            //if (MiscOption.GetKey("EQKey").Enabled)
            //{
            //    OneKeyEQ();
            //}

            if (MiscOption.GetKey("R", "SemiR").Active&& R.IsReady())
            {
                OneKeyCastR();
            }

            Auto();
            KillSteal();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo();
                break;

            case OrbwalkerMode.Harass:
                Harass();
                break;

            case OrbwalkerMode.LaneClear:
                FarmHarass();
                break;
            }
        }
Ejemplo n.º 25
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (isWActive)
            {
                Orbwalker.AttackingEnabled = false;
                Me.IssueOrder(OrderType.MoveTo, Game.CursorPos);
            }
            else
            {
                Orbwalker.AttackingEnabled = true;
            }

            if (MiscOption.GetKey("R", "SemiR").Enabled&& R.Ready)
            {
                SemiRLogic();
            }

            AutoR2Logic();
            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                Clear();
            }
        }
Ejemplo n.º 26
0
        private static void AutoUseEvent()
        {
            if (MiscOption.GetKey("SemiRKey").Enabled&& Me.SpellBook.GetSpell(SpellSlot.R).Level > 0 && R.Ready)
            {
                var target = TargetSelector.GetTarget(R.Range);

                if (target.IsValidTarget(R.Range))
                {
                    var rPred = R.GetPrediction(target);

                    if (rPred.HitChance >= HitChance.High)
                    {
                        R.Cast(rPred.CastPosition);
                    }
                }
            }

            if (MiscOption.GetBool("WSlow").Enabled&& W.Ready && Me.HasBuffOfType(BuffType.Slow))
            {
                W.Cast();
            }
        }
Ejemplo n.º 27
0
        private static void OnUpdate(EventArgs args)
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (Me.HasBuff("VarusQLaunch") || Me.HasBuff("VarusQ"))
            {
                Me.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPosRaw);
            }

            if (Me.IsWindingUp)
            {
                return;
            }

            if (MiscOption.GetKey("R", "SemiR").Active)
            {
                SemiRLogic();
            }

            KillSteal();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo();
                break;

            case OrbwalkerMode.Harass:
                Harass();
                break;

            case OrbwalkerMode.LaneClear:
                FarmHarass();
                break;
            }
        }
Ejemplo n.º 28
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (Me.HasBuff("missfortunebulletsound"))
            {
                Orbwalker.AttackingEnabled = false;
                Orbwalker.MovingEnabled    = false;
                return;
            }

            Orbwalker.AttackingEnabled = true;
            Orbwalker.MovingEnabled    = true;

            if (MiscOption.GetKey("R", "SemiR").Enabled&& R.Ready)
            {
                SemiRLogic();
            }

            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                FarmHarass();
            }
        }
Ejemplo n.º 29
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            if (W.GetBasicSpell().Level > 0)
            {
                W.Range = 500f + new[] { 130, 150, 170, 190, 210 }[W.GetBasicSpell().Level - 1];
            }

            if (R.GetBasicSpell().Level > 0)
            {
                R.Range = 1200f + 300f * R.GetBasicSpell().Level - 1;
            }

            if (MiscOption.GetKey("SemiR").Enabled)
            {
                SemiRLogic();
            }

            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                FarmHarass();
            }
        }
Ejemplo n.º 30
0
        private static void OnUpdate()
        {
            if (Me.IsDead || Me.IsRecalling())
            {
                return;
            }

            R.Range = 500f * R.GetBasicSpell().Level + 1500f;

            if (MiscOption.GetKey("EQKey").Enabled)
            {
                OneKeyEQ();
            }

            if (MiscOption.GetKey("SemiR").Enabled&& R.Ready)
            {
                OneKeyCastR();
            }

            Auto();
            KillSteal();

            if (Orbwalker.Mode == OrbwalkingMode.Combo)
            {
                Combo();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Mixed)
            {
                Harass();
            }

            if (Orbwalker.Mode == OrbwalkingMode.Laneclear)
            {
                FarmHarass();
            }
        }