|
@@ -36,6 +36,10 @@ class BondlingFairylandAssets:
|
|
|
O_B_HIGH_NUMBER = RuleOcr(roi=(883,23,100,32), area=(883,23,100,32), mode="DigitCounter", method="Default", keyword="", name="b_high_number")
|
|
O_B_HIGH_NUMBER = RuleOcr(roi=(883,23,100,32), area=(883,23,100,32), mode="DigitCounter", method="Default", keyword="", name="b_high_number")
|
|
|
# Ocr-description
|
|
# Ocr-description
|
|
|
O_B_STONE_NUMBER = RuleOcr(roi=(858,22,82,40), area=(858,22,82,40), mode="DigitCounter", method="Default", keyword="", name="b_stone_number")
|
|
O_B_STONE_NUMBER = RuleOcr(roi=(858,22,82,40), area=(858,22,82,40), mode="DigitCounter", method="Default", keyword="", name="b_stone_number")
|
|
|
|
|
+ # 好友邀请
|
|
|
|
|
+ O_FRIEND = RuleOcr(roi=(357,89,100,54), area=(357,89,100,54), mode="Single", method="Default", keyword="", name="friend")
|
|
|
|
|
+ # 跨区邀请
|
|
|
|
|
+ O_KUAQU = RuleOcr(roi=(472,88,100,54), area=(472,88,100,54), mode="Single", method="Default", keyword="", name="kuaqu")
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -51,12 +55,7 @@ class BondlingFairylandAssets:
|
|
|
I_BALL_HELP = RuleImage(roi_front=(963,571,100,100), roi_back=(963,571,100,100), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/ball/ball_ball_help.png")
|
|
I_BALL_HELP = RuleImage(roi_front=(963,571,100,100), roi_back=(963,571,100,100), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/ball/ball_ball_help.png")
|
|
|
# 契灵创建队伍
|
|
# 契灵创建队伍
|
|
|
I_CREATE_TEAM = RuleImage(roi_front=(569,491,141,50), roi_back=(569,491,141,50), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/ball/create_team.png")
|
|
I_CREATE_TEAM = RuleImage(roi_front=(569,491,141,50), roi_back=(569,491,141,50), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/ball/create_team.png")
|
|
|
- # 点击邀请
|
|
|
|
|
- I_INVITE_ENSURE = RuleImage(roi_front=(500,541,132,60), roi_back=(478,523,378,92), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/ball/gi_invite_ensure.png")
|
|
|
|
|
- # 判断是否点中好友了
|
|
|
|
|
- I_SELECTED = RuleImage(roi_front=(895,373,33,32), roi_back=(380,157,568,350), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/ball/gi_selected.png")
|
|
|
|
|
- # 用来判断当前的列表是哪儿的
|
|
|
|
|
- I_FLAG_1_ON = RuleImage(roi_front=(373,127,22,21), roi_back=(3373,127,22,21), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/ball/gi_flag_1_on.png")
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
# Image Rule Assets
|
|
# Image Rule Assets
|
|
@@ -124,6 +123,17 @@ class BondlingFairylandAssets:
|
|
|
I_CLICK_CAPTION = RuleImage(roi_front=(177,625,59,51), roi_back=(177,625,59,51), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/capture/capture_click_caption.png")
|
|
I_CLICK_CAPTION = RuleImage(roi_front=(177,625,59,51), roi_back=(177,625,59,51), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/capture/capture_click_caption.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ # Image Rule Assets
|
|
|
|
|
+ # description
|
|
|
|
|
+ I_SELECT_KUAQU_ON = RuleImage(roi_front=(485,124,79,31), roi_back=(485,124,79,31), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/invite/select_kuaqu_on.png")
|
|
|
|
|
+ # description
|
|
|
|
|
+ I_SELECT_FRIEND_OFF = RuleImage(roi_front=(366,121,78,32), roi_back=(366,121,78,32), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/invite/select_friend_off.png")
|
|
|
|
|
+ # description
|
|
|
|
|
+ I_SELECT_FRIEND_ON = RuleImage(roi_front=(376,121,63,38), roi_back=(376,121,63,38), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/invite/select_friend_on.png")
|
|
|
|
|
+ # description
|
|
|
|
|
+ I_SELECT_KUAQU_OFF = RuleImage(roi_front=(490,119,68,33), roi_back=(490,119,68,33), threshold=0.8, method="Template matching", file="./tasks/BondlingFairyland/invite/select_kuaqu_off.png")
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
# Click Rule Assets
|
|
# Click Rule Assets
|
|
|
# description
|
|
# description
|
|
|
C_LEFT_1 = RuleClick(roi_front=(167,198,128,265), roi_back=(167,198,128,265), name="left_1")
|
|
C_LEFT_1 = RuleClick(roi_front=(167,198,128,265), roi_back=(167,198,128,265), name="left_1")
|