Skip to content

Commit c08ee45

Browse files
authored
Merge pull request #1301 from runhey/dev
Dev
2 parents a847124 + 2ea3fe4 commit c08ee45

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

tasks/Component/GeneralBuff/assets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class GeneralBuffAssets:
2626
# description
2727
I_EXP_100 = RuleImage(roi_front=(383,406,30,40), roi_back=(368,126,58,386), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralBuff/gb/gb_exp_100.png")
2828
# description
29-
I_OPEN_YELLOW = RuleImage(roi_front=(772,347,21,21), roi_back=(766,133,35,366), threshold=0.7, method="Template matching", file="./tasks/Component/GeneralBuff/gb/gb_open_yellow.png")
29+
I_OPEN_YELLOW = RuleImage(roi_front=(773,297,17,21), roi_back=(766,133,35,366), threshold=0.6, method="Template matching", file="./tasks/Component/GeneralBuff/gb/gb_open_yellow.png")
3030
# description
31-
I_CLOSE_RED = RuleImage(roi_front=(774,143,21,21), roi_back=(764,134,38,369), threshold=0.63, method="Template matching", file="./tasks/Component/GeneralBuff/gb/gb_close_red.png")
31+
I_CLOSE_RED = RuleImage(roi_front=(773,297,17,21), roi_back=(764,134,38,369), threshold=0.6, method="Template matching", file="./tasks/Component/GeneralBuff/gb/gb_close_red.png")
3232
# 用来判定是否点击的那个
3333
I_CLOUD = RuleImage(roi_front=(357,505,65,38), roi_back=(313,484,158,75), threshold=0.8, method="Template matching", file="./tasks/Component/GeneralBuff/gb/gb_cloud.png")
3434

-100 Bytes
Loading
-288 Bytes
Loading

tasks/Component/GeneralBuff/gb/image.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,19 @@
6565
{
6666
"itemName": "open_yellow",
6767
"imageName": "gb_open_yellow.png",
68-
"roiFront": "772,347,21,21",
68+
"roiFront": "773,297,17,21",
6969
"roiBack": "766,133,35,366",
7070
"method": "Template matching",
71-
"threshold": 0.7,
71+
"threshold": 0.6,
7272
"description": "description"
7373
},
7474
{
7575
"itemName": "close_red",
7676
"imageName": "gb_close_red.png",
77-
"roiFront": "774,143,21,21",
77+
"roiFront": "773,297,17,21",
7878
"roiBack": "764,134,38,369",
7979
"method": "Template matching",
80-
"threshold": 0.63,
80+
"threshold": 0.6,
8181
"description": "description"
8282
},
8383
{

tasks/Dokan/assets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ class DokanAssets:
4949
# 是否已经成功进入道馆,上面中间的“道馆突破”文字
5050
I_RYOU_DOKAN_CHECK = RuleImage(roi_front=(567,15,144,42), roi_back=(567,15,144,42), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_check.png")
5151
# 道馆内式神录
52-
I_RYOU_DOKAN_SHIKIGAMI = RuleImage(roi_front=(960,580,140,120), roi_back=(960,580,140,120), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_shikigami.png")
52+
I_RYOU_DOKAN_SHIKIGAMI = RuleImage(roi_front=(987,608,89,60), roi_back=(987,608,89,60), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_shikigami.png")
5353
# 优先攻击选项
54-
I_RYOU_DOKAN_ATTACK_PRIORITY = RuleImage(roi_front=(666,672,58,25), roi_back=(666,672,58,25), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_priority.png")
54+
I_RYOU_DOKAN_ATTACK_PRIORITY = RuleImage(roi_front=(742,667,49,25), roi_back=(742,667,49,25), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_priority.png")
5555
# 优先攻击: 见习
5656
I_RYOU_DOKAN_ATTACK_PRIORITY_0 = RuleImage(roi_front=(98,170,94,43), roi_back=(98,170,94,43), threshold=0.8, method="Template matching", file="./tasks/Dokan/res/res_ryou_dokan_priority_0.png")
5757
# 优先攻击: 初级

tasks/Dokan/res/image.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@
3838
{
3939
"itemName": "ryou_dokan_shikigami",
4040
"imageName": "res_ryou_dokan_shikigami.png",
41-
"roiFront": "960,580,140,120",
42-
"roiBack": "960,580,140,120",
41+
"roiFront": "987,608,89,60",
42+
"roiBack": "987,608,89,60",
4343
"method": "Template matching",
4444
"threshold": 0.8,
4545
"description": "道馆内式神录"
4646
},
4747
{
4848
"itemName": "ryou_dokan_attack_priority",
4949
"imageName": "res_ryou_dokan_priority.png",
50-
"roiFront": "666,672,58,25",
51-
"roiBack": "666,672,58,25",
50+
"roiFront": "742,667,49,25",
51+
"roiBack": "742,667,49,25",
5252
"method": "Template matching",
5353
"threshold": 0.8,
5454
"description": "优先攻击选项"
-120 Bytes
Loading
-4.2 KB
Loading
-785 Bytes
Loading

0 commit comments

Comments
 (0)