Explorar el Código

fix 打开地域鬼王界面时 筛选框是打开状态,遮盖了check图片,导致切换到地狱鬼王界面时卡住

ChengRanORZ hace 2 años
padre
commit
dded9dd017

+ 1 - 1
tasks/GameUi/assets.py

@@ -71,7 +71,7 @@ class GameUiAssets:
 	# description 
 	# description 
 	I_CHECK_SECRET_ZONES = RuleImage(roi_front=(1145,592,110,119), roi_back=(1145,592,110,119), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_secret_zones.png")
 	I_CHECK_SECRET_ZONES = RuleImage(roi_front=(1145,592,110,119), roi_back=(1145,592,110,119), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_secret_zones.png")
 	# description 
 	# description 
-	I_CHECK_AREA_BOSS = RuleImage(roi_front=(1176,505,65,62), roi_back=(1159,487,101,106), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_area_boss.png")
+	I_CHECK_AREA_BOSS = RuleImage(roi_front=(20,320,150,130), roi_back=(20,320,150,130), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_area_boss.png")
 	# description 
 	# description 
 	I_CHECK_HEIAN_KITAN = RuleImage(roi_front=(27,48,47,39), roi_back=(27,48,47,39), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_heian_kitan.png")
 	I_CHECK_HEIAN_KITAN = RuleImage(roi_front=(27,48,47,39), roi_back=(27,48,47,39), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_check_heian_kitan.png")
 	# description 
 	# description 

BIN
tasks/GameUi/page/page_check_area_boss.png


+ 2 - 2
tasks/GameUi/page/page_img.json

@@ -182,8 +182,8 @@
   {
   {
     "itemName": "check_area_boss",
     "itemName": "check_area_boss",
     "imageName": "page_check_area_boss.png",
     "imageName": "page_check_area_boss.png",
-    "roiFront": "1176,505,65,62",
-    "roiBack": "1159,487,101,106",
+    "roiFront": "20,320,150,130",
+    "roiBack": "20,320,150,130",
     "method": "Template matching",
     "method": "Template matching",
     "threshold": 0.8,
     "threshold": 0.8,
     "description": "description"
     "description": "description"