Sfoglia il codice sorgente

fix(Hunt): Lower Netherworld challenge button threshold from 0.8 to 0.7 for new HD font compatibility

Neptine 5 mesi fa
parent
commit
46bb46e96e
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      tasks/Hunt/assets.py
  2. 1 1
      tasks/Hunt/netherworld/image.json

+ 1 - 1
tasks/Hunt/assets.py

@@ -37,7 +37,7 @@ class HuntAssets:
 	# 点击阴界之门 
 	I_NW = RuleImage(roi_front=(1060,602,100,100), roi_back=(1060,602,100,100), threshold=0.8, method="Template matching", file="./tasks/Hunt/netherworld/netherworld_nw.png")
 	# 点击挑战 
-	I_NW_CHALLAGE = RuleImage(roi_front=(306,590,171,63), roi_back=(306,590,171,63), threshold=0.8, method="Template matching", file="./tasks/Hunt/netherworld/netherworld_nw_challage.png")
+	I_NW_CHALLAGE = RuleImage(roi_front=(306,590,171,63), roi_back=(306,590,171,63), threshold=0.7, method="Template matching", file="./tasks/Hunt/netherworld/netherworld_nw_challage.png")
 	# 今日已挑战 
 	I_NW_DONE = RuleImage(roi_front=(308,600,156,41), roi_back=(308,600,156,41), threshold=0.9, method="Template matching", file="./tasks/Hunt/netherworld/netherworld_nw_done.png")
 

+ 1 - 1
tasks/Hunt/netherworld/image.json

@@ -14,7 +14,7 @@
     "roiFront": "306,590,171,63",
     "roiBack": "306,590,171,63",
     "method": "Template matching",
-    "threshold": 0.8,
+    "threshold": 0.7,
     "description": "点击挑战"
   },
   {