Browse Source

Merge pull request #1164 from yEs1do/fix(RyouAp)

修复寮种树活动导致无法收取寮体力
huangrunheng 1 year ago
parent
commit
418968ee3d
2 changed files with 4 additions and 4 deletions
  1. 2 2
      tasks/KekkaiUtilize/assets.py
  2. 2 2
      tasks/KekkaiUtilize/ku/image.json

+ 2 - 2
tasks/KekkaiUtilize/assets.py

@@ -20,9 +20,9 @@ class KekkaiUtilizeAssets:
 	# 神灶 
 	# 神灶 
 	I_GUILD_SHIRNE = RuleImage(roi_front=(872,624,60,62), roi_back=(872,624,60,62), threshold=0.8, method="Template matching", file="./tasks/KekkaiUtilize/ku/ku_guild_shirne.png")
 	I_GUILD_SHIRNE = RuleImage(roi_front=(872,624,60,62), roi_back=(872,624,60,62), threshold=0.8, method="Template matching", file="./tasks/KekkaiUtilize/ku/ku_guild_shirne.png")
 	# 寮体力 
 	# 寮体力 
-	I_GUILD_AP = RuleImage(roi_front=(483,314,22,22), roi_back=(290,224,393,218), threshold=0.8, method="Template matching", file="./tasks/KekkaiUtilize/ku/ku_guild_ap.png")
+	I_GUILD_AP = RuleImage(roi_front=(483,314,22,22), roi_back=(290,224,894,345), threshold=0.8, method="Template matching", file="./tasks/KekkaiUtilize/ku/ku_guild_ap.png")
 	# 寮资金 
 	# 寮资金 
-	I_GUILD_ASSETS = RuleImage(roi_front=(315,311,23,28), roi_back=(290,224,393,218), threshold=0.8, method="Template matching", file="./tasks/KekkaiUtilize/ku/ku_guild_assets.png")
+	I_GUILD_ASSETS = RuleImage(roi_front=(315,311,23,28), roi_back=(290,224,894,345), threshold=0.8, method="Template matching", file="./tasks/KekkaiUtilize/ku/ku_guild_assets.png")
 	# 领取寮资金 
 	# 领取寮资金 
 	I_GUILD_ASSETS_RECEIVE = RuleImage(roi_front=(565,426,144,63), roi_back=(565,426,144,63), threshold=0.8, method="Template matching", file="./tasks/KekkaiUtilize/ku/ku_guild_assets_receive.png")
 	I_GUILD_ASSETS_RECEIVE = RuleImage(roi_front=(565,426,144,63), roi_back=(565,426,144,63), threshold=0.8, method="Template matching", file="./tasks/KekkaiUtilize/ku/ku_guild_assets_receive.png")
 
 

+ 2 - 2
tasks/KekkaiUtilize/ku/image.json

@@ -39,7 +39,7 @@
     "itemName": "guild_ap",
     "itemName": "guild_ap",
     "imageName": "ku_guild_ap.png",
     "imageName": "ku_guild_ap.png",
     "roiFront": "483,314,22,22",
     "roiFront": "483,314,22,22",
-    "roiBack": "290,224,393,218",
+    "roiBack": "290,224,894,345",
     "method": "Template matching",
     "method": "Template matching",
     "threshold": 0.8,
     "threshold": 0.8,
     "description": "寮体力"
     "description": "寮体力"
@@ -48,7 +48,7 @@
     "itemName": "guild_assets",
     "itemName": "guild_assets",
     "imageName": "ku_guild_assets.png",
     "imageName": "ku_guild_assets.png",
     "roiFront": "315,311,23,28",
     "roiFront": "315,311,23,28",
-    "roiBack": "290,224,393,218",
+    "roiBack": "290,224,894,345",
     "method": "Template matching",
     "method": "Template matching",
     "threshold": 0.8,
     "threshold": 0.8,
     "description": "寮资金"
     "description": "寮资金"