mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Opt: Wait until 80 when farming artifacts
This commit is contained in:
parent
abfd96a344
commit
3b11204fd9
@ -20,7 +20,11 @@ class Dungeon(DungeonUI, Combat):
|
||||
self.combat(team)
|
||||
|
||||
# Scheduler
|
||||
if dungeon.is_Cavern_of_Corrosion:
|
||||
limit = 80
|
||||
else:
|
||||
limit = 60
|
||||
# Recover 1 trailbaze power each 6 minutes
|
||||
cover = max(60 - self.state.TrailblazePower, 0) * 6
|
||||
logger.info(f'Currently has {self.state.TrailblazePower} Need {cover} minutes to reach 60')
|
||||
cover = max(limit - self.state.TrailblazePower, 0) * 6
|
||||
logger.info(f'Currently has {self.state.TrailblazePower} need {cover} minutes to reach {limit}')
|
||||
self.config.task_delay(minute=cover)
|
||||
|
Loading…
Reference in New Issue
Block a user