KingRan 2022-03-01 13:37:46 +08:00
parent c8b30ed3b6
commit 21a96eecc0
1 changed files with 3 additions and 2 deletions

View File

@ -132,6 +132,7 @@ async function run() {
if(o.status == 0){
flag = true
$.joinVenderId = o.venderId
await $.wait(parseInt(Math.random() * 3000 + 2000, 10))
await joinShop()
if($.joinShopresmessage === '活动太火爆,请稍后再试'){
console.log('重新开卡')
@ -207,8 +208,8 @@ async function run() {
await $.wait(parseInt(Math.random() * 1000 + 5000, 10))
if(flag) await $.wait(parseInt(Math.random() * 1000 + 10000, 10))
if($.index % 5 == 0) console.log('休息一下别被黑ip了\n可持续发展')
if($.index % 5 == 0) await $.wait(parseInt(Math.random() * 5000 + 10000, 10))
if($.index % 3 == 0) console.log('休息一下别被黑ip了\n可持续发展')
if($.index % 3 == 0) await $.wait(parseInt(Math.random() * 5000 + 10000, 10))
} catch (e) {
console.log(e)