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

Merge pull request #946 from eiheihi/pr/4

日常勾玉购买体力的配置修复
huangrunheng 1 год назад
Родитель
Сommit
0ccfd9065b
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      tasks/DailyTrifles/assets.py
  2. 1 1
      tasks/DailyTrifles/store/image.json

+ 1 - 1
tasks/DailyTrifles/assets.py

@@ -37,7 +37,7 @@ class DailyTriflesAssets:
 	# 免费一抽领黑蛋 
 	I_GIFT_SIGN = RuleImage(roi_front=(629,192,129,149), roi_back=(130,129,891,473), threshold=0.8, method="Template matching", file="./tasks/DailyTrifles/store/store_gift_sign.png")
 	# 体力 
-	I_SPECIAL_SUSHI = RuleImage(roi_front=(180,130,800,460), roi_back=(180,130,800,460), threshold=0.8, method="Template matching", file="./tasks/DailyTrifles/store/store_special_sushi.png")
+	I_SPECIAL_SUSHI = RuleImage(roi_front=(180,130,800,460), roi_back=(180,130,800,460), threshold=0.8, method="Template matching", file="./tasks/DailyTrifles/store/store_sushi.png")
 	# 购买时货币类型为勾玉 
 	I_STORE_COST_TYPE_JADE = RuleImage(roi_front=(600,490,50,60), roi_back=(600,490,50,60), threshold=0.8, method="Template matching", file="./tasks/DailyTrifles/store/store_cost_type_jade.png")
 

+ 1 - 1
tasks/DailyTrifles/store/image.json

@@ -28,7 +28,7 @@
   },
   {
     "itemName": "special_sushi",
-    "imageName": "store_special_sushi.png",
+    "imageName": "store_sushi.png",
     "roiFront": "180,130,800,460",
     "roiBack": "180,130,800,460",
     "method": "Template matching",