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

Revert "add S_SWIPE_LEVEL_DOWN_PRO"

This reverts commit 372ef8f3b4de4c7c27a7911f31f7f84df7900a2c.
llBai 1 месяц назад
Родитель
Сommit
e56482caf7
2 измененных файлов с 1 добавлено и 2 удалено
  1. 0 1
      tasks/Exploration/assets.py
  2. 1 1
      tasks/Exploration/base.py

+ 0 - 1
tasks/Exploration/assets.py

@@ -162,7 +162,6 @@ class ExplorationAssets:
 	S_SWIPE_LEVEL_UP = RuleSwipe(roi_front=(1142,328,21,21), roi_back=(1143,444,21,21), mode="default", name="swipe_level_up")
 	# 向下滑动章节 
 	S_SWIPE_LEVEL_DOWN = RuleSwipe(roi_front=(1143,486,21,21), roi_back=(1143,367,21,23), mode="default", name="swipe_level_down")
-	S_SWIPE_LEVEL_DOWN_PRO = RuleSwipe(roi_front=(1143, 486, 21, 21), roi_back=(1143, 248, 21, 23), mode="default", name="swipe_level_down_pro")
 	# 往左滑动 
 	S_SWIPE_BACKGROUND_RIGHT = RuleSwipe(roi_front=(1093,148,21,21), roi_back=(397,140,21,21), mode="default", name="swipe_background_right")
 	# 往右滑动 

+ 1 - 1
tasks/Exploration/base.py

@@ -162,7 +162,7 @@ class BaseExploration(GameUi, GeneralBattle, GeneralRoom, GeneralInvite, Replace
             if self.appear_then_click(self.I_UI_CONFIRM_SAMLL, interval=1):
                 continue
             self.device.click_record_clear()
-            self.swipe(self.S_SWIPE_LEVEL_DOWN_PRO)
+            self.swipe(self.S_SWIPE_LEVEL_DOWN)
             swipeCount += 1
             debug_info = f"Swiped {swipeCount} times, current exploration level: {text1}"
             logger.info(debug_info)