@@ -52,6 +52,10 @@ class WantedQuestsAssets:
52
52
O_WQ_INFO_3 = RuleOcr (roi = (612 ,376 ,305 ,44 ), area = (612 ,376 ,305 ,44 ), mode = "Single" , method = "Default" , keyword = "" , name = "wq_info_3" )
53
53
# Ocr-description
54
54
O_WQ_INFO_4 = RuleOcr (roi = (613 ,446 ,315 ,44 ), area = (613 ,446 ,315 ,44 ), mode = "Single" , method = "Default" , keyword = "" , name = "wq_info_4" )
55
+ # 怪物名称,如酒吞,阎魔等
56
+ O_WQ_MONSTER_TYPE = RuleOcr (roi = (165 ,215 ,45 ,175 ), area = (165 ,215 ,45 ,175 ), mode = "Full" , method = "Default" , keyword = "" , name = "wq_monster_type" )
57
+ #
58
+ O_WQ_TEXT_ALL = RuleOcr (roi = (20 ,140 ,110 ,390 ), area = (20 ,140 ,110 ,390 ), mode = "Full" , method = "Default" , keyword = "" , name = "wq_text_all" )
55
59
56
60
57
61
# Image Rule Assets
@@ -166,6 +170,8 @@ class WantedQuestsAssets:
166
170
I_WQ_TRACE_ONE_CHECK_OPENED = RuleImage (roi_front = (510 ,175 ,210 ,60 ), roi_back = (510 ,175 ,210 ,60 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/WantedQuests/wq/wq_trace_one_check_opened.png" )
167
171
# 庭院悬赏任务界面 单个任务点开后的界面 是否为现世任务标志
168
172
I_WQ_TRACE_ONE_REALWORLD = RuleImage (roi_front = (850 ,470 ,180 ,180 ), roi_back = (850 ,470 ,180 ,180 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/WantedQuests/wq/wq_trace_one_realworld.png" )
173
+ # 探索界面,左侧任务列表右上角右下角标志
174
+ I_WQ_LIST_TOP_BOTTOM_CHECK = RuleImage (roi_front = (120 ,125 ,25 ,425 ), roi_back = (120 ,125 ,25 ,425 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/WantedQuests/wq/wq_list_top_bottom_check.png" )
169
175
170
176
171
177
# Image Rule Assets
@@ -177,3 +183,8 @@ class WantedQuestsAssets:
177
183
I_WQ_NIAN = RuleImage (roi_front = (19 ,176 ,100 ,100 ), roi_back = (0 ,153 ,166 ,273 ), threshold = 0.8 , method = "Template matching" , file = "./tasks/WantedQuests/wq/wq_wq_nian.png" )
178
184
179
185
186
+ # Swipe Rule Assets
187
+ # 手指向上滑动
188
+ S_WQ_LIST_UP = RuleSwipe (roi_front = (60 ,250 ,2 ,4 ), roi_back = (65 ,200 ,2 ,4 ), mode = "default" , name = "wq_list_up" )
189
+
190
+
0 commit comments