Explorar el Código

fix(KekkaiActivation): Click the exit button twice

ryland hace 1 año
padre
commit
819557e234
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      tasks/KekkaiActivation/script_task.py

+ 4 - 1
tasks/KekkaiActivation/script_task.py

@@ -365,7 +365,10 @@ class ScriptTask(KU, KekkaiActivationAssets):
                 if not self.appear(self.I_REALM_SHIN):
                 if not self.appear(self.I_REALM_SHIN):
                     continue
                     continue
                 break
                 break
-            if self.appear_then_click(self.I_UI_BACK_BLUE, interval=2.5):
+            # 有时候退出动画太久点了两次退出,需要重新进入
+            if self.appear_then_click(self.I_GUILD_REALM, interval=1.5):
+                continue
+            if self.appear_then_click(self.I_UI_BACK_BLUE, interval=5.5):
                 continue
                 continue
 
 
     def harvest_card(self):
     def harvest_card(self):