private static void OnTick(EventArgs args)
        {
            if (Return.Activemode(Orbwalker.ActiveModes.Combo))
            {
                Combo.Execute();
            }

            if (Return.Activemode(Orbwalker.ActiveModes.Harass) || Return.HarassToggle)
            {
                Harass.Execute();
            }

            if (Return.Activemode(Orbwalker.ActiveModes.LaneClear))
            {
                Clear.Execute();
            }

            if (Return.Activemode(Orbwalker.ActiveModes.JungleClear))
            {
                Jungle.Execute();
            }

            if (Return.Activemode(Orbwalker.ActiveModes.LastHit))
            {
                Lasthit.Execute();
            }

            PermaActive.Execute();
        }
Exemple #2
0
        private static void OnUpdate(EventArgs args)
        {
            if (Config.SkinChanger && Player.Instance.SkinId != Config.SkinId)
            {
                Player.Instance.SetSkinId(Config.SkinId);
            }

            var currentModes = Orbwalker.ActiveModesFlags.ToString();

            if (currentModes.Contains(Orbwalker.ActiveModes.Combo.ToString()))
            {
                Combo.Execute();
            }

            if (currentModes.Contains(Orbwalker.ActiveModes.Harass.ToString()) || Config.HarassToggle)
            {
                Harass.Execute();
            }

            if (currentModes.Contains(Orbwalker.ActiveModes.LastHit.ToString()))
            {
                Lasthit.Execute();
            }

            if (currentModes.Contains(Orbwalker.ActiveModes.LaneClear.ToString()))
            {
                LaneClear.Execute();
            }

            if (currentModes.Contains(Orbwalker.ActiveModes.JungleClear.ToString()))
            {
                JungleClear.Execute();
            }

            Active.Initialize();
        }