MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / cloudGame

Method cloudGame

daily/ydyp.js:4171–4178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4169 }
4170 }
4171 async cloudGame() {
4172 const e = await this.api.getCloudGameInfo(),
4173 t = e?.result?.info?.curr || 0,
4174 r = e?.result?.history?.[0]?.rank || "",
4175 o = e?.result?.history?.[0]?.count || 0;
4176 this.log(`云朵大作战剩余 ${t} 次, 排名 ${r}, 合成 ${o} 次`);
4177 for (let e = 0; e < t; e += 1) await this.api.inviteCloudGame(), await at(1e4, 15e3), await this.api.finishCloudGame(), this.log("云朵大作战完成一局")
4178 }
4179 async receive() {
4180 const e = await this.api.receiveClouds();
4181 await this.sleep();

Callers 1

runMethod · 0.95

Calls 2

logMethod · 0.95
atFunction · 0.85

Tested by

no test coverage detected