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

fix(Task): Update image of PRESET_ENSURE

huangrunheng 3 лет назад
Родитель
Сommit
56065bbf4c

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

@@ -78,7 +78,7 @@ class GeneralBattleAssets:
 	# 失败 
 	# 失败 
 	I_FALSE = RuleImage(roi_front=(413,124,100,100), roi_back=(413,124,100,100), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralBattle/gb/gb_false.png")
 	I_FALSE = RuleImage(roi_front=(413,124,100,100), roi_back=(413,124,100,100), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralBattle/gb/gb_false.png")
 	# 确认预设的队伍 
 	# 确认预设的队伍 
-	I_PRESET_ENSURE = RuleImage(roi_front=(354,641,141,50), roi_back=(354,641,141,50), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralBattle/gb/gb_preset_ensure.png")
+	I_PRESET_ENSURE = RuleImage(roi_front=(352,643,141,50), roi_back=(305,625,236,83), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralBattle/gb/gb_preset_ensure.png")
 	# 选择buff 
 	# 选择buff 
 	I_BUFF = RuleImage(roi_front=(115,657,42,50), roi_back=(106,641,67,77), threshold=0.7, method="Template matching", file="./tasks/Component/GeneralBattle/gb/gb_buff.png")
 	I_BUFF = RuleImage(roi_front=(115,657,42,50), roi_back=(106,641,67,77), threshold=0.7, method="Template matching", file="./tasks/Component/GeneralBattle/gb/gb_buff.png")
 	# 觉醒加成 
 	# 觉醒加成 

BIN
tasks/Component/GeneralBattle/gb/gb_preset_ensure.png


+ 2 - 2
tasks/Component/GeneralBattle/gb/image.json

@@ -56,8 +56,8 @@
   {
   {
     "itemName": "preset_ensure",
     "itemName": "preset_ensure",
     "imageName": "gb_preset_ensure.png",
     "imageName": "gb_preset_ensure.png",
-    "roiFront": "354,641,141,50",
-    "roiBack": "354,641,141,50",
+    "roiFront": "352,643,141,50",
+    "roiBack": "305,625,236,83",
     "method": "Template matching",
     "method": "Template matching",
     "threshold": 0.8,
     "threshold": 0.8,
     "description": "确认预设的队伍"
     "description": "确认预设的队伍"