| 12345678910111213141516171819202122232425262728293031323334 |
- 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 BudokaiTournamentAssets:
- # Click Rule Assets
- # Close cultivation drills boss detail
- C_BOSS_DETAIL_CLOSE = RuleClick(roi_front=(1182,73,47,43), roi_back=(1182,73,47,43), name="boss_detail_close")
- # Image Rule Assets
- # 自己发现
- I_IMG2 = RuleImage(roi_front=(225,70,60,54), roi_back=(187,48,152,432), threshold=0.8, method="Template matching", file="./tasks/BudokaiTournament/bt/bt_img2.png")
- # 开启挑战
- I_IMG3 = RuleImage(roi_front=(1108,530,70,82), roi_back=(1068,500,161,139), threshold=0.8, method="Template matching", file="./tasks/BudokaiTournament/bt/bt_img3.png")
- # 继续挑战
- I_IMG4 = RuleImage(roi_front=(1106,541,72,72), roi_back=(1076,414,170,234), threshold=0.8, method="Template matching", file="./tasks/BudokaiTournament/bt/bt_img4.png")
- #
- I_ITEM_5 = RuleImage(roi_front=(1186,215,42,37), roi_back=(1164,122,80,434), threshold=0.8, method="Template matching", file="./tasks/BudokaiTournament/bt/bt_item_5.png")
- #
- I_ITEM_6 = RuleImage(roi_front=(1186,215,42,37), roi_back=(1164,122,80,434), threshold=0.8, method="Template matching", file="./tasks/BudokaiTournament/bt/bt_item_6.png")
- #
- I_ITEM_7 = RuleImage(roi_front=(1186,215,42,37), roi_back=(1164,122,80,434), threshold=0.8, method="Template matching", file="./tasks/BudokaiTournament/bt/bt_item_7.png")
- # 搜寻
- I_IMG1 = RuleImage(roi_front=(1102,590,86,73), roi_back=(1059,547,161,139), threshold=0.8, method="Template matching", file="./tasks/BudokaiTournament/bt/bt_img1.png")
|