Skip to content

Commit b50e7c9

Browse files
committed
修复:准备时会点两下
1 parent 7dd0cca commit b50e7c9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ export class Func001 implements IFuncOrigin {
4343
[center, 438, 701, 0x231917],
4444
[right, 1188, 684, 0xa26f4d],
4545
]
46-
],
47-
oper: [
48-
[right, 1280, 720, 1137, 542, 1228, 632, 1000], // 准备
4946
]
5047
}, { // 3 准备界面左上角取点
5148
desc: [
@@ -68,21 +65,20 @@ export class Func001 implements IFuncOrigin {
6865
[center, 441, 645, 0x573c3c],
6966
[right, 1169, 672, 0xd5a86c],
7067
]
71-
],
72-
oper: [
73-
[center, 1280, 720, 1110, 529, 1223, 616, 1000],
7468
]
7569
}];
7670
operatorFunc(thisScript: Script, thisOperator: IFuncOperator[]): boolean {
7771
const thisconf = thisScript.scheme.config['1'];
7872
if (thisScript.oper({
7973
id: 1,
8074
name: '准备界面识别',
81-
operator: [thisOperator[2], thisOperator[4]]
75+
operator: [{ desc: thisOperator[2].desc }
76+
, { desc: thisOperator[4].desc }]
8277
}) && !thisScript.oper({
8378
name: '准备界面识别',
8479
operator: [thisOperator[3]]
8580
})) {
81+
thisScript.regionClick([thisOperator[0].oper[1]]);
8682
thisScript.myToast('战斗主题非简约主题,部分功能失效,请及时跟换', 10000);
8783
return true;
8884
}

0 commit comments

Comments
 (0)