Exemplo n.º 1
0
        /// <summary>
        ///     Jhin's On Update Event
        /// </summary>
        /// <param name="args">args</param>
        private static void JhinOnUpdate(EventArgs args)
        {
            #region Orbwalker & Modes

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

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) ||
                Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
            {
                Jungle.ExecuteJungle();
                Clear.ExecuteClear();
            }

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

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.None))
            {
                None.ImmobileExecute();
                None.KillSteal();
                None.TeleportE();
                Ultimate.ComboUltimate();
            }

            #endregion

            #region Check Ultimate

            if (ObjectManager.Player.IsActive(Spells.R))
            {
                Orbwalker.DisableMovement  = true;
                Orbwalker.DisableAttacking = true;
            }
            else
            {
                Orbwalker.DisableMovement  = false;
                Orbwalker.DisableAttacking = false;
            }

            #endregion
        }
Exemplo n.º 2
0
        /// <summary>
        /// Jhin's On Update Event
        /// </summary>
        /// <param name="args">args</param>
        private static void JhinOnUpdate(EventArgs args)
        {
            #region Orbwalker & Modes
            switch (Menus.Orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Combo.ExecuteCombo();
                break;

            case Orbwalking.OrbwalkingMode.LaneClear:
                Jungle.ExecuteJungle();
                Clear.ExecuteClear();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                Mixed.ExecuteHarass();
                break;

            case Orbwalking.OrbwalkingMode.None:
                None.ImmobileExecute();
                None.KillSteal();
                None.TeleportE();
                Ultimate.ComboUltimate();
                break;
            }
            #endregion

            #region Check Ultimate
            if (ObjectManager.Player.IsActive(Spells.R))
            {
                Menus.Orbwalker.SetAttack(false);
                Menus.Orbwalker.SetMovement(false);
            }
            else
            {
                Menus.Orbwalker.SetAttack(true);
                Menus.Orbwalker.SetMovement(true);
            }
            #endregion
        }