koishi-plugin-ggcevo-game 1.3.22 → 1.3.23

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 +5 -10
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1671,8 +1671,8 @@ function apply(ctx, config) {
1671
1671
  return { updatedHP, messages };
1672
1672
  }, "handleBloodCount"),
1673
1673
  // 修改后的伽马枪辐射处理
1674
- handleGammaRadiation: /* @__PURE__ */ __name(async (ctx2, targetBoss, weaponData) => {
1675
- if (weaponData.name !== "伽马枪" || targetBoss.tags.includes("机械") || !targetBoss.tags.includes("生物")) {
1674
+ handleGammaRadiation: /* @__PURE__ */ __name(async (ctx2, targetBoss, weaponName) => {
1675
+ if (weaponName !== "伽马枪" || targetBoss.tags.includes("机械") || !targetBoss.tags.includes("生物")) {
1676
1676
  return null;
1677
1677
  }
1678
1678
  const messages = [];
@@ -1687,7 +1687,7 @@ function apply(ctx, config) {
1687
1687
  } else if (newLayers === currentLayers) {
1688
1688
  layerMsg = `☢️ 辐射层数已达上限(100层)`;
1689
1689
  } else {
1690
- layerMsg = `☢️ 辐射层数叠加至${newLayers}`;
1690
+ layerMsg = `☢️ 辐射层数+1`;
1691
1691
  }
1692
1692
  await ctx2.database.set(
1693
1693
  "ggcevo_boss",
@@ -1809,12 +1809,7 @@ function apply(ctx, config) {
1809
1809
  if (sentryResult) {
1810
1810
  messages.push(...sentryResult.messages);
1811
1811
  }
1812
- const gammaRadResult = await this.handleGammaRadiation(
1813
- ctx2,
1814
- targetBoss,
1815
- weaponData
1816
- // 传入武器数据对象
1817
- );
1812
+ const gammaRadResult = await this.handleGammaRadiation(ctx2, targetBoss, weaponName);
1818
1813
  if (gammaRadResult) {
1819
1814
  messages.push(...gammaRadResult.messages);
1820
1815
  }
@@ -5434,7 +5429,7 @@ ${passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
5434
5429
  // 从warehouse表读取实际数量
5435
5430
  `特效:${itemData.effects}`,
5436
5431
  `描述:${itemData.description}`,
5437
- "―――――――――――――――"
5432
+ "――――――――――――――"
5438
5433
  ].join("\n");
5439
5434
  }).join("\n\n")
5440
5435
  );
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.22",
4
+ "version": "1.3.23",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [