From e82743836bce3cd079b62b2dc601893075e491af Mon Sep 17 00:00:00 2001 From: KingRan Date: Mon, 14 Feb 2022 14:14:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=BD=E5=A5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_opencardL73.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/jd_opencardL73.js b/jd_opencardL73.js index 55c3007..99cd6a0 100644 --- a/jd_opencardL73.js +++ b/jd_opencardL73.js @@ -198,7 +198,7 @@ async function run() { } console.log(`${$.score}值 游戏:${$.point}`) $.runFalag = true - count = parseInt($.score/1000) + count = parseInt($.score/100) console.log(`抽奖次数为:${count}`) for(m=1;count--;m++){ console.log(`第${m}次抽奖`) @@ -226,6 +226,11 @@ async function run() { console.log(`后面的号都会助力:${$.shareUuid}`) } await $.wait(parseInt(Math.random() * 1000 + 5000, 10)) + if(flag) await $.wait(parseInt(Math.random() * 1000 + 10000, 10)) + + if($.index % 3 == 0) console.log('休息1分钟,别被黑ip了\n可持续发展') + if($.index % 3 == 0) await $.wait(parseInt(Math.random() * 5000 + 60000, 10)) + } catch (e) { console.log(e) } @@ -331,7 +336,7 @@ async function takePostRequest(type) { body = `activityId=${$.activityId}&pin=${encodeURIComponent($.Pin)}` break; case '抽奖': - url = `${domain}/dingzhi/linkgame/draw`; + url = `${domain}/dingzhi/opencard/draw`; body = `activityId=${$.activityId}&pin=${encodeURIComponent($.Pin)}&actorUuid=${$.actorUuid}` break; default: