Esempio n. 1
0
        static void Game_OnUpdate(EventArgs args)
        {
            Mode_Actives.Active();
            Mode_Item.Active_Redemption();

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Mode_Combo.Combo();
                Mode_Item.Items_Use();
            }
            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
            {
                Mode_Harass.Harass();
            }
            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear))
            {
                Mode_Lane.Lane();
            }
            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
            {
                Mode_Jungle.Jungle();
            }
            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee))
            {
                Mode_Flee.Flee();
            }
        }
Esempio n. 2
0
        private static void Game_OnUpdate(EventArgs args)
        {
            if (Player.Instance.IsDead)
            {
                return;
            }

            Mode_Always.Always();

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

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

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear))
            {
                Mode_Lane.LaneClear();
            }

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
            {
                Mode_Jungle.JungleClear();
            }
        }
Esempio n. 3
0
        private static void OnGapcloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs args)
        {
            if (sender is AIHeroClient && sender.IsEnemy)
            {
                if (Status_CheckBox(M_Misc, "Misc_Gap_Q") && Player.Instance.Distance(args.Sender) <= SpellManager.Q.Range && SpellManager.Q.IsReady())
                {
                    var prediction = Mode_Combo.GetQPrediction(sender);

                    SpellManager.Q.Cast(prediction.CastPosition);
                }

                if (Status_CheckBox(M_Misc, "Misc_Gap_E") && Player.Instance.Distance(args.Sender) <= SpellManager.E.Range && SpellManager.E.IsReady())
                {
                    var prediction = SpellManager.E.GetPrediction(sender);

                    SpellManager.E.Cast(sender.Position);
                }
            }
        }