mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-29 11:03:18 +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)
|
self.combat(team)
|
||||||
|
|
||||||
# Scheduler
|
# Scheduler
|
||||||
|
if dungeon.is_Cavern_of_Corrosion:
|
||||||
|
limit = 80
|
||||||
|
else:
|
||||||
|
limit = 60
|
||||||
# Recover 1 trailbaze power each 6 minutes
|
# Recover 1 trailbaze power each 6 minutes
|
||||||
cover = max(60 - self.state.TrailblazePower, 0) * 6
|
cover = max(limit - self.state.TrailblazePower, 0) * 6
|
||||||
logger.info(f'Currently has {self.state.TrailblazePower} Need {cover} minutes to reach 60')
|
logger.info(f'Currently has {self.state.TrailblazePower} need {cover} minutes to reach {limit}')
|
||||||
self.config.task_delay(minute=cover)
|
self.config.task_delay(minute=cover)
|
||||||
|
Loading…
Reference in New Issue
Block a user