koishi-plugin-ggcevo-game 1.6.72 → 1.6.73

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 +9 -4
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -5577,6 +5577,13 @@ var ggcevoUpdates = [
5577
5577
  content: `
5578
5578
  - 增强了“异形甲壳”技能效果
5579
5579
  `.trim()
5580
+ },
5581
+ {
5582
+ version: "1.6.73",
5583
+ time: "2025-08-18",
5584
+ content: `
5585
+ - 修改铝热炸弹限制条件为只能在进入斩杀阶段之前使用
5586
+ `.trim()
5580
5587
  }
5581
5588
  ];
5582
5589
  function compareVersions(a, b) {
@@ -5985,10 +5992,10 @@ async function applyItemEffect(ctx, session, handle, itemConfig2, target) {
5985
5992
  message: `至少攻击一次后才能使用该物品。`
5986
5993
  };
5987
5994
  }
5988
- if (targetBoss.HP === 1) {
5995
+ if (targetBoss.HP <= 2e3) {
5989
5996
  return {
5990
5997
  success: false,
5991
- message: `目标「${target}」血量已是1点,无法使用${itemName}。`
5998
+ message: `目标「${target}」血量已进入斩杀阶段,无法使用${itemName}。`
5992
5999
  };
5993
6000
  }
5994
6001
  let baseDamage = 100;
@@ -11471,8 +11478,6 @@ ${discountReason}` : "",
11471
11478
  });
11472
11479
  ctx.command("ggcevo/使用 [itemName] [target]").action(async (argv, itemName, target) => {
11473
11480
  const session = argv.session;
11474
- let bossEventBroadcast = null;
11475
- let cleanerRewardBroadcast = null;
11476
11481
  const Curfew = fixedCurfewCheck(session, config);
11477
11482
  if (!Curfew) return "⛔ 宵禁时段 (18:00-24:00) 禁止在群聊中使用咕咕之战指令。\n请添加C.O.R.E为好友使用私聊指令,好友验证信息为【咕咕之战】。";
11478
11483
  const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
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.6.72",
4
+ "version": "1.6.73",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [