Пример #1
0
        public bool IsCombatRoutineMovementAllowed()
        {
            if (AllowMovement != AllowMovementType.Auto)
            {
                return(AllowMovement >= AllowMovementType.ClassSpecificOnly);
            }

            return(!SingularRoutine.IsBotInUse("LazyRaider") || !SingularRoutine.IsBotInUse("Raid Bot") || !SingularRoutine.IsBotInUse("Combat Bot"));
        }
Пример #2
0
 internal static void Init()
 {
     SingularRoutine.OnBotEvent += (src, arg) =>
     {
         IsManualMovementBotActive = SingularRoutine.IsBotInUse("LazyRaider", "Raid Bot", "Tyrael", "Enyo", "HazzNyo");
         if (arg.Event == SingularBotEvent.BotStarted)
         {
             MovementManager.Start();
         }
         else if (arg.Event == SingularBotEvent.BotStopped)
         {
             MovementManager.Stop();
         }
         else if (arg.Event == SingularBotEvent.BotChanged)
         {
             MovementManager.Change();
         }
     };
 }