1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 22:05:12 +00:00

fix(tc): add handle ui_additional

This commit is contained in:
YoursFunny 2023-12-07 18:24:09 +08:00
parent 16d78e1e16
commit f5cf0a7fbe
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C

View File

@ -41,6 +41,8 @@ class TacticalChallenge(TacticalChallengeUI):
def _handle_challenge(self, status): def _handle_challenge(self, status):
match status: match status:
case TCStatus.REWARD: case TCStatus.REWARD:
if self.ui_additional():
return status
if self.get_reward(): if self.get_reward():
return TCStatus.OCR return TCStatus.OCR
case TCStatus.OCR: case TCStatus.OCR: