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

fix(DemonEncounter): 调整逢魔Boss挑战次数识别区域

yEs1do 2 месяцев назад
Родитель
Сommit
0450848efd
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      tasks/DemonEncounter/assets.py
  2. 2 2
      tasks/DemonEncounter/demon/ocr.json

+ 1 - 1
tasks/DemonEncounter/assets.py

@@ -126,7 +126,7 @@ class DemonEncounterAssets:
 	# 计数已经开启多少的 
 	O_DE_COUNTER = RuleOcr(roi=(1204,685,48,34), area=(1204,685,48,34), mode="DigitCounter", method="Default", keyword="", name="de_counter")
 	# 现世逢魔顶部今日挑战次数X/1的最小识别区, 0/1表示已打过直接结束 
-	O_DE_CHALLENGE_COUNT = RuleOcr(roi=(680,68,75,36), area=(680,68,75,36), mode="Full", method="Default", keyword="", name="de_challenge_count")
+	O_DE_CHALLENGE_COUNT = RuleOcr(roi=(705,68,45,36), area=(705,68,45,36), mode="Full", method="Default", keyword="", name="de_challenge_count")
 
 
 	# Click Rule Assets

+ 2 - 2
tasks/DemonEncounter/demon/ocr.json

@@ -10,8 +10,8 @@
   },
   {
     "itemName": "de_challenge_count",
-    "roiFront": "680,68,75,36",
-    "roiBack": "680,68,75,36",
+    "roiFront": "705,68,45,36",
+    "roiBack": "705,68,45,36",
     "mode": "Full",
     "method": "Default",
     "keyword": "",