koishi-plugin-ggcevo-game 1.3.34 → 1.3.35

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 +8 -8
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -382,7 +382,7 @@ function apply(ctx, config) {
382
382
  "重甲": 0.8
383
383
  }
384
384
  },
385
- "侦查步枪": {
385
+ "侦察步枪": {
386
386
  id: 7,
387
387
  type: "实弹武器",
388
388
  damage: 50,
@@ -869,8 +869,8 @@ function apply(ctx, config) {
869
869
  },
870
870
  {
871
871
  professionName: "猩红杀手",
872
- effect: "使用“侦查步枪”造成的伤害+15%; 解锁DSR-55反器材步枪(传奇)购买权限",
873
- requirements: "“侦查步枪”武器等级≥3",
872
+ effect: "使用“侦察步枪”造成的伤害+15%; 解锁DSR-55反器材步枪(传奇)购买权限",
873
+ requirements: "“侦察步枪”武器等级≥3",
874
874
  Jobtransfer: true,
875
875
  costcoins: 0,
876
876
  costredcrystal: 30
@@ -1182,7 +1182,7 @@ function apply(ctx, config) {
1182
1182
  if (careerData?.career === "猩红杀手") {
1183
1183
  if (weaponId === 7) {
1184
1184
  value += 0.15;
1185
- message = "⚔️ 职业加成:猩红杀手(侦查步枪伤害+15%)";
1185
+ message = "⚔️ 职业加成:猩红杀手(侦察步枪伤害+15%)";
1186
1186
  }
1187
1187
  }
1188
1188
  return { value, message };
@@ -2132,7 +2132,7 @@ function apply(ctx, config) {
2132
2132
  const scoutRifle = weapons.find((weapon) => weapon.weaponId === 7);
2133
2133
  return {
2134
2134
  success: !!scoutRifle,
2135
- message: scoutRifle ? "" : "需要“侦查步枪”武器等级≥3"
2135
+ message: scoutRifle ? "" : "需要“侦察步枪”武器等级≥3"
2136
2136
  };
2137
2137
  }
2138
2138
  ;
@@ -3482,7 +3482,7 @@ ${items.join("、")}
3482
3482
  queryConditions.season = currentSeason;
3483
3483
  }
3484
3484
  const globalRecords = await ctx.database.get("ggcevo_exchange", queryConditions);
3485
- if (globalRecords.length >= configname.quantity) return "该物品已被兑换完了。";
3485
+ if (globalRecords.length >= configname.quantity) return "该物品已被兑尽。(非限定物品可等待赛季更新后兑换)";
3486
3486
  }
3487
3487
  const qualityMap = { "t3": 4, "t2": 5, "t1": 6, "t0": 7 };
3488
3488
  const petItems = new Set(
@@ -5676,7 +5676,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
5676
5676
  startTime: /* @__PURE__ */ new Date()
5677
5677
  // 记录当前时间为开始时间
5678
5678
  });
5679
- return "⛏️ 首次挖矿作业已开始,请至少等待1小时后可收获。";
5679
+ return "⛏️ 首次挖矿作业已开始,请至少等待1小时后才可收获。";
5680
5680
  }
5681
5681
  const nowtime = /* @__PURE__ */ new Date();
5682
5682
  const chinaStart = convertUTCtoChinaTime(record.startTime);
@@ -5691,7 +5691,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
5691
5691
  `🕒 开始时间:${record.startTime.toLocaleString("zh-CN", { hour12: false })}`,
5692
5692
  `⏱️ 当前时间:${nowtime.toLocaleString("zh-CN", { hour12: false })}`,
5693
5693
  `⏳ 还需等待:${remaining}分钟`,
5694
- `💡 提示:挖矿1小时后可随时收获并自动开始下一轮挖矿`
5694
+ `💡 提示:本轮挖矿1小时后才可收获并自动开始下一轮挖矿`
5695
5695
  ].join("\n");
5696
5696
  }
5697
5697
  const halfHours = Math.floor(duration / 30);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo-game",
3
3
  "description": "《星际争霸2》咕咕虫-evolved地图的专属游戏助手插件,集成天梯排行、抽奖系统、签到福利、兑换商城等丰富功能。",
4
- "version": "1.3.34",
4
+ "version": "1.3.35",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [