private static async Task <bool> RunWait() { switch (WaitSettings.Instance.FateWaitMode) { case FateWaitMode.ReturnToAetheryte: await ReturnToAetheryte.HandleReturnToAetheryte(); return(true); case FateWaitMode.MoveToWaitLocation: await MoveToWaitLocation.HandleMoveToLocation(); return(true); case FateWaitMode.GrindMobs: await GrindMobs.HandleGrindMobs(); return(true); case FateWaitMode.WaitInPlace: await WaitInPlace.HandleWaitInPlace(); return(true); } return(false); }
internal static async Task <bool> Main() { if (CommonBehaviors.IsLoading) { return(false); } if (OracleClassManager.ZoneChangeNeeded()) { return(false); } OracleFateManager.DoNotWaitBeforeMovingFlag = false; switch (WaitSettings.Instance.FateWaitMode) { case FateWaitMode.ReturnToAetheryte: await ReturnToAetheryte.Main(); break; case FateWaitMode.MoveToWaitLocation: await MoveToWaitLocation.Main(); break; case FateWaitMode.GrindMobs: await GrindMobs.Main(); break; case FateWaitMode.WaitInPlace: await WaitInPlace.Main(); break; default: Logger.SendDebugLog("Cannot determine idle strategy, defaulting to 'Return to Aetheryte'."); await ReturnToAetheryte.Main(); break; } return(false); }