Sfoglia il codice sorgente

扩大选择范围

yEs1do 1 anno fa
parent
commit
73a733cf17
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 2 2
      tasks/DailyTrifles/assets.py
  2. 2 2
      tasks/DailyTrifles/store/image.json

+ 2 - 2
tasks/DailyTrifles/assets.py

@@ -34,8 +34,8 @@ class DailyTriflesAssets:
 	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=(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=(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_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")
 	# 购买时货币类型为勾玉 

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

@@ -21,10 +21,10 @@
     "itemName": "gift_sign",
     "imageName": "store_gift_sign.png",
     "roiFront": "629,192,129,149",
-    "roiBack": "629,192,129,149",
+    "roiBack": "130,129,891,473",
     "method": "Template matching",
     "threshold": 0.8,
-    "description": "免费一抽"
+    "description": "免费一抽领黑蛋"
   },
   {
     "itemName": "special_sushi",