Esempio n. 1
0
        private static void Game_OnTick(EventArgs args)
        {
            if (Player.IsRecalling())
            {
                return;
            }
            if (Lc[Player.ChampionName + "Enable"].Cast <KeyBind>().CurrentValue ||
                Lc[Player.ChampionName + "Enableactive"].Cast <KeyBind>().CurrentValue)
            {
                if (Lc[Player.ChampionName + "combo"].Cast <CheckBox>().CurrentValue &&
                    Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
                {
                    return;
                }

                if (Lc[Player.ChampionName + "harass"].Cast <CheckBox>().CurrentValue &&
                    Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
                {
                    return;
                }

                LaneClear.Clear();
            }

            if (Lh[Player.ChampionName + "Enable"].Cast <KeyBind>().CurrentValue ||
                Lh[Player.ChampionName + "Enableactive"].Cast <KeyBind>().CurrentValue)
            {
                if (Lh[Player.ChampionName + "combo"].Cast <CheckBox>().CurrentValue &&
                    Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
                {
                    return;
                }

                if (Lh[Player.ChampionName + "harass"].Cast <CheckBox>().CurrentValue &&
                    Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
                {
                    return;
                }

                LastHit.Last();
            }
        }