Opt: Wait until 80 when farming artifacts

This commit is contained in:
LmeSzinc 2023-07-06 21:31:16 +08:00
parent abfd96a344
commit 3b11204fd9

View File

@ -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)