Sfoglia il codice sorgente

fix(GeneralInvite): Update invite confirmation ROI for wanted quests #1939

neptine 4 settimane fa
parent
commit
b1c7186c88

+ 1 - 1
tasks/Component/GeneralInvite/assets.py

@@ -46,7 +46,7 @@ class GeneralInviteAssets:
 	# 左上角退出 
 	I_BACK_YELLOW = RuleImage(roi_front=(19,13,58,55), roi_back=(19,13,58,55), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralInvite/gi/gi_back_yellow.png")
 	# 点击邀请 
-	I_INVITE_ENSURE = RuleImage(roi_front=(710,544,132,60), roi_back=(710,544,132,60), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralInvite/gi/gi_invite_ensure.png")
+	I_INVITE_ENSURE = RuleImage(roi_front=(517,553,132,60), roi_back=(473,505,409,121), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralInvite/gi/gi_invite_ensure.png")
 	# 判断是否点中好友了 
 	I_SELECTED = RuleImage(roi_front=(895,373,33,32), roi_back=(895,373,33,32), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralInvite/gi/gi_selected.png")
 	# 用来判断当前的列表是哪儿的 

+ 3 - 3
tasks/Component/GeneralInvite/gi/image.json

@@ -155,8 +155,8 @@
   {
     "itemName": "invite_ensure",
     "imageName": "gi_invite_ensure.png",
-    "roiFront": "710,544,132,60",
-    "roiBack": "710,544,132,60",
+    "roiFront": "517,553,132,60",
+    "roiBack": "473,505,409,121",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "点击邀请"
@@ -350,4 +350,4 @@
     "threshold": 0.8,
     "description": "房间左下角发言按钮(永生之海房间无表情按钮, 用此图识别)"
   }
-]
+]