koishi-plugin-ggcevo-game 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -8079,10 +8079,11 @@ function apply(ctx, config) {
|
|
|
8079
8079
|
const result = await gachaWithPity(ctx, handle);
|
|
8080
8080
|
if (result) winCount++;
|
|
8081
8081
|
}
|
|
8082
|
+
const [updatedRecord] = await ctx.database.get("ggcevo_sign", { handle });
|
|
8082
8083
|
return [
|
|
8083
8084
|
`🎰 您使用了${quantity}枚咕咕币`,
|
|
8084
8085
|
winCount > 0 ? `🎉 其中获得${winCount}张兑换券!` : "💔 本次未获得任何兑换券",
|
|
8085
|
-
`📊 当前保底进度:${
|
|
8086
|
+
`📊 当前保底进度:${updatedRecord?.pityCounter || 0}/90`
|
|
8086
8087
|
].join("\n");
|
|
8087
8088
|
});
|
|
8088
8089
|
ctx.command("ggcevo/单抽").action(async (argv) => {
|