Fix: dossier reward receive (#4242)

This commit is contained in:
Air111 2024-10-01 17:35:36 +08:00 committed by GitHub
parent 8f83c07eb9
commit 0be4ce1c40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ class DossierReward(Combat, UI):
in: dossier meta page
"""
self.device.screenshot()
if self.appear(DOSSIER_REWARD_RECEIVE, offset=(100, 100), threshold=30):
if self.appear(DOSSIER_REWARD_RECEIVE, offset=(-40, 10, -10, 40), threshold=0.7):
logger.info('Found dossier reward red dot')
return True
else: