@@ -391,7 +391,7 @@ async function cowopenbox() {
391391 if ( safeGet ( data ) ) {
392392 $ . log ( data )
393393 data = JSON . parse ( data ) ;
394- if ( data . ret_code == 0 ) {
394+ if ( data . retcode == 0 ) {
395395 tz += `【🐮钱袋奖励】:获得${ data . reward_info [ 0 ] . reward_desc } \n`
396396 }
397397 }
@@ -442,16 +442,17 @@ async function cowopenboxck() {
442442}
443443async function cowbox ( ) {
444444 await cowopenboxck ( ) ;
445+ await $ . wait ( 8000 ) ;
445446 if ( checkbox == 51091036 ) {
446447 console . log ( `【🐮钱袋奖励】:今日奖励已经领完,明天再来` )
447448 tz += `【🐮钱袋奖励】:哎呀,这次是空的💭,在试试\n`
448449 console . log ( `执行下一个任务...\n` )
449450 } else {
450- for ( let i = 0 ; i < 30 ; i ++ ) {
451+ for ( let i = 0 ; i < 10 ; i ++ ) {
451452 await cowopenbox ( ) ;
452453 let randomtime = Randomtime ( 10000 , 60000 ) / 1000
453454 await $ . wait ( Randomtime ( 10000 , 60000 ) ) ;
454- console . log ( `【随机延迟🕑】:${ Math . round ( randomtime ) } 秒...` ) ;
455+ console . log ( `【随机延迟🕑】:${ Math . round ( randomtime ) } 秒...\n ` ) ;
455456 }
456457 }
457458}
@@ -481,7 +482,7 @@ async function cowgetred() {
481482 if ( safeGet ( data ) ) {
482483 $ . log ( data )
483484 data = JSON . parse ( data ) ;
484- if ( data . ret_code == 0 ) {
485+ if ( data . retcode == 0 ) {
485486 tz += `【🐮戳戳牛】:获得${ data . reward_info [ 0 ] . reward_desc } \n`
486487 }
487488 }
@@ -532,16 +533,17 @@ async function cowgetredck() {
532533}
533534async function cowred ( ) {
534535 await cowgetredck ( ) ;
536+ await $ . wait ( 8000 ) ;
535537 if ( checkdata == 190721002 ) {
536538 console . log ( `【🐮戳戳牛】:今日奖励已经领完,明天再来` )
537539 tz += `【🐮戳戳牛】:今日奖励已经领完\n`
538540 console . log ( `执行下一个任务...\n` )
539541 } else {
540- for ( let i = 0 ; i < 15 ; i ++ ) {
542+ for ( let i = 0 ; i < 5 ; i ++ ) {
541543 await cowgetred ( ) ;
542544 let randomtime = Randomtime ( 10000 , 60000 ) / 1000
543545 await $ . wait ( Randomtime ( 10000 , 60000 ) ) ;
544- console . log ( `【随机延迟🕑】:${ Math . round ( randomtime ) } 秒...` ) ;
546+ console . log ( `【随机延迟🕑】:${ Math . round ( randomtime ) } 秒...\n ` ) ;
545547 }
546548 }
547549}
0 commit comments