Exemplo n.º 1
0
        void OnUpdated(EventArgs args)
        {
            //if (Player.HasBuff("blindmonkqtwodash"))
            //{
            //    Chat.Print("dash");
            //}
            //  Console.WriteLine(Environment.TickCount - LeeSin.lasttotarget);
            // ProcessHandler.ProcessHandlers();
            // Misc.BubbaKush.DrawRect();
            //  BubbaKushPos.ResolveBubbaPosition.GetPosition();
            //WardSorter.HasPoachers();
            // WardSorter.Wards();
            //  Chat.Print(WardSorter.HasPoachers().ToString());
            //  Chat.Print(ItemReady(3711).ToString());
            if (Player.IsRecalling() || MenuGUI.IsChatOpen)
            {
                return;
            }

            if (GetBool("smiteenable", typeof(KeyBind)))
            {
                ActiveModes.Smite.AutoSmite();
            }
            if (GetBool("wardjump", typeof(KeyBind)))
            {
                EloBuddy.Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos);
                WardManager.WardJump.WardJumped(Player.Position.Extend(Game.CursorPos, 590), true, true);
            }

            if (GetBool("wardinsec", typeof(KeyBind)))
            {
                Insec.InsecTo.Insec();
            }

            if (GetBool("starcombo", typeof(KeyBind)))
            {
                ActiveModes.Star.StarCombo();
            }

            switch (Orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                ActiveModes.ComboMode.Combo();
                break;

            case Orbwalking.OrbwalkingMode.LaneClear:
                LaneClear.Lane();
                LaneClear.Lane2();
                JungleClear.Jungle();
                break;

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

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


            var target = TargetSelector.GetTarget(Q.Range + 800, TargetSelector.DamageType.Physical);

            if (target == null)
            {
                return;
            }
            target = TargetSelector.GetSelectedTarget() == null ? target : TargetSelector.SelectedTarget;

            if (target == null)
            {
                return;
            }

            //Console.WriteLine(target.Buffs.Where(x => x.Name.ToLower().Contains("blindmonkqone")).Any());
            LastQ(target);
            CanWardFlash(target);
        }
Exemplo n.º 2
0
        public static void OnUpdated(EventArgs args)
        {
            if (Player.IsRecalling() || MenuGUI.IsChatOpen)
            {
                return;
            }

            if (GetBool("smiteenable", typeof(KeyBind)))
            {
                ActiveModes.Smite.AutoSmite();
            }
            if (GetBool("wardjump", typeof(KeyBind)))
            {
                EloBuddy.Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos);
                WardManager.WardJump.WardJumped(Player.Position.Extend(Game.CursorPos, 590), true, true);
            }

            if (GetBool("wardinsec", typeof(KeyBind)))
            {
                Insec.InsecTo.Insec();
            }

            if (GetBool("starcombo", typeof(KeyBind)))
            {
                ActiveModes.Star.StarCombo();
            }

            switch (Orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                ActiveModes.ComboMode.Combo();
                break;

            case Orbwalking.OrbwalkingMode.LaneClear:
                LaneClear.Lane();
                LaneClear.Lane2();
                JungleClear.Jungle();
                break;

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

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


            var target = TargetSelector.GetTarget(Q.Range + 800, TargetSelector.DamageType.Physical);

            if (target == null)
            {
                return;
            }
            target = TargetSelector.GetSelectedTarget() == null ? target : TargetSelector.SelectedTarget;

            if (target == null)
            {
                return;
            }

            //Console.WriteLine(target.Buffs.Where(x => x.Name.ToLower().Contains("blindmonkqone")).Any());
            LastQ(target);
            CanWardFlash(target);
        }