jhhwhyqa 1 год назад
Родитель
Сommit
e07e9e3173

+ 13 - 0
tasks/Component/Costume/assets.py

@@ -62,6 +62,19 @@ class CostumeAssets:
 	I_PET_HOUSE_12 = RuleImage(roi_front=(832,275,31,25), roi_back=(742,240,176,109), threshold=0.6, method="Template matching", file="./tasks/Component/Costume/main12/main12_pet_house_12.png")
 
 
+	# Image Rule Assets
+	# description 
+	I_PET_HOUSE_13 = RuleImage(roi_front=(811,271,58,34), roi_back=(810,269,60,37), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main13/main13_pet_house_13.png")
+	# description 
+	I_MAIN_GOTO_TOWN_13 = RuleImage(roi_front=(727,194,24,48), roi_back=(720,191,40,54), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main13/main13_main_goto_town_13.png")
+	# description 
+	I_MAIN_GOTO_SUMMON_13 = RuleImage(roi_front=(968,145,29,44), roi_back=(959,143,47,49), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main13/main13_main_goto_summon_13.png")
+	# description 
+	I_CHECK_MAIN_13 = RuleImage(roi_front=(806,273,64,31), roi_back=(805,273,67,31), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main13/main13_check_main_13.png")
+	# description 
+	I_MAIN_GOTO_EXPLORATION_13 = RuleImage(roi_front=(558,133,27,51), roi_back=(556,133,31,51), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main13/main13_main_goto_exploration_13.png")
+
+
 	# Image Rule Assets
 	# description 
 	I_CHECK_MAIN_2 = RuleImage(roi_front=(1090,146,48,55), roi_back=(880,108,271,100), threshold=0.8, method="Template matching", file="./tasks/Component/Costume/main2/main2_check_main_2.png")

+ 1 - 0
tasks/Component/Costume/config.py

@@ -19,6 +19,7 @@ class MainType(str, Enum):
     COSTUME_MAIN_10 = 'costume_main_10'  # 望月幽庭
     COSTUME_MAIN_11 = 'costume_main_11'  # 鏖刀禁府
     COSTUME_MAIN_12 = 'costume_main_12'  # 龙吟溯玉
+    COSTUME_MAIN_13 = 'costume_main_13'  # 云景阆苑
 
 # 结界皮肤
 class RealmType(str, Enum):

+ 1 - 1
tasks/Component/Costume/costume_base.py

@@ -21,7 +21,7 @@ main_costume_model = {
         'I_MAIN_GOTO_SUMMON': f'I_MAIN_GOTO_SUMMON_{i}',
         'I_MAIN_GOTO_TOWN': f'I_MAIN_GOTO_TOWN_{i}',
         'I_PET_HOUSE': f'I_PET_HOUSE_{i}'
-    } for i in range(1, 13)
+    } for i in range(1, 14)
 }
 
 

+ 47 - 0
tasks/Component/Costume/main13/image.json

@@ -0,0 +1,47 @@
+[
+  {
+    "itemName": "pet_house_13",
+    "imageName": "main13_pet_house_13.png",
+    "roiFront": "811,271,58,34",
+    "roiBack": "810,269,60,37",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "description"
+  },
+  {
+    "itemName": "main_goto_town_13",
+    "imageName": "main13_main_goto_town_13.png",
+    "roiFront": "727,194,24,48",
+    "roiBack": "720,191,40,54",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "description"
+  },
+  {
+    "itemName": "main_goto_summon_13",
+    "imageName": "main13_main_goto_summon_13.png",
+    "roiFront": "968,145,29,44",
+    "roiBack": "959,143,47,49",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "description"
+  },
+  {
+    "itemName": "check_main_13",
+    "imageName": "main13_check_main_13.png",
+    "roiFront": "806,273,64,31",
+    "roiBack": "805,273,67,31",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "description"
+  },
+  {
+    "itemName": "main_goto_exploration_13",
+    "imageName": "main13_main_goto_exploration_13.png",
+    "roiFront": "558,133,27,51",
+    "roiBack": "556,133,31,51",
+    "method": "Template matching",
+    "threshold": 0.8,
+    "description": "description"
+  }
+]

BIN
tasks/Component/Costume/main13/main13_check_main_13.png


BIN
tasks/Component/Costume/main13/main13_main_goto_exploration_13.png


BIN
tasks/Component/Costume/main13/main13_main_goto_summon_13.png


BIN
tasks/Component/Costume/main13/main13_main_goto_town_13.png


BIN
tasks/Component/Costume/main13/main13_pet_house_13.png