Example #1
0
 private void LaunchRoutineSelect(object sender, RoutedEventArgs e)
 {
     RoutineManager.PreferedRoutine = "";
     RoutineManager.PickRoutine();
     System.Threading.Tasks.Task.Factory.StartNew(async() =>
     {
         await TreeRoot.StopGently(" " + "Preparing to switch Combat Routine.");
         BotManager.SetCurrent(BotManager.Bots.FirstOrDefault(r => r.Name == bot));
         TreeRoot.Start();
     });
 }
Example #2
0
        public override void OnPulse()
        {
            if (_pulseTimer.IsFinished && _inPvpArea != WorldManager.InPvP)
            {
                _inPvpArea = WorldManager.InPvP;
                _pulseTimer.Reset();

                RoutineManager.PreferedRoutine = "";
                RoutineManager.PickRoutine();
            }
        }