public bool IsCombatRoutineMovementAllowed() { if (AllowMovement != AllowMovementType.Auto) { return(AllowMovement >= AllowMovementType.ClassSpecificOnly); } return(!SingularRoutine.IsBotInUse("LazyRaider") || !SingularRoutine.IsBotInUse("Raid Bot") || !SingularRoutine.IsBotInUse("Combat Bot")); }
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(); } }; }