Browse Source

fix(task): update TalismanPass in version 66

runhey 3 years ago
parent
commit
3258d5b826

+ 1 - 1
tasks/TalismanPass/assets.py

@@ -20,7 +20,7 @@ class TalismanPassAssets:
 	# 本周 的右上方红点 
 	I_RED_POINT_WEEK = RuleImage(roi_front=(795,156,24,25), roi_back=(795,156,24,25), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_red_point_week.png")
 	# 等级奖励 
-	I_RED_POINT_LEVEL = RuleImage(roi_front=(1222,174,23,24), roi_back=(1222,174,23,24), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_red_point_level.png")
+	I_RED_POINT_LEVEL = RuleImage(roi_front=(1222,174,21,22), roi_back=(1214,165,40,43), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_red_point_level.png")
 	# 选择一号奖励 
 	I_TP_LEVEL_1 = RuleImage(roi_front=(203,435,122,59), roi_back=(203,435,122,59), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_tp_level_1.png")
 	# 选择二号奖励 

+ 2 - 2
tasks/TalismanPass/tp/image.json

@@ -38,8 +38,8 @@
   {
     "itemName": "red_point_level",
     "imageName": "tp_red_point_level.png",
-    "roiFront": "1222,174,23,24",
-    "roiBack": "1222,174,23,24",
+    "roiFront": "1222,174,21,22",
+    "roiBack": "1214,165,40,43",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "等级奖励"

BIN
tasks/TalismanPass/tp/tp_red_point_level.png