MCPcopy Create free account
hub / github.com/anyehttp/quantumult-x / userTask

Function userTask

task/xpnc.js:40–57  ·  view source on GitHub ↗
(user)

Source from the content-addressed store, hash-verified

38
39// 账号任务
40async function userTask(user) {
41 console.log(`\n============= 账号[${user.index}]开始任务 =============`);
42 await Sign(user);
43 await wait(1);
44 for (let i = 1; i < 17; i++) {
45 await Task(user, i);
46 await wait(1);
47 await Reward(user, i);
48 await wait(1);
49 }
50 await Fertilizer(user);
51 await wait(1);
52 for (let i = 0; i < 10; i++) {
53 await Water(user);
54 await wait(1);
55 }
56 await HomePage(user);
57}
58
59// 签到
60async function Sign(user) {

Callers 1

xpnc.jsFile · 0.85

Calls 8

SignFunction · 0.85
waitFunction · 0.85
TaskFunction · 0.85
RewardFunction · 0.85
FertilizerFunction · 0.85
WaterFunction · 0.85
HomePageFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected