koishi-plugin-ggcevo-game 1.0.24 → 1.0.26

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1610,8 +1610,8 @@ ${achievementList.join("\n")}`;
1610
1610
  // 应战者胜利时增加
1611
1611
  todayCount: targetPK.todayCount,
1612
1612
  // 不消耗应战者次数
1613
- lastPK: /* @__PURE__ */ new Date()
1614
- // 更新最后参与时间
1613
+ lastPK: targetPK.lastPK
1614
+ // 保留原有时间不更新
1615
1615
  }
1616
1616
  ]);
1617
1617
  await ctx.database.create("ggcevo_pk_logs", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo-game",
3
3
  "description": "星际争霸2游戏大厅咕咕虫-Evo地图专属插件",
4
- "version": "1.0.24",
4
+ "version": "1.0.26",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [