Parcourir la source

fix(SwitchSoul): Adjust swipe duration for improved target detection

Migs il y a 1 an
Parent
commit
27a4c07b20
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tasks/Component/SwitchSoul/switch_soul.py

+ 1 - 1
tasks/Component/SwitchSoul/switch_soul.py

@@ -239,7 +239,7 @@ class SwitchSoul(BaseTask, SwitchSoulAssets):
             # 有则跳出检测
             # 有则跳出检测
             if result and len(result) > 0:
             if result and len(result) > 0:
                 break
                 break
-            self.swipe(self.S_SS_TEAM_SWIPE_UP)
+            self.swipe(self.S_SS_TEAM_SWIPE_UP, 0.3)
         logger.info('Swipe up to find target team')
         logger.info('Swipe up to find target team')
 
 
         # 选中分组
         # 选中分组