Add: Schedule task rogue

This commit is contained in:
LmeSzinc 2023-10-21 02:25:18 +08:00
parent ad3d90239e
commit 4d464aad75
2 changed files with 5 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class RogueReward(RogueUI, CombatInteract):
self.device.click(REWARD_CLOSE) self.device.click(REWARD_CLOSE)
self.interval_reset(USE_STAMINA) self.interval_reset(USE_STAMINA)
confirm.reset() confirm.reset()
continue break
def can_claim_domain_reward( def can_claim_domain_reward(
self, self,

View File

@ -43,6 +43,10 @@ class Rogue(RouteLoader, RogueEntry):
if not success: if not success:
break break
# Scheduler
if self.config.task_switched():
self.config.task_stop()
self.config.task_delay(server_update=True) self.config.task_delay(server_update=True)