koishi-plugin-ggcevo-game 1.6.64 → 1.6.66
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 +1 -3
- package/lib/wish.d.ts +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -5208,7 +5208,7 @@ var wishConfig = {
|
|
|
5208
5208
|
},
|
|
5209
5209
|
{
|
|
5210
5210
|
name: "精灵双倍",
|
|
5211
|
-
effect: "
|
|
5211
|
+
effect: "下一次击败主宰时可获得双倍资源兑换券"
|
|
5212
5212
|
},
|
|
5213
5213
|
{
|
|
5214
5214
|
name: "喵喵财源",
|
|
@@ -10297,7 +10297,6 @@ ${discountDetails.join("\n")}`;
|
|
|
10297
10297
|
if (!unlimitedBossAttack) {
|
|
10298
10298
|
const now = /* @__PURE__ */ new Date();
|
|
10299
10299
|
const currentHalfDayIdentifier = getHalfDayIdentifier(now);
|
|
10300
|
-
console.log(currentHalfDayIdentifier);
|
|
10301
10300
|
const attackLogs = await ctx.database.select("ggcevo_damage_logs").where({ handle }).orderBy("date", "desc").limit(4).execute();
|
|
10302
10301
|
let currentHalfDayCount = 0;
|
|
10303
10302
|
for (const log of attackLogs) {
|
|
@@ -10305,7 +10304,6 @@ ${discountDetails.join("\n")}`;
|
|
|
10305
10304
|
if (getHalfDayIdentifier(logTime) === currentHalfDayIdentifier) {
|
|
10306
10305
|
currentHalfDayCount++;
|
|
10307
10306
|
} else {
|
|
10308
|
-
break;
|
|
10309
10307
|
}
|
|
10310
10308
|
}
|
|
10311
10309
|
if (verification.verificationPassed) {
|
package/lib/wish.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare const wishConfig: {
|
|
|
20
20
|
readonly effect: "攻击伤害提高10%,武器每等级提高5%伤害";
|
|
21
21
|
}, {
|
|
22
22
|
readonly name: "精灵双倍";
|
|
23
|
-
readonly effect: "
|
|
23
|
+
readonly effect: "下一次击败主宰时可获得双倍资源兑换券";
|
|
24
24
|
}, {
|
|
25
25
|
readonly name: "喵喵财源";
|
|
26
26
|
readonly effect: "签到获得双倍的金币和咕咕币";
|