Просмотр исходного кода

fix: update interval=3 for I_UI_UNCHECK and I_UI_CONFIRM in check_and_invite

- GeneralInvite check_and_invite: I_UI_UNCHECK, I_UI_CONFIRM interval=3
- BondlingFairyland check_and_invite: I_UI_UNCHECK, I_UI_CONFIRM interval=3
- Fixes #1881
allesgutefy 1 месяц назад
Родитель
Сommit
e8df3ae0fd

+ 2 - 2
tasks/BondlingFairyland/general_invite.py

@@ -472,14 +472,14 @@ class GeneralInvite(BaseTask, BondlingFairylandAssets, GeneralInviteAssets):
                     self.screenshot()
                     if self.appear(self.I_UI_CHECK):
                         break
-                    if self.appear_then_click(self.I_UI_UNCHECK, interval=1):
+                    if self.appear_then_click(self.I_UI_UNCHECK, interval=3):
                         continue
         # 点击确认
         while 1:
             self.screenshot()
             if not self.appear(self.I_UI_CONFIRM):
                 break
-            if self.appear_then_click(self.I_UI_CONFIRM, interval=1):
+            if self.appear_then_click(self.I_UI_CONFIRM, interval=3):
                 continue
 
         return True

+ 2 - 2
tasks/Component/GeneralInvite/general_invite.py

@@ -542,14 +542,14 @@ class GeneralInvite(BaseTask, GeneralInviteAssets):
                     self.screenshot()
                     if self.appear(self.I_UI_CHECK):
                         break
-                    if self.appear_then_click(self.I_UI_UNCHECK, interval=1):
+                    if self.appear_then_click(self.I_UI_UNCHECK, interval=3):
                         continue
         # 点击确认
         while 1:
             self.screenshot()
             if not self.appear(self.I_UI_CONFIRM):
                 break
-            if self.appear_then_click(self.I_UI_CONFIRM, interval=1):
+            if self.appear_then_click(self.I_UI_CONFIRM, interval=3):
                 continue
 
         return True