koishi-plugin-ggcevo-game 1.6.64 → 1.6.65
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 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -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) {
|