Skip to content

Commit c2e5b39

Browse files
committed
995增加切换方案选项,996修复不点击确认
1 parent 505b7ab commit c2e5b39

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

src/common/funcList/995_结界卡更换.ts

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,23 @@ export class Func995 implements IFuncOrigin {
99
id = 995;
1010
name = '结界卡更换';
1111
desc = '';
12-
config = [
13-
{
14-
desc: '',
15-
config: [
16-
{
17-
name: 'change_enchantment_type',
18-
desc: '更换结界卡的所属类型',
19-
type: 'list',
20-
data: ['太鼓', '斗鱼'],
21-
default: '太鼓',
22-
value: '太鼓',
23-
},
24-
],
25-
},
26-
];
12+
config = [{
13+
desc: '',
14+
config: [{
15+
name: 'change_enchantment_type',
16+
desc: '更换结界卡的所属类型',
17+
type: 'list',
18+
data: ['太鼓', '斗鱼'],
19+
default: '太鼓',
20+
value: '太鼓',
21+
}, {
22+
name: 'next_scheme',
23+
desc: '执行完成后的操作',
24+
type: 'scheme',
25+
default: '返回庭院',
26+
value: '返回庭院',
27+
}]
28+
}];
2729
operator: IFuncOperatorOrigin[] = [
2830
{ // 0 判断_是否为己方结界
2931
desc: [1280, 720,
@@ -335,7 +337,7 @@ export class Func995 implements IFuncOrigin {
335337
console.log('更换完毕');
336338
thisScript.regionClick([thisOperator[3].oper[0]]); // 关闭
337339
thisScript.doPush(thisScript, { text: '更换完毕,请查看。', before() { thisScript.myToast('脚本即将停止,正在上传数据'); } });
338-
thisScript.stop();
340+
thisScript.rerun(thisconf.next_scheme);
339341
sleep(3000);
340342
return true;
341343
}

src/common/funcList/996_式神寄养.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class Func996 implements IFuncOrigin {
2525
type: 'scheme',
2626
default: '返回庭院',
2727
value: '返回庭院',
28-
},]
28+
}]
2929
}];
3030
operator: IFuncOperatorOrigin[] = [
3131
{ // 0 判断_是否为己方结界
@@ -172,7 +172,6 @@ export class Func996 implements IFuncOrigin {
172172
[right, 1174, 564, 0x5f5847],
173173
[center, 689, 544, 0xf4b25f],
174174
[center, 583, 546, 0xdf6851],
175-
[left, 64, 637, 0x18173d],
176175
[left, 35, 46, 0x616467],
177176
],
178177
],

0 commit comments

Comments
 (0)