@@ -108,7 +108,6 @@ const adventurePath = settings.adventurePath || '蒙德'; // 若未定义,用
108108 await genshin . returnMainUi ( ) ;
109109 }
110110 } else {
111- log . warn ( "没有设置切换队伍,使用当前队伍使用历练點" ) ;
112111 await genshin . returnMainUi ( ) ;
113112 }
114113
@@ -248,6 +247,7 @@ const adventurePath = settings.adventurePath || '蒙德'; // 若未定义,用
248247 log . info ( "识别到部署按钮:({x},{y},{w},{h})" , DeployButton . x , DeployButton . y , DeployButton . Width , DeployButton . Height ) ;
249248 }
250249 DeployButton . click ( ) ;
250+ await sleep ( 200 ) ;
251251 ConfigureStatue = true ;
252252 break ;
253253 }
@@ -316,6 +316,7 @@ const adventurePath = settings.adventurePath || '蒙德'; // 若未定义,用
316316 log . info ( "申请造访尘歌壶位置:({x},{y},{w},{h}), 识别内容:{text}" , res . x , res . y , res . Width , res . Height , res . text ) ;
317317 }
318318 res . click ( ) ;
319+ await sleep ( 200 ) ;
319320 }
320321 }
321322 }
@@ -460,7 +461,6 @@ const adventurePath = settings.adventurePath || '蒙德'; // 若未定义,用
460461 if ( AdventurerHandbookButton . isExist ( ) ) {
461462 log . info ( "识别到冒险之证按钮" ) ;
462463 AdventurerHandbookButton . click ( ) ;
463-
464464 await sleep ( 2000 )
465465 const ro22 = captureGameRegion ( ) ;
466466 let resList = ro22 . findMulti ( RecognitionObject . ocr ( 200 , 300 , 200 , 100 ) ) ;
@@ -472,12 +472,13 @@ const adventurePath = settings.adventurePath || '蒙德'; // 若未定义,用
472472 log . info ( "识别到委托选项卡位置:({x},{y},{w},{h}), 识别内容:{text}" , res . x , res . y , res . Width , res . Height , res . text ) ;
473473 }
474474 res . click ( ) ;
475+ await sleep ( 200 ) ;
475476 } else {
476477 log . info ( "未识别到识别到委托选项卡" ) ;
477478 }
478479 }
479480
480- await sleep ( 2000 )
481+ await sleep ( 1800 )
481482 const ro23 = captureGameRegion ( ) ;
482483 let EncounterPointsStageRewardsButton = ro23 . find ( EncounterPointsStageRewardsRo ) ;
483484 ro23 . dispose ( ) ;
@@ -524,24 +525,26 @@ const adventurePath = settings.adventurePath || '蒙德'; // 若未定义,用
524525 log . info ( "识别到委托选项卡位置:({x},{y},{w},{h}), 识别内容:{text}" , res . x , res . y , res . Width , res . Height , res . text ) ;
525526 }
526527 res . click ( ) ;
528+ await sleep ( 200 ) ;
529+
527530 } else {
528531 log . info ( "未识别到识别到委托选项卡" ) ;
529532 }
530533 }
531534
532- await sleep ( 2000 )
535+ await sleep ( 1800 )
533536 const ro28 = captureGameRegion ( ) ;
534537 let EncounterPointsStageRewardsButton = ro28 . find ( Cannot_receive ) ;
535538 ro28 . dispose ( ) ;
536539 if ( EncounterPointsStageRewardsButton . isExist ( ) ) {
537540 log . info ( "识别到 完成所有任務" ) ;
538- // EncounterPointsStageRewardsButton.click();
539541 returnValue = true ;
540542
541- await sleep ( 2000 ) ;
543+ await sleep ( 500 ) ;
542544 log . info ( "可领取历练点奖励" ) ;
543545 // 檢查是否可以領取 且 沒有設置隊伍名稱
544546 if ( settingsNotDoublePoints == true && ! settings . partyName ) {
547+ log . info ( "没有设置切换队伍,使用当前队伍使用历练點" ) ;
545548 log . info ( `不使用好友尘歌壶历练点领取双倍好感,直接使用历练点` ) ;
546549 const ro29 = captureGameRegion ( ) ;
547550 let EncounterPointsStageRewardsButton = ro29 . find ( EncounterPointsStageRewardsRo ) ;
0 commit comments