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

fix(Dokan): 更新道馆内式神录和优先攻击选项的图像区域

yEs1do 11 месяцев назад
Родитель
Сommit
7a0a172250

+ 2 - 2
tasks/Dokan/assets.py

@@ -49,9 +49,9 @@ class DokanAssets:
 	# 是否已经成功进入道馆,上面中间的“道馆突破”文字 
 	I_RYOU_DOKAN_CHECK = RuleImage(roi_front=(567,15,144,42), roi_back=(567,15,144,42), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_check.png")
 	# 道馆内式神录 
-	I_RYOU_DOKAN_SHIKIGAMI = RuleImage(roi_front=(960,580,140,120), roi_back=(960,580,140,120), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_shikigami.png")
+	I_RYOU_DOKAN_SHIKIGAMI = RuleImage(roi_front=(989,640,85,67), roi_back=(989,640,85,67), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_shikigami.png")
 	# 优先攻击选项 
-	I_RYOU_DOKAN_ATTACK_PRIORITY = RuleImage(roi_front=(666,672,58,25), roi_back=(666,672,58,25), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_priority.png")
+	I_RYOU_DOKAN_ATTACK_PRIORITY = RuleImage(roi_front=(742,667,49,25), roi_back=(742,667,49,25), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_priority.png")
 	# 优先攻击: 见习 
 	I_RYOU_DOKAN_ATTACK_PRIORITY_0 = RuleImage(roi_front=(98,170,94,43), roi_back=(98,170,94,43), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_priority_0.png")
 	# 优先攻击: 初级 

+ 4 - 4
tasks/Dokan/res/image.json

@@ -38,8 +38,8 @@
   {
     "itemName": "ryou_dokan_shikigami",
     "imageName": "res_ryou_dokan_shikigami.png",
-    "roiFront": "960,580,140,120",
-    "roiBack": "960,580,140,120",
+    "roiFront": "989,640,85,67",
+    "roiBack": "989,640,85,67",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "道馆内式神录"
@@ -47,8 +47,8 @@
   {
     "itemName": "ryou_dokan_attack_priority",
     "imageName": "res_ryou_dokan_priority.png",
-    "roiFront": "666,672,58,25",
-    "roiBack": "666,672,58,25",
+    "roiFront": "742,667,49,25",
+    "roiBack": "742,667,49,25",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "优先攻击选项"

BIN
tasks/Dokan/res/res_ryou_dokan_priority.png


BIN
tasks/Dokan/res/res_ryou_dokan_shikigami.png