Пример #1
0
        private static void Game_OnTick(EventArgs args)
        {
            var orbMode               = Orbwalker.ActiveModesFlags;
            var playerMana            = Player.Instance.ManaPercent;
            var harassSettingsType    = (Self.Level >= HarassMenu.GetSliderValue("lateGameLevelSlider")) ? "LateGame" : "";
            var laneClearSettingsType = (Self.Level >= LaneClearMenu.GetSliderValue("lateGameLevelSlider")) ? "LateGame" : "";

            Active.Execute();

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Harass) && playerMana > HarassMenu.GetSliderValue("manaSlider" + harassSettingsType))
            {
                Harass.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider" + laneClearSettingsType))
            {
                LaneClear.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider"))
            {
                JungleClear.Execute();
            }
        }
Пример #2
0
        public override void Jungleclear()
        {
            var target = E.GetJungleMinion();

            if (JungleClearMenu.GetSliderValue(JunglesMenuID + "mana") >= Player.Instance.ManaPercent)
            {
                return;
            }
            if (JungleClearMenu.GetCheckBoxValue(JunglesMenuID + "Q"))
            {
                Q.TryCast(target);
            }
            if (JungleClearMenu.GetCheckBoxValue(JunglesMenuID + "W"))
            {
                W.TryCast(target);
            }
            if (JungleClearMenu.GetCheckBoxValue(JunglesMenuID + "E"))
            {
                E.TryCast(target);
            }
            if (JungleClearMenu.GetCheckBoxValue(JunglesMenuID + "R"))
            {
                R.TryCast(target);
            }
        }
Пример #3
0
        private static void Game_OnTick(EventArgs args)
        {
            var orbMode    = Orbwalker.ActiveModesFlags;
            var playerMana = Player.Instance.ManaPercent;

            Active.Execute();

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Flee))
            {
                Flee.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider"))
            {
                LaneClear.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider"))
            {
                JungleClear.Execute();
            }

            if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider"))
            {
                AutoHarass.Execute();
            }
        }
Пример #4
0
        /// <summary>
        /// Put in here what you want to do when the mode is running
        /// </summary>
        public static void Execute()
        {
            var monsters =
                EntityManager.MinionsAndMonsters.GetJungleMonsters().Where(m => m.IsValidTarget(W.Range)).ToArray();

            if (monsters.Length == 0)
            {
                return;
            }
            var pos = EntityManager.MinionsAndMonsters.GetLineFarmLocation(monsters, W.Width, (int)W.Range);

            if (pos.HitNumber >= JungleClearMenu.GetSliderValue("wMONSTER"))
            {
                W.TryToCast(pos.CastPosition, JungleClearMenu);
            }
        }
Пример #5
0
        private static void Game_OnTick(EventArgs args)
        {
            var orbMode    = Orbwalker.ActiveModesFlags;
            var playerMana = Player.Instance.ManaPercent;

            Active.Execute();

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo.Execute();
                Program.AAResetCombo();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) && playerMana > LasthitMenu.GetSliderValue("manaSlider"))
            {
                LastHit.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Flee))
            {
                Flee.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider"))
            {
                LaneClear.Execute();
                Program.AAResetLane();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider"))
            {
                JungleClear.Execute();
                Program.AAResetLane();
            }

            AutoHarass.Execute();

            if (Program.check(MiscMenu, "skinhax"))
            {
                Program._player.SetSkinId((int)MiscMenu["skinID"].Cast <ComboBox>().CurrentValue);
            }
            if (Program.check(MiscMenu, "lvlup"))
            {
                Program.LevelUpSpells();
            }
        }
Пример #6
0
        private static void Game_OnTick(EventArgs args)
        {
            var orbMode    = Orbwalker.ActiveModesFlags;
            var playerMana = Player.Instance.ManaPercent;

            if (UltimateFollower && Program.Champion.HasBuff("VelkozR"))
            {
                Program.UltFollowMode();
            }
            if (RoninVelkoz.Menus.StackMode)
            {
                Program.StackMode();
            }
            Active.Execute();

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Harass) && playerMana > HarassMenu.GetSliderValue("manaSlider"))
            {
                Harass.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) && playerMana > LasthitMenu.GetSliderValue("manaSlider"))
            {
                LastHit.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider"))
            {
                LaneClear.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider"))
            {
                JungleClear.Execute();
            }

            if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider") && AutoHarassMenu.GetKeyBindValue("autoHarassKey"))
            {
                AutoHarass.Execute();
            }
        }
Пример #7
0
        /// <summary>
        /// This event is triggered every tick of the game
        /// </summary>
        /// <param name="args"></param>
        private static void Game_OnTick(EventArgs args)
        {
            var orbMode    = Orbwalker.ActiveModesFlags;
            var playerMana = Player.Instance.ManaPercent;

            Active.Execute();

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Harass) && playerMana > HarassMenu.GetSliderValue("manaSlider"))
            {
                Harass.Execute();
            }

            //if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) && playerMana > LasthitMenu.GetSliderValue("manaSlider"))
            //{
            //    LastHit.Execute();
            //}

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider"))
            {
                LaneClear.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider"))
            {
                JungleClear.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Flee))
            {
                Flee.Execute();
            }

            //if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider") && AutoHarassMenu.GetKeyBindValue("autoHarassKey"))
            //{
            //    AutoHarass.Execute();
            //}
        }
Пример #8
0
        /// <summary>
        /// This event is triggered every tick of the game
        /// </summary>
        /// <param name="args"></param>
        private static void Game_OnTick(EventArgs args)
        {
            var orbMode    = Orbwalker.ActiveModesFlags;
            var playerMana = Azir.ManaPercent;

            Active.Execute();

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Harass) && playerMana > HarassMenu.GetSliderValue("manaSlider"))
            {
                Harass.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) && playerMana > LasthitMenu.GetSliderValue("manaSlider"))
            {
                LastHit.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider"))
            {
                LaneClear.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider"))
            {
                JungleClear.Execute();
            }

            if (AutoHarassMenu.GetKeyBindValue("autoHarassKey"))
            {
                if (Orbwalker.AzirSoldiers.Count >= 1 && AutoHarassMenu.GetCheckBoxValue("attack"))
                {
                    var target = TargetSelector.GetTarget(1250, DamageType.Magical);
                    if (target == null)
                    {
                        return;
                    }
                    SoldierAttack(target);
                }
                if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider"))
                {
                    AutoHarass.Execute();
                }
            }
            if (FleeMenu.GetKeyBindValue("insect"))
            {
                InSec.Normal();
            }

            if (FleeMenu.GetKeyBindValue("insected"))
            {
                InSec.New();
            }

            if (FleeMenu.GetKeyBindValue("flee"))
            {
                Flee.Execute();
            }
            KillSteal.Execute();
        }