Skip to content

Commit 88f1add

Browse files
authored
Merge pull request #1292 from yEs1do/fix(Dokan)
fix(Dokan): 更新道馆内式神录和优先攻击选项的图像区域
2 parents 4a9bd4d + 0658090 commit 88f1add

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

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

0 commit comments

Comments
 (0)