koishi-plugin-xxck-1 0.3.2 → 0.3.3
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 +0 -7
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1686,13 +1686,6 @@ async function _do_event_draw(ctx, session, data, event6Threshold, event7Thresho
|
|
|
1686
1686
|
};
|
|
1687
1687
|
await ctx.database.upsert("gacha_user_event_pity", [updatePityData]);
|
|
1688
1688
|
ctx.logger.info(`[限时保底记录更新] ${showName}(${qq}) 卡池${code},累计抽数:${newPityCount},已获得:${currentPity.hasGot}`);
|
|
1689
|
-
for (const card of highStarCards) {
|
|
1690
|
-
await session.send(build_msg(session, session.text("draw.broadcast.title")));
|
|
1691
|
-
await new Promise((r) => setTimeout(r, 3e3));
|
|
1692
|
-
const starText = get_star_symbol(card.card_star);
|
|
1693
|
-
session.text("draw.broadcast.getCard", { name: showName, star: starText, id: card.card_id, cardName: card.card_name });
|
|
1694
|
-
await new Promise((r) => setTimeout(r, 1e3));
|
|
1695
|
-
}
|
|
1696
1689
|
let msg = session.text("tip.draw.complete", { name: showName }) + "\n";
|
|
1697
1690
|
drawResult.forEach((card) => {
|
|
1698
1691
|
const starSymbol = get_star_symbol(card.card_star);
|