From 9fd1d76392860f12754e5529e49525b1acdd24f3 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Mon, 3 Jun 2024 21:28:03 +0800 Subject: [PATCH] Opt: Disable WeeklyFarming on cloud game --- tasks/rogue/entry/entry.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/rogue/entry/entry.py b/tasks/rogue/entry/entry.py index 12856df89..2e87c5e2c 100644 --- a/tasks/rogue/entry/entry.py +++ b/tasks/rogue/entry/entry.py @@ -377,6 +377,9 @@ class RogueEntry(RouteBase, RogueRewardHandler, RoguePathHandler, DungeonUI): 'Reached weekly point limit but still continue to farm materials') logger.attr( "Farming Counter", self.config.stored.SimulatedUniverseFarm.to_counter()) + if self.config.is_cloud_game and not self.config.stored.CloudRemainSeasonPass: + logger.warning('Running WeeklyFarming on cloud game without season pass may cause fee, skip') + raise RogueReachedWeeklyPointLimit else: raise RogueReachedWeeklyPointLimit else: