|
@@ -36,6 +36,20 @@ class SixRealmsAssets:
|
|
|
C_NPC_FIRE_RIGHT = RuleClick(roi_front=(740,248,181,180), roi_back=(740,248,181,180), name="npc_fire_right")
|
|
C_NPC_FIRE_RIGHT = RuleClick(roi_front=(740,248,181,180), roi_back=(740,248,181,180), name="npc_fire_right")
|
|
|
# 中间的精英
|
|
# 中间的精英
|
|
|
C_NPC_FIRE_CENTER = RuleClick(roi_front=(620,188,174,217), roi_back=(620,188,174,217), name="npc_fire_center")
|
|
C_NPC_FIRE_CENTER = RuleClick(roi_front=(620,188,174,217), roi_back=(620,188,174,217), name="npc_fire_center")
|
|
|
|
|
+ # 默认的
|
|
|
|
|
+ C_ISLAND_ENTER = RuleClick(roi_front=(0,0,100,100), roi_back=(0,0,100,100), name="island_enter")
|
|
|
|
|
+ # 右数第一个
|
|
|
|
|
+ C_ISLAND_ENTER_1 = RuleClick(roi_front=(1012,349,136,221), roi_back=(1012,349,136,221), name="island_enter_1")
|
|
|
|
|
+ # description
|
|
|
|
|
+ C_ISLAND_ENTER_2 = RuleClick(roi_front=(825,341,143,224), roi_back=(825,341,143,224), name="island_enter_2")
|
|
|
|
|
+ # description
|
|
|
|
|
+ C_ISLAND_ENTER_3 = RuleClick(roi_front=(694,338,115,222), roi_back=(694,338,115,222), name="island_enter_3")
|
|
|
|
|
+ # description
|
|
|
|
|
+ C_ISLAND_ENTER_4 = RuleClick(roi_front=(501,323,141,243), roi_back=(501,323,141,243), name="island_enter_4")
|
|
|
|
|
+ # description
|
|
|
|
|
+ C_ISLAND_ENTER_5 = RuleClick(roi_front=(319,332,149,237), roi_back=(319,332,149,237), name="island_enter_5")
|
|
|
|
|
+ # description
|
|
|
|
|
+ C_ISLAND_ENTER_6 = RuleClick(roi_front=(162,265,136,302), roi_back=(162,265,136,302), name="island_enter_6")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -69,11 +83,15 @@ class SixRealmsAssets:
|
|
|
I_BACK_EXIT = RuleImage(roi_front=(11,18,51,47), roi_back=(0,0,100,100), threshold=0.8, method="Template matching", file="./tasks/SixRealms/gate1/gate1_back_exit.png")
|
|
I_BACK_EXIT = RuleImage(roi_front=(11,18,51,47), roi_back=(0,0,100,100), threshold=0.8, method="Template matching", file="./tasks/SixRealms/gate1/gate1_back_exit.png")
|
|
|
# 可以购买的幻息
|
|
# 可以购买的幻息
|
|
|
I_M_STORE_ACTIVITY = RuleImage(roi_front=(1121,596,72,57), roi_back=(1107,573,100,100), threshold=0.8, method="Template matching", file="./tasks/SixRealms/gate1/gate1_m_store_activity.png")
|
|
I_M_STORE_ACTIVITY = RuleImage(roi_front=(1121,596,72,57), roi_back=(1107,573,100,100), threshold=0.8, method="Template matching", file="./tasks/SixRealms/gate1/gate1_m_store_activity.png")
|
|
|
|
|
+ # description
|
|
|
|
|
+ I_MSTART_CONFIRM2 = RuleImage(roi_front=(1154,581,74,85), roi_back=(1079,535,196,177), threshold=0.8, method="Template matching", file="./tasks/SixRealms/gate1/gate1_mstart_confirm2.png")
|
|
|
|
|
+ # 动画完了就有这个东西
|
|
|
|
|
+ I_ISLAND_TAG_FLAG = RuleImage(roi_front=(543,601,100,100), roi_back=(543,601,100,100), threshold=0.8, method="Template matching", file="./tasks/SixRealms/gate1/gate1_island_tag_flag.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Ocr Rule Assets
|
|
# Ocr Rule Assets
|
|
|
# Ocr-description
|
|
# Ocr-description
|
|
|
- O_OCR_MAP = RuleOcr(roi=(191,286,944,197), area=(191,286,944,197), mode="Full", method="Default", keyword="", name="ocr_map")
|
|
|
|
|
|
|
+ O_OCR_MAP = RuleOcr(roi=(144,227,989,376), area=(144,227,989,376), mode="Full", method="Default", keyword="", name="ocr_map")
|
|
|
# Ocr-description
|
|
# Ocr-description
|
|
|
O_ISLAND_NAME = RuleOcr(roi=(88,17,148,49), area=(88,17,148,49), mode="Single", method="Default", keyword="", name="island_name")
|
|
O_ISLAND_NAME = RuleOcr(roi=(88,17,148,49), area=(88,17,148,49), mode="Single", method="Default", keyword="", name="island_name")
|
|
|
# 有多少钱
|
|
# 有多少钱
|
|
@@ -108,6 +126,13 @@ class SixRealmsAssets:
|
|
|
I_STORE_REFRESH = RuleImage(roi_front=(545,596,46,47), roi_back=(519,568,100,100), threshold=0.8, method="Template matching", file="./tasks/SixRealms/l101/l101_store_refresh.png")
|
|
I_STORE_REFRESH = RuleImage(roi_front=(545,596,46,47), roi_back=(519,568,100,100), threshold=0.8, method="Template matching", file="./tasks/SixRealms/l101/l101_store_refresh.png")
|
|
|
# 购买柔风
|
|
# 购买柔风
|
|
|
I_STORE_SKILL_101 = RuleImage(roi_front=(876,121,47,41), roi_back=(682,100,455,571), threshold=0.8, method="Template matching", file="./tasks/SixRealms/l101/l101_store_skill_101.png")
|
|
I_STORE_SKILL_101 = RuleImage(roi_front=(876,121,47,41), roi_back=(682,100,455,571), threshold=0.8, method="Template matching", file="./tasks/SixRealms/l101/l101_store_skill_101.png")
|
|
|
|
|
+ # description
|
|
|
|
|
+ I_STORE_EXIT = RuleImage(roi_front=(1179,586,59,56), roi_back=(1161,561,100,100), threshold=0.8, method="Template matching", file="./tasks/SixRealms/l101/l101_store_exit.png")
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ # Ocr Rule Assets
|
|
|
|
|
+ # 刷新次数
|
|
|
|
|
+ O_STORE_REFRESH_TIME = RuleOcr(roi=(538,661,110,27), area=(538,661,110,27), mode="Single", method="Default", keyword="", name="store_refresh_time")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -123,7 +148,7 @@ class SixRealmsAssets:
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
|
# description
|
|
# description
|
|
|
- I_L103_EXIT = RuleImage(roi_front=(1161,600,69,70), roi_back=(1161,600,69,70), threshold=0.8, method="Template matching", file="./tasks/SixRealms/l103/l103_exit.png")
|
|
|
|
|
|
|
+ I_L103_EXIT = RuleImage(roi_front=(1171,587,69,70), roi_back=(1078,538,195,180), threshold=0.8, method="Template matching", file="./tasks/SixRealms/l103/l103_exit.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|