koishi-plugin-ggcevo-game 1.2.17 → 1.2.18

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 +4 -4
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -2249,15 +2249,15 @@ ${validTypes.join("、")}`;
2249
2249
  const modInfo = modConfig[mod];
2250
2250
  if (modInfo.isExclusive) {
2251
2251
  if (modInfo.exclusiveTo !== weapon) {
2252
- return `【错误】该模块只能安装在${modInfo.exclusiveTo}上`;
2252
+ return `❌ 该模块只能安装在${modInfo.exclusiveTo}上`;
2253
2253
  }
2254
2254
  const hasExclusive = equipment.installedMods.some((m) => modConfig[m]?.isExclusive);
2255
- if (hasExclusive) return "【错误】每个武器只能安装一个专属模块";
2255
+ if (hasExclusive) return "❌ 每个武器只能安装一个专属模块";
2256
2256
  }
2257
2257
  if (equipment.installedMods.length >= equipment.modificationSlots)
2258
- return "改装槽已满,请先升级武器";
2258
+ return "改装槽已满,请先升级武器。";
2259
2259
  if (equipment.installedMods.includes(mod))
2260
- return "已安装相同改装件";
2260
+ return "已安装相同改装件。";
2261
2261
  if ((signInfo?.totalRewards || 0) < modInfo.cost)
2262
2262
  return `需要${modInfo.cost}金币,当前持有:${signInfo?.totalRewards || 0}`;
2263
2263
  await ctx.database.set("ggcevo_equipment", {
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.2.17",
4
+ "version": "1.2.18",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
@@ -19,7 +19,7 @@
19
19
  "peerDependencies": {
20
20
  "@koishijs/plugin-proxy-agent": "^0.3.3",
21
21
  "koishi": "^4.18.7",
22
- "koishi-plugin-sc2arcade-search": "^1.1.9"
22
+ "koishi-plugin-sc2arcade-search": "^1.1.10"
23
23
  },
24
24
  "koishi": {
25
25
  "service": {