|
@@ -17,6 +17,8 @@ class CostumeBattleAssets:
|
|
|
I_EXIT_1 = RuleImage(roi_front=(21,20,27,31), roi_back=(21,20,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle1/battle1_exit_1.png")
|
|
I_EXIT_1 = RuleImage(roi_front=(21,20,27,31), roi_back=(21,20,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle1/battle1_exit_1.png")
|
|
|
# 左上角好友
|
|
# 左上角好友
|
|
|
I_FRIENDS_1 = RuleImage(roi_front=(88,18,35,34), roi_back=(88,18,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle1/battle1_friends_1.png")
|
|
I_FRIENDS_1 = RuleImage(roi_front=(88,18,35,34), roi_back=(88,18,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle1/battle1_friends_1.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_1 = RuleImage(roi_front=(231,14,37,39), roi_back=(210,1,147,72), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle1/battle1_battle_info_1.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -26,6 +28,8 @@ class CostumeBattleAssets:
|
|
|
I_FRIENDS_10 = RuleImage(roi_front=(90,14,35,37), roi_back=(90,14,35,37), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle10/battle10_friends_10.png")
|
|
I_FRIENDS_10 = RuleImage(roi_front=(90,14,35,37), roi_back=(90,14,35,37), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle10/battle10_friends_10.png")
|
|
|
# 指针
|
|
# 指针
|
|
|
I_LOCAL_10 = RuleImage(roi_front=(29,566,23,26), roi_back=(29,566,23,26), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle10/battle10_local_10.png")
|
|
I_LOCAL_10 = RuleImage(roi_front=(29,566,23,26), roi_back=(29,566,23,26), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle10/battle10_local_10.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_10 = RuleImage(roi_front=(232,17,33,34), roi_back=(208,0,147,58), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle10/battle10_battle_info_10.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -35,6 +39,8 @@ class CostumeBattleAssets:
|
|
|
I_FRIENDS_11 = RuleImage(roi_front=(90,14,30,28), roi_back=(90,14,40,40), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle11/battle11_friends_11.png")
|
|
I_FRIENDS_11 = RuleImage(roi_front=(90,14,30,28), roi_back=(90,14,40,40), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle11/battle11_friends_11.png")
|
|
|
# 指针
|
|
# 指针
|
|
|
I_LOCAL_11 = RuleImage(roi_front=(29,566,29,28), roi_back=(29,566,40,40), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle11/battle11_local_11.png")
|
|
I_LOCAL_11 = RuleImage(roi_front=(29,566,29,28), roi_back=(29,566,40,40), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle11/battle11_local_11.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_11 = RuleImage(roi_front=(235,21,29,28), roi_back=(142,0,169,71), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle11/battle11_battle_info_11.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -50,6 +56,42 @@ class CostumeBattleAssets:
|
|
|
I_DE_WIN_12 = RuleImage(roi_front=(390,30,46,88), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle12/battle12_de_win_12.png")
|
|
I_DE_WIN_12 = RuleImage(roi_front=(390,30,46,88), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle12/battle12_de_win_12.png")
|
|
|
# 失败
|
|
# 失败
|
|
|
I_FALSE_12 = RuleImage(roi_front=(390,30,58,86), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle12/battle12_false_12.png")
|
|
I_FALSE_12 = RuleImage(roi_front=(390,30,58,86), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle12/battle12_false_12.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_12 = RuleImage(roi_front=(234,17,32,32), roi_back=(215,0,142,58), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle12/battle12_battle_info_12.png")
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ # Image Rule Assets
|
|
|
|
|
+ # 左上角退出
|
|
|
|
|
+ I_EXIT_13 = RuleImage(roi_front=(25,20,22,25), roi_back=(10,10,69,48), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle13/battle13_exit_13.png")
|
|
|
|
|
+ # 左上角好友
|
|
|
|
|
+ I_FRIENDS_13 = RuleImage(roi_front=(98,15,22,30), roi_back=(74,10,71,47), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle13/battle13_friends_13.png")
|
|
|
|
|
+ # 指针
|
|
|
|
|
+ I_LOCAL_13 = RuleImage(roi_front=(29,566,28,28), roi_back=(29,566,40,40), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle13/battle13_local_13.png")
|
|
|
|
|
+ # 战斗胜利
|
|
|
|
|
+ I_WIN_13 = RuleImage(roi_front=(631,142,68,67), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle13/battle13_win_13.png")
|
|
|
|
|
+ # 针对封魔的特殊
|
|
|
|
|
+ I_DE_WIN_13 = RuleImage(roi_front=(577,59,73,49), roi_back=(386,0,480,231), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle13/battle13_de_win_13.png")
|
|
|
|
|
+ # 失败
|
|
|
|
|
+ I_FALSE_13 = RuleImage(roi_front=(550,152,58,77), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle13/battle13_false_13.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_13 = RuleImage(roi_front=(234,17,32,32), roi_back=(215,0,142,58), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle13/battle13_battle_info_13.png")
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ # Image Rule Assets
|
|
|
|
|
+ # 左上角退出
|
|
|
|
|
+ I_EXIT_14 = RuleImage(roi_front=(25,20,22,25), roi_back=(10,10,69,48), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle14/battle14_exit_14.png")
|
|
|
|
|
+ # 左上角好友
|
|
|
|
|
+ I_FRIENDS_14 = RuleImage(roi_front=(98,15,22,30), roi_back=(74,10,71,47), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle14/battle14_friends_14.png")
|
|
|
|
|
+ # 指针
|
|
|
|
|
+ I_LOCAL_14 = RuleImage(roi_front=(117,493,28,28), roi_back=(66,456,110,121), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle14/battle14_local_14.png")
|
|
|
|
|
+ # 战斗胜利
|
|
|
|
|
+ I_WIN_14 = RuleImage(roi_front=(544,190,68,67), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle14/battle14_win_14.png")
|
|
|
|
|
+ # 针对封魔的特殊
|
|
|
|
|
+ I_DE_WIN_14 = RuleImage(roi_front=(590,152,87,129), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle14/battle14_de_win_14.png")
|
|
|
|
|
+ # 失败
|
|
|
|
|
+ I_FALSE_14 = RuleImage(roi_front=(597,190,57,66), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle14/battle14_false_14.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_14 = RuleImage(roi_front=(234,17,32,32), roi_back=(215,0,142,58), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle14/battle14_battle_info_14.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -74,6 +116,8 @@ class CostumeBattleAssets:
|
|
|
I_EXIT_2 = RuleImage(roi_front=(17,16,35,34), roi_back=(17,16,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle2/battle2_exit_2.png")
|
|
I_EXIT_2 = RuleImage(roi_front=(17,16,35,34), roi_back=(17,16,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle2/battle2_exit_2.png")
|
|
|
# description
|
|
# description
|
|
|
I_FRIENDS_2 = RuleImage(roi_front=(88,15,34,39), roi_back=(88,15,34,39), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle2/battle2_friends_2.png")
|
|
I_FRIENDS_2 = RuleImage(roi_front=(88,15,34,39), roi_back=(88,15,34,39), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle2/battle2_friends_2.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_2 = RuleImage(roi_front=(232,17,34,36), roi_back=(211,0,145,61), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle2/battle2_battle_info_2.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -83,6 +127,8 @@ class CostumeBattleAssets:
|
|
|
I_EXIT_3 = RuleImage(roi_front=(23,18,27,31), roi_back=(23,18,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle3/battle3_exit_3.png")
|
|
I_EXIT_3 = RuleImage(roi_front=(23,18,27,31), roi_back=(23,18,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle3/battle3_exit_3.png")
|
|
|
# 左上角好友
|
|
# 左上角好友
|
|
|
I_FRIENDS_3 = RuleImage(roi_front=(89,17,35,34), roi_back=(89,17,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle3/battle3_friends_3.png")
|
|
I_FRIENDS_3 = RuleImage(roi_front=(89,17,35,34), roi_back=(89,17,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle3/battle3_friends_3.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_3 = RuleImage(roi_front=(233,17,35,35), roi_back=(211,0,145,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle3/battle3_battle_info_3.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -92,6 +138,8 @@ class CostumeBattleAssets:
|
|
|
I_EXIT_4 = RuleImage(roi_front=(22,17,27,31), roi_back=(22,17,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle4/battle4_exit_4.png")
|
|
I_EXIT_4 = RuleImage(roi_front=(22,17,27,31), roi_back=(22,17,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle4/battle4_exit_4.png")
|
|
|
# 左上角好友
|
|
# 左上角好友
|
|
|
I_FRIENDS_4 = RuleImage(roi_front=(88,16,35,34), roi_back=(88,16,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle4/battle4_friends_4.png")
|
|
I_FRIENDS_4 = RuleImage(roi_front=(88,16,35,34), roi_back=(88,16,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle4/battle4_friends_4.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_4 = RuleImage(roi_front=(234,18,33,33), roi_back=(212,0,139,59), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle4/battle4_battle_info_4.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -101,6 +149,8 @@ class CostumeBattleAssets:
|
|
|
I_EXIT_5 = RuleImage(roi_front=(22,17,27,31), roi_back=(22,17,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle5/battle5_exit_5.png")
|
|
I_EXIT_5 = RuleImage(roi_front=(22,17,27,31), roi_back=(22,17,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle5/battle5_exit_5.png")
|
|
|
# 左上角好友
|
|
# 左上角好友
|
|
|
I_FRIENDS_5 = RuleImage(roi_front=(90,17,35,34), roi_back=(90,17,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle5/battle5_friends_5.png")
|
|
I_FRIENDS_5 = RuleImage(roi_front=(90,17,35,34), roi_back=(90,17,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle5/battle5_friends_5.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_5 = RuleImage(roi_front=(233,18,31,31), roi_back=(212,0,147,57), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle5/battle5_battle_info_5.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -110,6 +160,8 @@ class CostumeBattleAssets:
|
|
|
I_EXIT_6 = RuleImage(roi_front=(22,17,27,31), roi_back=(22,17,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle6/battle6_exit_6.png")
|
|
I_EXIT_6 = RuleImage(roi_front=(22,17,27,31), roi_back=(22,17,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle6/battle6_exit_6.png")
|
|
|
# 左上角好友
|
|
# 左上角好友
|
|
|
I_FRIENDS_6 = RuleImage(roi_front=(89,18,35,34), roi_back=(89,18,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle6/battle6_friends_6.png")
|
|
I_FRIENDS_6 = RuleImage(roi_front=(89,18,35,34), roi_back=(89,18,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle6/battle6_friends_6.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_6 = RuleImage(roi_front=(233,18,32,31), roi_back=(213,0,144,57), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle6/battle6_battle_info_6.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -119,6 +171,8 @@ class CostumeBattleAssets:
|
|
|
I_EXIT_7 = RuleImage(roi_front=(22,17,27,31), roi_back=(22,17,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle7/battle7_exit_7.png")
|
|
I_EXIT_7 = RuleImage(roi_front=(22,17,27,31), roi_back=(22,17,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle7/battle7_exit_7.png")
|
|
|
# 左上角好友
|
|
# 左上角好友
|
|
|
I_FRIENDS_7 = RuleImage(roi_front=(89,18,35,34), roi_back=(89,18,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle7/battle7_friends_7.png")
|
|
I_FRIENDS_7 = RuleImage(roi_front=(89,18,35,34), roi_back=(89,18,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle7/battle7_friends_7.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_7 = RuleImage(roi_front=(232,16,33,33), roi_back=(214,0,141,57), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle7/battle7_battle_info_7.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -134,6 +188,8 @@ class CostumeBattleAssets:
|
|
|
I_DE_WIN_8 = RuleImage(roi_front=(392,99,100,100), roi_back=(239,36,399,198), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle8/battle8_de_win_8.png")
|
|
I_DE_WIN_8 = RuleImage(roi_front=(392,99,100,100), roi_back=(239,36,399,198), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle8/battle8_de_win_8.png")
|
|
|
# 失败
|
|
# 失败
|
|
|
I_FALSE_8 = RuleImage(roi_front=(384,106,100,100), roi_back=(346,96,184,120), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle8/battle8_false_8.png")
|
|
I_FALSE_8 = RuleImage(roi_front=(384,106,100,100), roi_back=(346,96,184,120), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle8/battle8_false_8.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_8 = RuleImage(roi_front=(232,17,32,33), roi_back=(212,0,143,57), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle8/battle8_battle_info_8.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -143,5 +199,7 @@ class CostumeBattleAssets:
|
|
|
I_FRIENDS_9 = RuleImage(roi_front=(93,15,31,36), roi_back=(93,15,31,36), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle9/battle9_friends_9.png")
|
|
I_FRIENDS_9 = RuleImage(roi_front=(93,15,31,36), roi_back=(93,15,31,36), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle9/battle9_friends_9.png")
|
|
|
# 指针
|
|
# 指针
|
|
|
I_LOCAL_9 = RuleImage(roi_front=(114,489,37,37), roi_back=(114,489,37,37), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle9/battle9_local_9.png")
|
|
I_LOCAL_9 = RuleImage(roi_front=(114,489,37,37), roi_back=(114,489,37,37), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle9/battle9_local_9.png")
|
|
|
|
|
+ # 战斗信息标识
|
|
|
|
|
+ I_BATTLE_INFO_9 = RuleImage(roi_front=(232,15,36,34), roi_back=(212,1,145,60), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle9/battle9_battle_info_9.png")
|
|
|
|
|
|
|
|
|
|
|