|
|
@@ -336,7 +336,8 @@ class GeneralBattle(GeneralBuff, GeneralBattleAssets):
|
|
|
# 点击预设确认
|
|
|
while 1:
|
|
|
self.screenshot()
|
|
|
- if self.appear_then_click(self.I_PRESET_ENSURE, threshold=0.8):
|
|
|
+ if self.wait_until_appear(self, self.I_PRESET_ENSURE, wait_time=1):
|
|
|
+ self.click(self.I_PRESET_ENSURE)
|
|
|
continue
|
|
|
if not self.appear(self.I_PRESET_ENSURE):
|
|
|
break
|