| 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(); |