Skip to content

Commit 0696231

Browse files
committed
优化准备,防止错误识别
1 parent e669a66 commit 0696231

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/common/funcList/001_准备.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,14 @@ export class Func001 implements IFuncOrigin {
4040
[left, 49, 682, 0xfff9ef],
4141
[left, 124, 682, 0xfef1d8],
4242
[left, 150, 682, 0xfbdec5],
43-
[center, 438, 701, 0x231917],
43+
[center, 322, 699, 0x231917],
4444
[right, 1188, 684, 0xa26f4d],
4545
]
4646
]
4747
}, { // 3 准备界面左上角取点
4848
desc: [
4949
1280, 720,
5050
[
51-
[left, 46, 33, 0xd9b589],
5251
[left, 106, 41, 0xd0a77b],
5352
[left, 168, 23, 0xd4ae84],
5453
[left, 180, 38, 0xcba073],
@@ -72,13 +71,16 @@ export class Func001 implements IFuncOrigin {
7271
if (thisScript.oper({
7372
id: 1,
7473
name: '准备界面识别',
75-
operator: [{ desc: thisOperator[2].desc }
76-
, { desc: thisOperator[4].desc }]
74+
operator: [{ desc: thisOperator[2].desc }]
7775
}) && !thisScript.oper({
7876
name: '准备界面识别',
7977
operator: [thisOperator[3]]
78+
}) || thisScript.oper({
79+
id: 1,
80+
name: '准备界面识别',
81+
operator: [{ desc: thisOperator[4].desc }]
8082
})) {
81-
thisScript.regionClick([thisOperator[0].oper[1]]);
83+
thisScript.regionClick([thisOperator[0].oper[0]]);
8284
thisScript.myToast('战斗主题非简约主题,部分功能失效,请及时跟换', 10000);
8385
return true;
8486
}

0 commit comments

Comments
 (0)