| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- from module.atom.image import RuleImage
- from module.atom.click import RuleClick
- from module.atom.long_click import RuleLongClick
- from module.atom.swipe import RuleSwipe
- from module.atom.ocr import RuleOcr
- from module.atom.list import RuleList
- # This file was automatically generated by ./dev_tools/assets_extract.py.
- # Don't modify it manually.
- class CostumeBattleAssets:
- # Image Rule Assets
- # 指针
- I_LOCAL_1 = RuleImage(roi_front=(119,493,23,25), roi_back=(119,493,23,25), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle1/battle1_local_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_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
- # 左上角退出
- I_EXIT_10 = RuleImage(roi_front=(16,15,38,36), roi_back=(16,15,38,36), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle10/battle10_exit_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_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
- # 左上角退出
- I_EXIT_11 = RuleImage(roi_front=(16,15,31,34), roi_back=(16,15,40,40), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle11/battle11_exit_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_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
- # 左上角退出
- I_EXIT_12 = RuleImage(roi_front=(16,15,22,25), roi_back=(16,15,40,40), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle12/battle12_exit_12.png")
- # 左上角好友
- I_FRIENDS_12 = RuleImage(roi_front=(90,14,22,30), roi_back=(90,14,40,40), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle12/battle12_friends_12.png")
- # 指针
- I_LOCAL_12 = RuleImage(roi_front=(29,566,28,28), roi_back=(29,566,40,40), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle12/battle12_local_12.png")
- # 战斗胜利
- I_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_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_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
- # 左上角退出
- I_EXIT_15 = RuleImage(roi_front=(25,20,22,25), roi_back=(10,10,69,48), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle15/battle15_exit_15.png")
- # 左上角好友
- I_FRIENDS_15 = RuleImage(roi_front=(98,15,22,30), roi_back=(74,10,71,47), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle15/battle15_friends_15.png")
- # 指针
- I_LOCAL_15 = RuleImage(roi_front=(25,561,28,37), roi_back=(9,485,110,121), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle15/battle15_local_15.png")
- # 战斗胜利
- I_WIN_15 = RuleImage(roi_front=(544,190,68,67), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle15/battle15_win_15.png")
- # 针对封魔的特殊
- I_DE_WIN_15 = RuleImage(roi_front=(590,152,87,129), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle15/battle15_de_win_15.png")
- # 失败
- I_FALSE_15 = RuleImage(roi_front=(597,190,57,66), roi_back=(390,30,510,290), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle15/battle15_false_15.png")
- # 战斗信息标识
- I_BATTLE_INFO_15 = RuleImage(roi_front=(234,17,32,32), roi_back=(215,0,142,58), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle15/battle15_battle_info_15.png")
- # Image Rule Assets
- # description
- I_LOCAL_2 = RuleImage(roi_front=(30,569,21,22), roi_back=(30,569,21,22), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle2/battle2_local_2.png")
- # description
- 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
- 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
- # 指针
- I_LOCAL_3 = RuleImage(roi_front=(29,567,23,25), roi_back=(29,567,23,25), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle3/battle3_local_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_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
- # 指针
- I_LOCAL_4 = RuleImage(roi_front=(29,567,23,25), roi_back=(29,567,23,25), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle4/battle4_local_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_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
- # 指针
- I_LOCAL_5 = RuleImage(roi_front=(30,567,23,25), roi_back=(30,567,23,25), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle5/battle5_local_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_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
- # 指针
- I_LOCAL_6 = RuleImage(roi_front=(30,566,23,25), roi_back=(30,566,23,25), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle6/battle6_local_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_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
- # 指针
- I_LOCAL_7 = RuleImage(roi_front=(30,566,23,25), roi_back=(30,566,23,25), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle7/battle7_local_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_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
- # 指针
- I_LOCAL_8 = RuleImage(roi_front=(30,566,23,25), roi_back=(30,566,23,25), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle8/battle8_local_8.png")
- # 左上角退出
- I_EXIT_8 = RuleImage(roi_front=(22,17,27,31), roi_back=(22,17,27,31), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle8/battle8_exit_8.png")
- # 左上角好友
- I_FRIENDS_8 = RuleImage(roi_front=(89,18,35,34), roi_back=(89,18,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle8/battle8_friends_8.png")
- # 战斗胜利
- I_WIN_8 = RuleImage(roi_front=(391,100,100,100), roi_back=(296,33,414,224), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle8/battle8_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_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
- # 左上角退出
- I_EXIT_9 = RuleImage(roi_front=(20,17,35,34), roi_back=(20,17,35,34), threshold=0.8, method="Template matching", file="./tasks/Component/CostumeBattle/battle9/battle9_exit_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_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")
|