Skip to content

Commit d600773

Browse files
committed
993启动:删除不重启选项,用战斗界面刷新计时来替代
503:删除id防止污染日志 509:修复悬浮窗遮挡 519:适配600和更新desc 600:优化判断,适配更多寮管理开启选项 601:修复悬浮窗遮挡 script:暂停的方案不会加入历史运行方案中了
1 parent b9ce756 commit d600773

File tree

11 files changed

+168
-160
lines changed

11 files changed

+168
-160
lines changed

src/common/funcList/503_返回庭院界面.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export class Func503 implements IFuncOrigin {
238238
desc: '45 招募界面',
239239
type: 'switch',
240240
default: true,
241-
}, {
241+
}, {
242242
name: 'oper_46',
243243
desc: '46 师徒界面',
244244
type: 'switch',
@@ -846,7 +846,6 @@ export class Func503 implements IFuncOrigin {
846846
}
847847

848848
if (thisScript.oper({
849-
id: 503,
850849
name: '庭院界面',
851850
operator: [{
852851
desc: thisOperator[12].desc
@@ -858,7 +857,9 @@ export class Func503 implements IFuncOrigin {
858857
next_scheme = thisScript.superGlobal.next_scheme_name;
859858
thisScript.superGlobal.next_scheme_name = null;
860859
}
861-
log('503_next_scheme:' + next_scheme);
860+
if (next_scheme) {
861+
log('id_503_next_scheme:' + next_scheme);
862+
}
862863
if (thisConf.scheme_switch_enabled) {
863864
next_scheme = thisConf.next_scheme as string;
864865
}

src/common/funcList/509_进入式神录.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ export class Func509 implements IFuncOrigin {
7777
[center, 885, 661, 0xfff4f5],
7878
[left, 259, 35, 0x2a2937],
7979
[left, 175, 589, 0x684b2c],
80-
[left, 33, 592, 0x8a6137],
8180
]
8281
],
8382
oper: [

src/common/funcList/518_领取日常奖励.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -567,30 +567,30 @@ export class Func518 implements IFuncOrigin {
567567
})) {
568568
return true;
569569
}
570-
if (thisScript.oper({
571-
id: 518,
572-
name: '邮件',
573-
operator: [thisOperator[15], thisOperator[9], thisOperator[11]]
574-
})) {
575-
return true;
576-
}
577570
if (thisScript.global.function_Swith.email) {
578571
if (thisScript.oper({
579572
id: 518,
580573
name: '邮件',
581-
operator: [thisOperator[8]]
574+
operator: [thisOperator[8], thisOperator[10]]
582575
})) {
583576
return true;
584577
}
585578
if (thisScript.oper({
586579
id: 518,
587580
name: '邮件',
588-
operator: [thisOperator[17], thisOperator[10]]
581+
operator: [thisOperator[17]]
589582
})) {
590583
thisScript.global.function_Swith.email = false;
591584
return true;
592585
}
593586
}
587+
if (thisScript.oper({
588+
id: 518,
589+
name: '邮件',
590+
operator: [thisOperator[9], thisOperator[11], thisOperator[15]]
591+
})) {
592+
return true;
593+
}
594594
if (thisScript.global.function_Swith.agency) {
595595
if (thisScript.oper({
596596
id: 518,

src/common/funcList/519_寮管理攻打道馆.ts

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class Func519 implements IFuncOrigin {
6060
[right, 1185, 658, 0x46a774],
6161
[left, 88, 618, 0xc1b8aa],
6262
[left, 189, 637, 0x777a83],
63-
[left, 35, 52, 0xf0f5fb],
63+
[left, 47, 37, 0xf5e2a3],
6464
]
6565
],
6666
oper: [
@@ -145,8 +145,7 @@ export class Func519 implements IFuncOrigin {
145145
],
146146
oper: [
147147
[center, 1280, 720, 260, 615, 311, 661, 1000],
148-
[center, 1280, 720, 762, 414, 881, 457, 5000], // 建立道馆_确认
149-
[center, 1280, 720, 1171, 106, 1224, 143, 1000], // 建立道馆_关闭详细
148+
[center, 1280, 720, 762, 414, 881, 457, 1000], // 建立道馆_确认
150149
]
151150
}, { // 8 道馆中的0次机会
152151
desc: [
@@ -171,6 +170,19 @@ export class Func519 implements IFuncOrigin {
171170
[right, 689, 651, 0xeb8701],
172171
]
173172
],
173+
}, { // 10 我的道馆界面
174+
desc: [1280, 720,
175+
[
176+
[left, 113, 79, 0x563a2f],
177+
[center, 340, 79, 0x51352b],
178+
[right, 1195, 126, 0xe9d3ce],
179+
[left, 152, 523, 0xf3b25e],
180+
[left, 151, 605, 0xf3b25e],
181+
]
182+
],
183+
oper: [
184+
[center, 1280, 720, 1179, 110, 1216, 143, 1000],
185+
]
174186
}
175187
];
176188
operatorFunc(thisScript: Script, thisOperator: IFuncOperator[]): boolean {
@@ -189,15 +201,14 @@ export class Func519 implements IFuncOrigin {
189201
operator: [thisOperator[8], thisOperator[9]]
190202
})) {
191203
thisScript.myToast('两次机会用光');
192-
thisScript.doPush(thisScript, { text: '两次机会用光', before() { thisScript.myToast('脚本即将停止,正在上传数据'); } });
193-
thisScript.stop();
204+
thisScript.rerun('返回庭院');
194205
sleep(2000);
195206
return true;
196207
}
197208
if (thisScript.oper({
198209
id: 519,
199210
name: '检测_寮活动神社',
200-
operator: [thisOperator[0], thisOperator[7]]
211+
operator: [thisOperator[0], thisOperator[7], thisOperator[10]]
201212
})) {
202213
return true;
203214
}

0 commit comments

Comments
 (0)