Пример #1
0
        private static void Game_OnTick(EventArgs args)
        {
            OffensiveOnTick();
            ConsumablesOnTick();
            IgniteOnTick();
            Revealer.OnTick();

            if (SettingsMenu.GetCheckBoxValue("dev"))
            {
                foreach (var a in EntityManager.Heroes.Allies.Where(a => a.IsInDanger(SettingsMenu, 80)))
                {
                    Chat.Print(a.ChampionName + " On danger");
                }
            }
        }
Пример #2
0
        private static void Game_OnTick(EventArgs args)
        {
            if (TickCount > Environment.TickCount)
            {
                return;
            }

            OffensiveOnTick();
            ConsumablesOnTick();
            IgniteOnTick();
            CastPoroThrower();
            Revealer.OnTick();

            if (SettingsMenu.GetCheckBoxValue("dev"))
            {
                foreach (var a in EntityManager.Heroes.Allies.Where(a => a.IsInDanger(80)))
                {
                    Chat.Print(a.ChampionName + " On danger");
                }
            }

            TickCount = Environment.TickCount + SettingsMenu.GetSliderValue("tickLimiter");
        }