Sfoglia il codice sorgente

Merge pull request #411 from ohspecial/feat1

修复六道、契灵入口
huangrunheng 2 anni fa
parent
commit
3541d4f4d1
2 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 2 2
      tasks/GameUi/assets.py
  2. 3 3
      tasks/GameUi/page/page_img.json

+ 2 - 2
tasks/GameUi/assets.py

@@ -53,9 +53,9 @@ class GameUiAssets:
 	# 平安奇谭 
 	I_EXPLORATION_GOTO_HEIAN_KITAN = RuleImage(roi_front=(739,643,52,44), roi_back=(739,643,52,44), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_exploration_goto_heian_kitan.png")
 	# 六道之门 
-	I_EXPLORATION_GOTO_SIX_GATES = RuleImage(roi_front=(838,640,60,49), roi_back=(793,632,143,66), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_exploration_goto_six_gates.png")
+	I_EXPLORATION_GOTO_SIX_GATES = RuleImage(roi_front=(838,640,60,49), roi_back=(818,631,200,66), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_exploration_goto_six_gates.png")
 	# 器灵 
-	I_EXPLORATION_GOTO_BONDLING_FAIRYLAND = RuleImage(roi_front=(937,639,61,54), roi_back=(937,639,61,54), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_exploration_goto_bondling_fairyland.png")
+	I_EXPLORATION_GOTO_BONDLING_FAIRYLAND = RuleImage(roi_front=(937,639,56,49), roi_back=(928,633,203,64), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_exploration_goto_bondling_fairyland.png")
 	# description 
 	I_BACK_BLUE = RuleImage(roi_front=(32,37,54,52), roi_back=(3,2,130,114), threshold=0.8, method="Template matching", file="./tasks/GameUi/page/page_back_blue.png")
 	# description 

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

@@ -102,7 +102,7 @@
     "itemName": "exploration_goto_six_gates",
     "imageName": "page_exploration_goto_six_gates.png",
     "roiFront": "838,640,60,49",
-    "roiBack": "793,632,143,66",
+    "roiBack": "818,631,200,66",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "六道之门"
@@ -110,8 +110,8 @@
   {
     "itemName": "exploration_goto_bondling_fairyland",
     "imageName": "page_exploration_goto_bondling_fairyland.png",
-    "roiFront": "937,639,61,54",
-    "roiBack": "937,639,61,54",
+    "roiFront": "937,639,56,49",
+    "roiBack": "928,633,203,64",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "器灵"