Skip to content

Commit 7dd0cca

Browse files
committed
修复百鬼邀请好友
1 parent 010d492 commit 7dd0cca

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

src/common/funcList/017_百鬼夜行.ts

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export class Func017 implements IFuncOrigin {
9898
oper: [
9999
[center, 1280, 720, 468, 233, 624, 550, 500],
100100
[center, 1280, 720, 731, 229, 890, 563, 500],
101+
[center, 1280, 720, 516, 632, 749, 700, 1000],
101102
]
102103
}, { // 5
103104
desc: [1280, 720,
@@ -134,7 +135,8 @@ export class Func017 implements IFuncOrigin {
134135
[center, 1128, 594, 0x402f1f],
135136
[center, 1084, 202, 0xe7d4cf],
136137
[center, 554, 514, 0x846866],
137-
[center, 195, 156, 0xf9edee]]
138+
[center, 195, 156, 0xf9edee]
139+
]
138140
],
139141
oper: [
140142
[center, 1280, 720, 1084, 576, 1138, 628, 1500]
@@ -144,11 +146,26 @@ export class Func017 implements IFuncOrigin {
144146
const thisconf = thisScript.scheme.config['17'];
145147
if (thisScript.oper({
146148
id: 17,
147-
name: '百鬼夜行_杂项',
148-
operator: [thisOperator[3], thisOperator[6], {
149+
name: '百鬼夜行_杂项_前',
150+
operator: [thisOperator[3]]
151+
})) {
152+
return true
153+
}
154+
if (thisScript.oper({
155+
id: 17,
156+
name: '百鬼夜行_邀请好友',
157+
operator: [{
149158
desc: thisOperator[4].desc,
150159
oper: [thisOperator[4].oper[random(0, 1)]]
151-
}, thisOperator[7]]
160+
}]
161+
})) {
162+
thisScript.regionClick([thisOperator[4].oper[2]]);
163+
thisScript.keepScreen(false);
164+
}
165+
if (thisScript.oper({
166+
id: 17,
167+
name: '百鬼夜行_杂项_后',
168+
operator: [thisOperator[6], thisOperator[7]]
152169
})) {
153170
return true
154171
}

0 commit comments

Comments
 (0)