koishi-plugin-ggcevo-game 1.2.5 → 1.2.7

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 +1 -1
package/lib/index.js CHANGED
@@ -1671,8 +1671,8 @@ ${achievementList.join("\n")}`;
1671
1671
  `📺 监测到违规大厅 ID: ${lobby.id}`,
1672
1672
  `创建时间: ${new Date(lobby.createdAt).toLocaleString("zh-CN")}`,
1673
1673
  `🏆 安全玩家:${atElements || "无"}
1674
- `,
1675
- `🚨 违规玩家(${violators.length} 人):`,
1674
+ 🚨 违规玩家(${violators.length} 人):`,
1675
+ // 合并两行并添加换行符
1676
1676
  ...violators.map((v) => {
1677
1677
  const record = punishmentRecords.find((r) => r.handle === v.handle);
1678
1678
  return `· ${v.name}(${record?.level}级处罚)`;
@@ -1907,7 +1907,7 @@ ${achievementList.join("\n")}`;
1907
1907
  day: "2-digit"
1908
1908
  })}`;
1909
1909
  });
1910
- ctx.command("ggcevo/商城").action(async ({ session }) => {
1910
+ ctx.command("ggcevo/商城").alias("商店").action(async ({ session }) => {
1911
1911
  const items = Object.entries(weaponConfig).map(([name2, config2]) => {
1912
1912
  const tagEffectsDesc = config2.tagEffects ? Object.entries(config2.tagEffects).map(([tag, multiplier]) => `▸ 对${tag}目标造成${(multiplier * 100).toFixed(0)}%伤害`).join("\n") : "▸ 无特殊加成效果";
1913
1913
  return [
@@ -2152,7 +2152,7 @@ ${achievementList.join("\n")}`;
2152
2152
  const targetBossConfig = targetBoss.type === "主宰" ? bossGroup.main : bossGroup.minions[0];
2153
2153
  if (targetBossConfig.tags && targetBossConfig.tags.length > 0) {
2154
2154
  const armorTags = targetBossConfig.tags.filter((tag) => ["重甲", "轻甲", "护盾"].includes(tag));
2155
- const voidTags = targetBossConfig.tags.filter((tag) => ["水货"].includes(tag));
2155
+ const voidTags = targetBossConfig.tags.filter((tag) => ["惧热", "惧寒"].includes(tag));
2156
2156
  const typeTags = targetBossConfig.tags.filter((tag) => ["生物", "机械"].includes(tag));
2157
2157
  let armorMultiplier = 1;
2158
2158
  let voidMultiplier = 1;
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.5",
4
+ "version": "1.2.7",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [