assets.py 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. from module.atom.image import RuleImage
  2. from module.atom.click import RuleClick
  3. from module.atom.long_click import RuleLongClick
  4. from module.atom.swipe import RuleSwipe
  5. from module.atom.ocr import RuleOcr
  6. from module.atom.list import RuleList
  7. # This file was automatically generated by ./dev_tools/assets_extract.py.
  8. # Don't modify it manually.
  9. class TalismanPassAssets:
  10. # Image Rule Assets
  11. # 领取全部
  12. I_TP_GET_ALL = RuleImage(roi_front=(903,599,70,71), roi_back=(903,599,70,71), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_tp_get_all.png")
  13. # 任务 的右上方红点
  14. I_RED_POINT_TASK = RuleImage(roi_front=(1227,301,23,24), roi_back=(1210,289,66,58), threshold=0.7, method="Template matching", file="./tasks/TalismanPass/tp/tp_red_point_task.png")
  15. # 今日 的右上方红点
  16. I_RED_POINT_DAY = RuleImage(roi_front=(635,160,23,26), roi_back=(615,151,70,45), threshold=0.7, method="Template matching", file="./tasks/TalismanPass/tp/tp_red_point_day.png")
  17. # 本周 的右上方红点
  18. I_RED_POINT_WEEK = RuleImage(roi_front=(803,161,24,25), roi_back=(792,151,48,44), threshold=0.7, method="Template matching", file="./tasks/TalismanPass/tp/tp_red_point_week.png")
  19. # 等级奖励
  20. I_RED_POINT_LEVEL = RuleImage(roi_front=(1232,170,13,13), roi_back=(1202,156,58,65), threshold=0.7, method="Template matching", file="./tasks/TalismanPass/tp/tp_red_point_level.png")
  21. # 选择一号奖励
  22. I_TP_LEVEL_1 = RuleImage(roi_front=(203,435,122,59), roi_back=(203,435,122,59), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_tp_level_1.png")
  23. # 选择二号奖励
  24. I_TP_LEVEL_2 = RuleImage(roi_front=(577,435,122,55), roi_back=(577,435,122,55), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_tp_level_2.png")
  25. # 选择三号奖励
  26. I_TP_LEVEL_3 = RuleImage(roi_front=(967,433,109,61), roi_back=(967,433,109,61), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_tp_level_3.png")
  27. # 前往
  28. I_TP_GOTO = RuleImage(roi_front=(995,254,85,34), roi_back=(928,219,206,315), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_tp_goto.png")
  29. # 经验的
  30. I_TP_EXP = RuleImage(roi_front=(922,254,32,36), roi_back=(884,215,100,331), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_tp_exp.png")
  31. # 溢出确认
  32. I_OVERFLOW_CONFIRME = RuleImage(roi_front=(585,410,116,44), roi_back=(585,410,116,44), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_overflow_confirme.png")
  33. # 点击随机御魂
  34. I_TP_SOUL_1 = RuleImage(roi_front=(248,501,34,37), roi_back=(165,389,929,168), threshold=0.7, method="Template matching", file="./tasks/TalismanPass/tp/tp_tp_soul_1.png")
  35. # 选择中间第二个御魂
  36. I_TP_SOUL_2 = RuleImage(roi_front=(582,438,115,48), roi_back=(570,427,139,71), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_tp_soul_2.png")
  37. # 六星御魂标志
  38. I_TP_SOUL_3 = RuleImage(roi_front=(313,489,188,33), roi_back=(302,472,216,60), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_tp_soul_3.png")