Пример #1
0
 private static void Game_OnUpdate(EventArgs args)
 {
     KillSteal.Execute();
     Orbwalker.DisableMovement = IsFlee && Flee.Menu.GetCheckBoxValue("Movement");
     if (IsCombo)
     {
         Combo.Execute();
     }
     else if (IsHarass)
     {
         Harass.Execute();
     }
     else if (IsClear)
     {
         Clear.Execute();
     }
     else if (IsLastHit)
     {
         LastHit.Execute();
     }
     if (IsFlee)
     {
         Flee.Execute();
     }
 }
Пример #2
0
        public static void Game_OnGameUpdate(EventArgs args)
        {
            switch (Menu.Orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Combo.Run();
                break;

            case Orbwalking.OrbwalkingMode.LaneClear:
                LaneClear.Run();
                break;

            case Orbwalking.OrbwalkingMode.LastHit:
                LastHit.Run();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                Harass.Run();
                break;
            }

            if (Menu.root.Item("harassToggler").GetValue <KeyBind>().Active)
            {
                Harass.Run();
            }

            KillSteal.TryToKS();
            TryToSurvive();
        }