Skip to content

Commit bfc4464

Browse files
committed
fix: 600与603id错误
1 parent c620203 commit bfc4464

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/common/funcList/600_进入寮活动.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const left = 0;
55
const center = 1;
66
const right = 2;
77

8-
export class Func500 implements IFuncOrigin {
9-
id = 500;
8+
export class Func600 implements IFuncOrigin {
9+
id = 600;
1010
name = '进入寮活动';
1111
desc = '进入已开启寮活动(狩猎战、道馆、狭间暗域、首领退治、宴会、阴界之门)';
1212
config = [{
@@ -310,7 +310,7 @@ export class Func500 implements IFuncOrigin {
310310
]
311311
}];
312312
operatorFunc(thisScript: Script, thisOperator: IFuncOperator[]): boolean {
313-
const thisconf = thisScript.scheme.config['500'];
313+
const thisconf = thisScript.scheme.config['600'];
314314
const nowHour = new Date().getHours();
315315
const nowDay = new Date().getDay();
316316
// 设置全局方案起始点
@@ -331,14 +331,14 @@ export class Func500 implements IFuncOrigin {
331331
if (allFalse) {
332332
thisScript.myToast('任务执行完毕!');
333333
thisScript.superGlobal.next_scheme_name = null;
334-
log('500_thisScript.superGlobal.next_scheme_name:' + thisScript.superGlobal.next_scheme_name);
334+
log('600_thisScript.superGlobal.next_scheme_name:' + thisScript.superGlobal.next_scheme_name);
335335
thisScript.rerun('返回庭院')
336336
sleep(3000);
337337
return true;
338338
}
339339
// 首次进入寮神社界面返回一次重新进,防止还有原来的缓存在里面
340340
if (thisScript.global.liao_activity_page_flag == -1 && thisScript.oper({
341-
id: 500,
341+
id: 600,
342342
name: '寮神社界面',
343343
operator: [thisOperator[11]]
344344
})) {
@@ -375,7 +375,7 @@ export class Func500 implements IFuncOrigin {
375375
}
376376
// 阴门判断(其他开关为关时)
377377
if (thisScript.oper({
378-
id: 500,
378+
id: 600,
379379
name: '寮神社界面',
380380
operator: [{ desc: thisOperator[11].desc }]
381381
})) {
@@ -461,7 +461,7 @@ export class Func500 implements IFuncOrigin {
461461
return true;
462462
}
463463
if (thisScript.oper({
464-
id: 500,
464+
id: 600,
465465
name: '检测_道馆', // 道馆地图界面,集结中
466466
operator: [thisOperator[2]]// thisOperator[2]是用来全局找位置的条件
467467
})) {
@@ -513,15 +513,15 @@ export class Func500 implements IFuncOrigin {
513513
}
514514
}
515515
if (thisScript.oper({
516-
id: 500,
516+
id: 600,
517517
name: '寮神社界面',
518518
operator: [{ desc: thisOperator[11].desc }]
519519
})) {
520520
thisScript.global.liao_activity_page_flag++;
521521
const r = random(28000, 32000);
522522
if (thisScript.global.liao_activity_page_flag < (thisconf.count as number)) {
523523
thisScript.oper({
524-
id: 500,
524+
id: 600,
525525
name: '寮神社界面返回',
526526
operator: [{ oper: thisOperator[11].oper }]
527527
})

src/common/funcList/603_狭间暗域.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ const left = 0;
1010
const center = 1;
1111
const right = 2;
1212

13-
export class Func514 implements IFuncOrigin {
14-
id = 514;
13+
export class Func603 implements IFuncOrigin {
14+
id = 603;
1515
name = '狭间暗域';
1616
config = [
1717
{
@@ -201,7 +201,7 @@ export class Func514 implements IFuncOrigin {
201201
];
202202
// todo 打小蛇,僵尸寮全清
203203
operatorFunc(thisScript: Script, thisOperator: IFuncOperator[]): boolean {
204-
const thisconf = thisScript.scheme.config['514'];// 前面区域,后面小怪
204+
const thisconf = thisScript.scheme.config['603'];// 前面区域,后面小怪
205205
if (thisScript.global.narrow_time === 0) {// 用户自定义等待时间
206206
thisScript.global.narrow_time = parseInt(thisconf.boss_time as string) * 1000;
207207
}

0 commit comments

Comments
 (0)