Ejemplo n.º 1
0
        private static void OnUpdate(EventArgs args)
        {
            var flags = Orbwalker.ActiveModesFlags;

            if (flags.HasFlag(Orbwalker.ActiveModes.Combo) && menuIni.Get <CheckBox>("Combo").CurrentValue)
            {
                Combo();
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.Harass) && menuIni.Get <CheckBox>("Harass").CurrentValue)
            {
                Harass();
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.LaneClear) && menuIni.Get <CheckBox>("Clear").CurrentValue)
            {
                Clear();
            }

            var qsize = QMissle?.StartPosition.Distance(QMissle.Position);
            var f     = (qsize + Q.Width) / 16;

            if (f != null && (QMissle?.Position.CountEnemiesInRange((float)f) >= MiscMenu.Get <Slider>("AQ").CurrentValue&& Q.Handle.ToggleState == 2))
            {
                Q.Cast(Game.CursorPos);
            }

            Orbwalker.DisableAttacking = Q.Handle.ToggleState == 2;
            KS();
        }
Ejemplo n.º 2
0
        private static void OnUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo();
            }

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
            {
                Harass();
            }

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) || Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
            {
                Jungleclear();
                Laneclear();
            }

            if (ComboMenu.Get <KeyBind>("forcee").CurrentValue)
            {
                ForceE();
            }

            if (MiscMenu.Get <CheckBox>("autoe").CurrentValue)
            {
                AutoE();
            }
        }
Ejemplo n.º 3
0
        private static void Gapcloser_OnGap(AIHeroClient Sender, Gapcloser.GapcloserEventArgs args)
        {
            if (!menuIni.Get <CheckBox>("Misc").CurrentValue || Sender == null || !Sender.IsEnemy)
            {
                return;
            }

            if (MiscMenu.Get <CheckBox>("gapcloserQ").CurrentValue)
            {
                var pred = Q.GetPrediction(Sender);
                if (Q.Handle.ToggleState == 1 && Sender.IsValidTarget(Q.Range))
                {
                    Q.Cast(pred.CastPosition);
                }

                if (Q.Handle.ToggleState == 2)
                {
                    var qsize = QMissle.StartPosition.Distance(QMissle.Position);
                    if (QMissle.Position.IsInRange(Sender, (qsize + Q.Width) / 16))
                    {
                        Q.Cast(Game.CursorPos);
                    }
                }
            }

            if (MiscMenu.Get <CheckBox>("gapcloserR").CurrentValue)
            {
                var pred = R.GetPrediction(Sender);
                if (args.SenderMousePos.IsInRange(Player.Instance, Player.Instance.GetAutoAttackRange()))
                {
                    R.Cast(pred.CastPosition);
                }
            }
        }
Ejemplo n.º 4
0
        /// <summary>
        ///     Fired on an incoming enemy gapcloser.
        /// </summary>
        /// <param name="gapcloser">The gapcloser.</param>
        private static void AntiGapcloserOnOnEnemyGapcloser(AIHeroClient Sender, Gapcloser.GapcloserEventArgs args)
        {
            var castingR = Player.Instance.Spellbook.IsChanneling && !Player.Instance.IsRecalling();
            if (!Sender.IsValidTarget() || !Sender.IsEnemy || Sender.IsAlly || castingR)
            {
                return;
            }

            if (menuIni["Misc"].Cast<CheckBox>().CurrentValue)
            {
                var predq = Q.GetPrediction(Sender);
                if (Sender != null && Q.IsReady() && Sender.IsEnemy && Sender.IsValidTarget(Q.Range)
                    && MiscMenu.Get<CheckBox>("gapcloserQ").CurrentValue)
                {
                    Q.Cast(predq.CastPosition);
                    return;
                }
            }

            if (UltMenu["Rtower"].Cast<CheckBox>().CurrentValue && ObjectManager.Player.IsUnderEnemyturret())
            {
                return;
            }

            if (Sender != null && R.IsReady() && Sender.IsEnemy && Sender.IsValidTarget(R.Range)
                && !UltMenu["DontUlt" + Sender.BaseSkinName].Cast<CheckBox>().CurrentValue && UltMenu.Get<CheckBox>("gapcloserR").CurrentValue)
            {
                R.Cast(Sender);
                return;
            }
        }
Ejemplo n.º 5
0
        private static void InterrupterOnOnPossibleToInterrupt(
            Obj_AI_Base unit,
            Interrupter.InterruptableSpellEventArgs args)
        {
            var castingR = Player.Instance.Spellbook.IsChanneling && !Player.Instance.IsRecalling();

            if (castingR)
            {
                return;
            }

            var predq = Q.GetPrediction(unit);

            if (unit != null && Q.IsReady() && unit.IsEnemy && unit.IsValidTarget(Q.Range) &&
                MiscMenu.Get <CheckBox>("interruptQ").CurrentValue&& menuIni["Misc"].Cast <CheckBox>().CurrentValue)
            {
                Q.Cast(predq.CastPosition);
                return;
            }

            if (unit != null && R.IsReady() && UltMenu.Get <CheckBox>("interruptR").CurrentValue)
            {
                if (UltMenu["Rtower"].Cast <CheckBox>().CurrentValue&& ObjectManager.Player.IsUnderEnemyturret())
                {
                    return;
                }

                if (unit.IsEnemy && unit.IsValidTarget(R.Range) &&
                    !UltMenu["DontUlt" + unit.BaseSkinName].Cast <CheckBox>().CurrentValue)
                {
                    R.Cast(unit);
                }
            }
        }
Ejemplo n.º 6
0
 private static void OnInterruptableSpell(Obj_AI_Base Sender, Interrupter.InterruptableSpellEventArgs args)
 {
     if (!SpiderForm)
     {
         if (MiscMenu.Get <CheckBox>("Interrupter").CurrentValue&& E.IsReady())
         {
             if (Sender.IsValidTarget(E.Range))
             {
                 E.Cast(Sender);
             }
         }
     }
 }
Ejemplo n.º 7
0
 private static void Gapcloser_OnGapcloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs e)
 {
     if (!SpiderForm)
     {
         if (MiscMenu.Get <CheckBox>("Antigapcloser").CurrentValue&& E.IsReady())
         {
             if (sender.IsValidTarget(E.Range))
             {
                 E.Cast(sender);
             }
         }
     }
 }
        private static void OnInterruptableSpell(Obj_AI_Base Sender, Interrupter.InterruptableSpellEventArgs args)
        {
            if (!menuIni.Get <CheckBox>("Misc").CurrentValue || Sender == null || Sender.IsAlly || Sender.IsMe || !Sender.IsEnemy)
            {
                return;
            }

            if (R.IsReady() && Sender.IsValidTarget(R.Range) && MiscMenu.Get <CheckBox>("Interruptr").CurrentValue &&
                !UltMenu["DontUltenemy" + Sender.BaseSkinName].Cast <CheckBox>().CurrentValue)
            {
                R.Cast(Sender);
            }
        }
Ejemplo n.º 9
0
        private static void DrawKillable()
        {
            var time           = Environment.TickCount;
            var enemiesrange   = ObjectManager.Player.Position.CountEnemiesInRange(UltMenu.Get <Slider>("Rranged").CurrentValue);
            var enemieinsrange = UltMenu.Get <Slider>("RnearEn").CurrentValue;

            if (UltMenu.Get <CheckBox>("RnearE").CurrentValue&& enemiesrange >= enemieinsrange)
            {
                Drawing.DrawText(
                    Drawing.Width * 0.44f,
                    Drawing.Height * 0.8f,
                    System.Drawing.Color.Red,
                    "屏蔽R附近敌人数: " + enemieinsrange);
            }

            if (R.IsLearned)
            {
                var killable = string.Empty;

                foreach (var target in
                         EntityManager.Heroes.Enemies.Where(
                             x =>
                             !x.IsDead && x.IsEnemy &&
                             player.GetSpellDamage(x, SpellSlot.R) > Prediction.Health.GetPrediction(x, (int)(R.CastDelay * 1000f)))
                         .Where(target => target.IsVisible))
                {
                    killable += target.ChampionName + ", ";
                    if (MiscMenu.Get <CheckBox>("ping").CurrentValue)
                    {
                        Ping(target.Position.To2D());
                    }
                    if (DrawMenu.Get <CheckBox>("Rtarget").CurrentValue)
                    {
                        Circle.Draw(Color.DarkRed, 650, target.Position);
                        Drawing.DrawText(
                            Drawing.WorldToScreen(target.Position) - new Vector2(0.44f, 0.8f),
                            System.Drawing.Color.Red,
                            "R可击杀",
                            2);
                    }

                    if (killable != string.Empty)
                    {
                        if (MiscMenu.Get <CheckBox>("NotifyUlt").CurrentValue)
                        {
                            Drawing.DrawText(Drawing.Width * 0.44f, Drawing.Height * 0.7f, System.Drawing.Color.Red, "可被大招击杀: " + killable);
                        }
                    }
                }
            }
        }
Ejemplo n.º 10
0
        private static void OnUpdate(EventArgs args)
        {
            Player = ObjectManager.Player;

            var flags = Orbwalker.ActiveModesFlags;

            if (flags.HasFlag(Orbwalker.ActiveModes.Combo) && menuIni.Get <CheckBox>("Combo").CurrentValue)
            {
                Combo();
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.Harass) && menuIni.Get <CheckBox>("Harass").CurrentValue)
            {
                Harass();
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.LaneClear) && menuIni.Get <CheckBox>("LaneClear").CurrentValue)
            {
                if (Player.ManaPercent > LaneMenu["Mana"].Cast <Slider>().CurrentValue)
                {
                    Clear();
                }
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.JungleClear) && menuIni.Get <CheckBox>("JungleClear").CurrentValue)
            {
                if (Player.ManaPercent > LaneMenu["Mana"].Cast <Slider>().CurrentValue)
                {
                    jClear();
                }
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.Flee) && menuIni.Get <CheckBox>("Flee").CurrentValue)
            {
                Flee();
            }

            if (W.IsReady())
            {
                if (MiscMenu.Get <CheckBox>("WTower").CurrentValue&& Player.CountEnemiesInRange(W.Range) >= 1 &&
                    Player.IsUnderHisturret() && Player.IsUnderTurret() && !Player.IsUnderEnemyturret())
                {
                    W.Cast();
                }

                if (Player.CountEnemiesInRange(W.Range) >= MiscMenu.Get <Slider>("AutoW").CurrentValue)
                {
                    W.Cast();
                }
            }
        }
Ejemplo n.º 11
0
        private static void Gapcloser_OnGap(AIHeroClient Sender, Gapcloser.GapcloserEventArgs args)
        {
            if (!menuIni.Get <CheckBox>("Misc").CurrentValue || !MiscMenu.Get <CheckBox>("gapcloser").CurrentValue ||
                ObjectManager.Player.ManaPercent < MiscMenu.Get <Slider>("gapclosermana").CurrentValue || Sender == null)
            {
                return;
            }
            var predq = Q.GetPrediction(Sender);

            if (Sender.IsValidTarget(Q.Range) && Q.IsReady() && !Sender.IsAlly && !Sender.IsMe)
            {
                Q.Cast(predq.CastPosition);
            }
        }
Ejemplo n.º 12
0
        private static void AntiGapcloser_OnEnemyGapcloser(AIHeroClient Sender, Gapcloser.GapcloserEventArgs args)
        {
            if (IsCastingR())
            {
                return;
            }

            if (menuIni["Misc"].Cast <CheckBox>().CurrentValue&& player.ManaPercent > MiscMenu.Get <Slider>("gapclosermana").CurrentValue)
            {
                if (Sender != null && W.IsReady() && Sender.IsEnemy && Sender.IsValidTarget(Q.Range) &&
                    MiscMenu.Get <CheckBox>("gapcloser").CurrentValue)
                {
                    W.Cast();
                }
            }
        }
Ejemplo n.º 13
0
 private static void Gapcloser_OnGap(AIHeroClient Sender, Gapcloser.GapcloserEventArgs args)
 {
     if (!menuIni.Get<CheckBox>("Misc").CurrentValue || !MiscMenu.Get<CheckBox>("gapcloser").CurrentValue
         || ObjectManager.Player.ManaPercent < MiscMenu.Get<Slider>("gapclosermana").CurrentValue || Sender == null)
     {
         return;
     }
     var predw = W.GetPrediction(Sender);
     if (Sender.IsValidTarget(W.Range) && W.IsReady() && !Sender.IsAlly && !Sender.IsMe)
     {
         if (MiscMenu.Get<CheckBox>("SaveR").CurrentValue && player.Level >= 6 && R.IsLearned
             && player.Mana - (SaveR() / 3) > R.Handle.SData.Mana)
         {
             W.Cast(predw.CastPosition);
         }
     }
 }
Ejemplo n.º 14
0
        private static void OnGapcloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs e)
        {
            if (!menuIni.Get <CheckBox>("Misc").CurrentValue || sender == null || sender.IsAlly || sender.IsMe)
            {
                return;
            }

            if (W.IsReady() && sender.IsValidTarget(W.Range - 15) && MiscMenu.Get <CheckBox>("gapcloserW").CurrentValue)
            {
                W.Cast();
                return;
            }

            if (R.IsReady() && sender.IsValidTarget(R.Range) && MiscMenu.Get <CheckBox>("gapcloserR").CurrentValue &&
                !UltMenu["DontUltenemy" + sender.BaseSkinName].Cast <CheckBox>().CurrentValue)
            {
                R.Cast(sender);
            }
        }
Ejemplo n.º 15
0
 private static void AutoE()
 {
     if (HumanForm)
     {
         if (E.IsReady() && (MiscMenu.Get <CheckBox>("autoe").CurrentValue))
         {
             foreach (var enemy in ObjectManager.Get <AIHeroClient>())
             {
                 if (enemy.IsValidTarget(E.Range))
                 {
                     var pred = E.GetPrediction(enemy);
                     if (pred.HitChance >= HitChance.Immobile)
                     {
                         E.Cast(pred.CastPosition);
                     }
                 }
             }
         }
     }
 }
Ejemplo n.º 16
0
        private static void OnEnemyGapcloser(AIHeroClient Sender, Gapcloser.GapcloserEventArgs args)
        {
            if (!menuIni.Get <CheckBox>("Misc").CurrentValue || !MiscMenu.Get <CheckBox>("gapcloser").CurrentValue ||
                Sender == null)
            {
                return;
            }

            if (Sender.HasBuff("brandablaze") && _Q.IsReady() && !Sender.IsAlly && !Sender.IsMe)
            {
                _Q.Cast(Sender.ServerPosition);
            }
            else
            {
                if (_E.IsReady() && _Q.IsReady() && !Sender.IsAlly && !Sender.IsMe)
                {
                    _E.Cast(Sender);
                }
            }
        }
Ejemplo n.º 17
0
        private static void OnInterruptableTarget(Obj_AI_Base sender, Interrupter.InterruptableSpellEventArgs arg)
        {
            if (!menuIni.Get <CheckBox>("Misc").CurrentValue || !MiscMenu.Get <CheckBox>("interrupt").CurrentValue ||
                sender == null)
            {
                return;
            }
            var pred = _Q.GetPrediction(sender);

            if (sender.HasBuff("brandablaze") && _Q.IsReady() && pred.HitChance >= HitChance.High && !sender.IsAlly &&
                !sender.IsMe)
            {
                _Q.Cast(pred.CastPosition);
            }
            else
            {
                if (_E.IsReady() && _Q.IsReady() && !sender.IsAlly && !sender.IsMe)
                {
                    _E.Cast(sender);
                }
            }
        }
Ejemplo n.º 18
0
        private static void OnUpdate(EventArgs args)
        {
            if (player.IsDead)
            {
                return;
            }

            qTarget = TargetSelector.GetTarget(Q.Range, DamageType.Magical);
            wTarget = TargetSelector.GetTarget(W.Range, DamageType.Magical);
            eTarget = TargetSelector.GetTarget(E.Range, DamageType.Magical);

            var flags = Orbwalker.ActiveModesFlags;

            if (flags.HasFlag(Orbwalker.ActiveModes.Combo) && menuIni.Get <CheckBox>("Combo").CurrentValue)
            {
                Orbwalker.DisableAttacking = ComboMenu.Get <CheckBox>("CUse_AA").CurrentValue&& player.Mana > Q.Handle.SData.Mana * 3;
                if (MiscMenu.Get <CheckBox>("SaveR").CurrentValue&& player.Mana - (SaveR() / 3) - 30 > R.Handle.SData.Mana && player.Level >= 6 &&
                    R.IsLearned)
                {
                    Combo();
                }

                if (!MiscMenu.Get <CheckBox>("SaveR").CurrentValue || player.Level < 6 && !R.IsLearned || player.IsZombie)
                {
                    Combo();
                }
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.LaneClear) && menuIni.Get <CheckBox>("LaneClear").CurrentValue)
            {
                Orbwalker.DisableAttacking = false;
                if (MiscMenu.Get <CheckBox>("SaveR").CurrentValue&& player.Mana - (SaveR() / 3) > R.Handle.SData.Mana && player.Level >= 6 &&
                    R.IsLearned)
                {
                    LaneClear();
                }

                if (!MiscMenu.Get <CheckBox>("SaveR").CurrentValue || player.Level < 6 && !R.IsLearned)
                {
                    LaneClear();
                }
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.JungleClear) && menuIni.Get <CheckBox>("JungleClear").CurrentValue)
            {
                Orbwalker.DisableAttacking = false;
                if (MiscMenu.Get <CheckBox>("SaveR").CurrentValue&& player.Level >= 6 && R.IsLearned &&
                    player.Mana - (SaveR() / 3) > R.Handle.SData.Mana)
                {
                    JungleClear();
                }

                if (!MiscMenu.Get <CheckBox>("SaveR").CurrentValue || player.Level < 6 && !R.IsLearned)
                {
                    JungleClear();
                }
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.Harass) && menuIni.Get <CheckBox>("Harass").CurrentValue)
            {
                Orbwalker.DisableAttacking = HarassMenu.Get <CheckBox>("HUse_AA").CurrentValue&& Player.Instance.Mana < Q.Handle.SData.Mana * 3;

                if (MiscMenu.Get <CheckBox>("SaveR").CurrentValue&& player.Level >= 6 && R.IsLearned &&
                    player.Mana - (SaveR() / 2) > R.Handle.SData.Mana)
                {
                    Harass();
                }

                if (!MiscMenu.Get <CheckBox>("SaveR").CurrentValue || player.Level < 6 && !R.IsLearned)
                {
                    Harass();
                }
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.LastHit) && menuIni.Get <CheckBox>("LastHit").CurrentValue)
            {
                if (LaneMenu.Get <CheckBox>("LAA").CurrentValue &&
                    (Q.IsReady() || ObjectManager.Player.ManaPercent >= LaneMenu.Get <Slider>("LHQPercent").CurrentValue))
                {
                    Orbwalker.DisableAttacking = true;
                }
                else
                {
                    Orbwalker.DisableAttacking = false;
                }

                if (MiscMenu.Get <CheckBox>("SaveR").CurrentValue&& player.Level >= 6 && R.IsLearned &&
                    player.Mana - (SaveR() / 3) > R.Handle.SData.Mana)
                {
                    LastHit();
                }

                if (!MiscMenu.Get <CheckBox>("SaveR").CurrentValue || player.Level < 6 && !R.IsLearned)
                {
                    LastHit();
                }
            }

            if (MiscMenu.Get <CheckBox>("DeadCast").CurrentValue)
            {
                if (ObjectManager.Player.IsZombie && !Combo())
                {
                    LaneClear();
                }
            }

            if (menuIni.Get <CheckBox>("KillSteal").CurrentValue)
            {
                Ks();
            }

            if (menuIni.Get <CheckBox>("Ultimate").CurrentValue&& UltMenu.Get <ComboBox>("UltMode").CurrentValue == 0 &&
                UltMenu.Get <CheckBox>("UltKS").CurrentValue&& (R.IsLearned && R.IsReady()))
            {
                Ult();
            }
        }
Ejemplo n.º 19
0
        private static void Game_OnUpdate(EventArgs args)
        {
            var flags = Orbwalker.ActiveModesFlags;

            if (flags.HasFlag(Orbwalker.ActiveModes.Combo) && menuIni.Get <CheckBox>("Combo").CurrentValue)
            {
                Combo();
            }

            if (ObjectManager.Player.ManaPercent > HarassMenu["harassmana"].Cast <Slider>().CurrentValue)
            {
                if (flags.HasFlag(Orbwalker.ActiveModes.Harass) && menuIni.Get <CheckBox>("Harass").CurrentValue)
                {
                    Harass();
                }
            }

            if (ObjectManager.Player.ManaPercent > LaneMenu["lanemana"].Cast <Slider>().CurrentValue)
            {
                if (flags.HasFlag(Orbwalker.ActiveModes.LaneClear) && menuIni.Get <CheckBox>("LaneClear").CurrentValue)
                {
                    Farm();
                }
            }

            if (ObjectManager.Player.ManaPercent > LaneMenu["lanemana"].Cast <Slider>().CurrentValue)
            {
                if (flags.HasFlag(Orbwalker.ActiveModes.JungleClear) && menuIni.Get <CheckBox>("LaneClear").CurrentValue)
                {
                    JungleFarm();
                }
            }

            if (ObjectManager.Player.ManaPercent > FleeMenu["fleemana"].Cast <Slider>().CurrentValue)
            {
                if (flags.HasFlag(Orbwalker.ActiveModes.Flee) && menuIni.Get <CheckBox>("Flee").CurrentValue)
                {
                    Flee();
                }
            }

            if (flags.HasFlag(Orbwalker.ActiveModes.None))
            {
                Orbwalker.DisableAttacking = false;
            }

            if (MiscMenu.Get <CheckBox>("AutoE").CurrentValue)
            {
                ImABitch();
            }

            if (Saver.Get <CheckBox>("AutoR").CurrentValue)
            {
                foreach (var ally in EntityManager.Heroes.Allies)
                {
                    if (ally.IsValidTarget(R.Range) && ally != null && !Saver["DontUlt" + ally.BaseSkinName].Cast <CheckBox>().CurrentValue)
                    {
                        var c = ally.CountEnemiesInRange(300);
                        if (c >= 1 + 1 + 1 || ally.HealthPercent <= 20 && c >= 1)
                        {
                            R.Cast(ally);
                        }
                    }
                }

                var ec = Player.CountEnemiesInRange(300);
                if ((ec >= 1 + 1 + 1 || Player.HealthPercent <= 25 && ec >= 1) && Player != null)
                {
                    R.Cast(Player);
                }
            }
        }
Ejemplo n.º 20
0
        private static void Game_OnTick()
        {
            //if (_isE)// Gotta check this
            //{
            //	_isEabort = ObjectManager.Player.CountEnemiesInRange(200f);
            //	if (_isEabort < _isEcount)
            //	{
            //		E.Cast();
            //	}
            //	else
            //	{
            //		_isEcount = Player.CountEnemiesInRange(600f);
            //	}
            //}

            if (MiscMenu.Get <MenuKeybind>("SemiR").Active)
            {
                if (R.IsReady() && TargetSelector.GetTarget(R.Range, TargetSelector.DamageType.Magical) != null)
                {
                    R.Cast(TargetSelector.GetTarget(R.Range, TargetSelector.DamageType.Magical), true);
                }
            }

            if (KillstealMenu.GetCheckbox("enable"))
            {
                Killsteal.DoKs();
            }

            if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Combo)
            {
                Combo.DoCombo();
            }

            if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Harass)
            {
                Harass.DoHarass();
            }

            if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.LaneClear)
            {
                LaneClear.DoLaneClear();
            }

            if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.JungleClear)
            {
                JungleClear.DoJungleClear();
            }

            if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.LastHit)
            {
                LastHit.DoLastHit();
            }

            if (Orb.ActiveMode == Orbwalker.OrbwalkingMode.Flee)
            {
                Flee.DoFlee();
            }

            //This is a basic fix, due to OnLevelUp being disabled
            if (_currentLevel == Player.Level)
            {
                return;
            }
            Leveler();
            _currentLevel = Player.Level;
        }