Переглянути джерело

修复商店签到界面变动

yEs1do 1 рік тому
батько
коміт
3af96086e1

+ 4 - 4
tasks/DailyTrifles/assets.py

@@ -31,13 +31,13 @@ class DailyTriflesAssets:
 
 	# Image Rule Assets
 	# 礼包屋 
-	I_ROOM_GIFT = RuleImage(roi_front=(1152,644,52,53), roi_back=(1127,611,103,94), threshold=0.8, method="Template matching", file="./tasks/DailyTrifles/store/store_room_gift.png")
+	I_ROOM_GIFT = RuleImage(roi_front=(1138,658,52,40), roi_back=(1119,621,103,94), threshold=0.8, method="Template matching", file="./tasks/DailyTrifles/store/store_room_gift.png")
 	# description 
-	I_GIFT_RECOMMEND = RuleImage(roi_front=(1186,98,53,64), roi_back=(1172,83,83,306), threshold=0.7, method="Template matching", file="./tasks/DailyTrifles/store/store_gift_recommend.png")
+	I_GIFT_RECOMMEND = RuleImage(roi_front=(1183,454,53,64), roi_back=(1162,77,98,457), threshold=0.7, method="Template matching", file="./tasks/DailyTrifles/store/store_gift_recommend.png")
 	# 免费一抽 
-	I_GIFT_SIGN = RuleImage(roi_front=(236,129,306,218), roi_back=(236,129,306,218), threshold=0.8, method="Template matching", file="./tasks/DailyTrifles/store/store_gift_sign.png")
+	I_GIFT_SIGN = RuleImage(roi_front=(629,192,129,149), roi_back=(629,192,129,149), 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_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_special_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")
 

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

@@ -2,8 +2,8 @@
   {
     "itemName": "room_gift",
     "imageName": "store_room_gift.png",
-    "roiFront": "1152,644,52,53",
-    "roiBack": "1127,611,103,94",
+    "roiFront": "1138,658,52,40",
+    "roiBack": "1119,621,103,94",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "礼包屋"
@@ -11,8 +11,8 @@
   {
     "itemName": "gift_recommend",
     "imageName": "store_gift_recommend.png",
-    "roiFront": "1186,98,53,64",
-    "roiBack": "1172,83,83,306",
+    "roiFront": "1183,454,53,64",
+    "roiBack": "1162,77,98,457",
     "method": "Template matching",
     "threshold": 0.7,
     "description": "description"
@@ -20,15 +20,15 @@
   {
     "itemName": "gift_sign",
     "imageName": "store_gift_sign.png",
-    "roiFront": "236,129,306,218",
-    "roiBack": "236,129,306,218",
+    "roiFront": "629,192,129,149",
+    "roiBack": "629,192,129,149",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "免费一抽"
   },
   {
     "itemName": "special_sushi",
-    "imageName": "store_sushi.png",
+    "imageName": "store_special_sushi.png",
     "roiFront": "180,130,800,460",
     "roiBack": "180,130,800,460",
     "method": "Template matching",

BIN
tasks/DailyTrifles/store/store_gift_recommend.png


BIN
tasks/DailyTrifles/store/store_gift_sign.png


BIN
tasks/DailyTrifles/store/store_room_gift.png