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.
- package/lib/index.js +9 -4
- 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
|
|
5995
|
+
if (targetBoss.HP <= 2e3) {
|
|
5989
5996
|
return {
|
|
5990
5997
|
success: false,
|
|
5991
|
-
message: `目标「${target}
|
|
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 });
|