소스 검색

修复预设功能

yEs1do 2 년 전
부모
커밋
7e67e2eed3
1개의 변경된 파일과 1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tasks/Component/GeneralBattle/general_battle.py

+ 1 - 0
tasks/Component/GeneralBattle/general_battle.py

@@ -334,6 +334,7 @@ class GeneralBattle(GeneralBuff, GeneralBattleAssets):
         logger.info("Select preset team")
 
         # 点击预设确认
+        time.sleep(0.5)
         while 1:
             self.screenshot()
             if self.appear_then_click(self.I_PRESET_ENSURE, threshold=0.8):