mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Opt: Stop at RogueTeamNotPrepared so users can be informed
This commit is contained in:
parent
2b5ade4c6c
commit
3a22813ad5
@ -1,3 +1,4 @@
|
||||
from module.exception import ScriptError
|
||||
from module.logger import logger
|
||||
from tasks.battle_pass.keywords import KEYWORDS_BATTLE_PASS_QUEST
|
||||
from tasks.daily.keywords import KEYWORDS_DAILY_QUEST
|
||||
@ -20,8 +21,7 @@ class Rogue(RouteLoader, RogueEntry):
|
||||
except RogueTeamNotPrepared:
|
||||
logger.error(f'Please prepare your team in {self.config.RogueWorld_World} '
|
||||
f'and start rogue task at team preparation page')
|
||||
self.rogue_world_exit()
|
||||
return False
|
||||
raise ScriptError
|
||||
except RogueReachedWeeklyPointLimit:
|
||||
logger.hr('Reached rogue weekly point limit')
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user