Просмотр исходного кода

fix(RichMan): Expand click range #535

huangrunheng 2 лет назад
Родитель
Сommit
df11074195
3 измененных файлов с 4 добавлено и 3 удалено
  1. 1 0
      tasks/DemonEncounter/assets.py
  2. 1 1
      tasks/RichMan/assets.py
  3. 2 2
      tasks/RichMan/shrine/click.json

+ 1 - 0
tasks/DemonEncounter/assets.py

@@ -78,6 +78,7 @@ class DemonEncounterAssets:
 	# 50勾玉购买 
 	I_JADE_50 = RuleImage(roi_front=(420,226,444,262), roi_back=(420,226,444,262), threshold=0.8, method="Template matching", file="./tasks/DemonEncounter/demon/jade_50.png")
 
+
 	# Image Rule Assets
 	# 右侧的气球 
 	I_DE_BALLOON = RuleImage(roi_front=(1214,295,28,27), roi_back=(1198,269,81,266), threshold=0.8, method="Template matching", file="./tasks/DemonEncounter/demon/demon_de_balloon.png")

+ 1 - 1
tasks/RichMan/assets.py

@@ -301,7 +301,7 @@ class RichManAssets:
 
 	# Click Rule Assets
 	# description 
-	C_C_SHRINE = RuleClick(roi_front=(1098,261,56,100), roi_back=(1098,261,56,100), name="c_shrine")
+	C_C_SHRINE = RuleClick(roi_front=(1167,303,102,164), roi_back=(1167,303,102,164), name="c_shrine")
 
 
 	# Image Rule Assets

+ 2 - 2
tasks/RichMan/shrine/click.json

@@ -1,8 +1,8 @@
 [
   {
     "itemName": "c_shrine",
-    "roiFront": "1098,261,56,100",
-    "roiBack": "1098,261,56,100",
+    "roiFront": "1167,303,102,164",
+    "roiBack": "1167,303,102,164",
     "description": "description"
   }
 ]