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 TalismanPassAssets: # Image Rule Assets # 花合战任务页签 I_TASK_TAB = RuleImage(roi_front=(1198,328,36,73), roi_back=(1185,307,64,117), threshold=0.8, method="Template matching", file="./tasks/TalismanPass/tp/tp_task_tab.png") # 领取全部 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") # 任务 的右上方红点 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") # 今日 的右上方红点 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") # 本周 的右上方红点 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") # 等级奖励 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") # 选择一号奖励 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") # 选择二号奖励 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") # 选择三号奖励 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") # 前往 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") # 经验的 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") # 溢出确认 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") # 点击随机御魂 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") # 选择中间第二个御魂 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") # 六星御魂标志 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")