koishi-plugin-ggcevo-game 1.6.16 → 1.6.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.
- package/lib/boss/BattleEffectProcessor.d.ts +1 -1
- package/lib/index.js +21 -12
- package/package.json +1 -1
|
@@ -251,7 +251,7 @@ export declare const BattleEffectProcessor: {
|
|
|
251
251
|
updates: Partial<BattleStatistics>;
|
|
252
252
|
}>;
|
|
253
253
|
} | null;
|
|
254
|
-
handleFlameBreath: (targetBoss: any, activeBosses: any[]) => {
|
|
254
|
+
handleFlameBreath: (targetBoss: any, activeBosses: any[], isHighStackHeal?: boolean) => {
|
|
255
255
|
messages: string[];
|
|
256
256
|
targetUpdates: {
|
|
257
257
|
name: string;
|
package/lib/index.js
CHANGED
|
@@ -2698,12 +2698,12 @@ var BattleEffectProcessor = {
|
|
|
2698
2698
|
};
|
|
2699
2699
|
}, "handleCorrosiveBile"),
|
|
2700
2700
|
// 火焰吐息 - 高级群体回复机制
|
|
2701
|
-
handleFlameBreath: /* @__PURE__ */ __name(function(targetBoss, activeBosses) {
|
|
2701
|
+
handleFlameBreath: /* @__PURE__ */ __name(function(targetBoss, activeBosses, isHighStackHeal = false) {
|
|
2702
2702
|
const messages = [];
|
|
2703
2703
|
const otherUpdates = [];
|
|
2704
2704
|
let targetUpdates = null;
|
|
2705
2705
|
const requiredStacks = 20;
|
|
2706
|
-
if (!targetBoss.skills.includes("火焰吐息")) {
|
|
2706
|
+
if (!targetBoss.skills.includes("火焰吐息") || isHighStackHeal) {
|
|
2707
2707
|
return null;
|
|
2708
2708
|
}
|
|
2709
2709
|
const currentStacks = targetBoss.skillStacks || 0;
|
|
@@ -2760,17 +2760,14 @@ var BattleEffectProcessor = {
|
|
|
2760
2760
|
if (hasFearColdTag) {
|
|
2761
2761
|
updates.tagsRemoved = ["惧寒"];
|
|
2762
2762
|
messages.push(`☀️ 【太阳耀斑】触发:移除「惧寒」标签`);
|
|
2763
|
-
}
|
|
2764
|
-
const isColdWeapon = weaponName === "零度之下";
|
|
2765
|
-
if (isColdWeapon) {
|
|
2766
|
-
isImmune = true;
|
|
2767
|
-
immuneCold = true;
|
|
2768
|
-
messages.push(`☀️ 【太阳耀斑】生效:免疫寒冷伤害`);
|
|
2769
2763
|
if (currentColdLayers > 0) {
|
|
2770
2764
|
updates.coldLayersChange = -(currentColdLayers + 2);
|
|
2771
2765
|
messages.push(`☀️ 【太阳耀斑】生效:清除全部寒冷效果`);
|
|
2772
2766
|
}
|
|
2773
2767
|
}
|
|
2768
|
+
const isColdWeapon = weaponName === "零度之下";
|
|
2769
|
+
if (isColdWeapon) {
|
|
2770
|
+
}
|
|
2774
2771
|
if (Object.keys(updates).length > 0) {
|
|
2775
2772
|
targetUpdates = {
|
|
2776
2773
|
name: targetBoss.name,
|
|
@@ -4490,7 +4487,7 @@ function applyPassiveEffects(targetBoss, activeBosses, weaponName, damage, hasCr
|
|
|
4490
4487
|
}
|
|
4491
4488
|
const bileEffects = [
|
|
4492
4489
|
{ effect: BattleEffectProcessor.handleCorrosiveBile, args: [targetBoss, activeBosses, bileDetonationTrigger] },
|
|
4493
|
-
{ effect: BattleEffectProcessor.handleFlameBreath, args: [targetBoss, activeBosses] }
|
|
4490
|
+
{ effect: BattleEffectProcessor.handleFlameBreath, args: [targetBoss, activeBosses, bileDetonationTrigger] }
|
|
4494
4491
|
];
|
|
4495
4492
|
for (const effectItem of bileEffects) {
|
|
4496
4493
|
processEffect(effectItem.effect, ...effectItem.args);
|
|
@@ -4875,7 +4872,7 @@ var passiveConfig = {
|
|
|
4875
4872
|
derivedSkills: []
|
|
4876
4873
|
},
|
|
4877
4874
|
"太阳耀斑": {
|
|
4878
|
-
description: "
|
|
4875
|
+
description: "所有子代阵亡后,移除惧寒标签和孤立无援状态,并清空自身寒冷层数(仅限一次)",
|
|
4879
4876
|
belong: ["烈焰庞兽"],
|
|
4880
4877
|
derivedSkills: []
|
|
4881
4878
|
},
|
|
@@ -4885,7 +4882,7 @@ var passiveConfig = {
|
|
|
4885
4882
|
derivedSkills: []
|
|
4886
4883
|
},
|
|
4887
4884
|
"炼狱爆弹": {
|
|
4888
|
-
description: "每层「灼烧粘液」使受到的伤害降低5
|
|
4885
|
+
description: "每层「灼烧粘液」使受到的伤害降低5%,子代存活时每层额外降低5%",
|
|
4889
4886
|
belong: ["烈焰庞兽"],
|
|
4890
4887
|
derivedSkills: []
|
|
4891
4888
|
},
|
|
@@ -5336,6 +5333,14 @@ var ggcevoUpdates = [
|
|
|
5336
5333
|
- 指令“升级”拆分成“升级科技”和“升级武器”
|
|
5337
5334
|
- 新增“竞猜”功能
|
|
5338
5335
|
`.trim()
|
|
5336
|
+
},
|
|
5337
|
+
{
|
|
5338
|
+
version: "1.6.18",
|
|
5339
|
+
time: "2025-07-12",
|
|
5340
|
+
content: `
|
|
5341
|
+
- 猜测下一个复活主宰的名字的赔率提升至10
|
|
5342
|
+
- 削弱了烈焰庞兽的太阳耀斑技能效果
|
|
5343
|
+
`.trim()
|
|
5339
5344
|
}
|
|
5340
5345
|
];
|
|
5341
5346
|
function compareVersions(a, b) {
|
|
@@ -5580,6 +5585,10 @@ async function applyItemEffect(ctx, session, handle, itemConfig2, target) {
|
|
|
5580
5585
|
([_, item]) => item.id === itemConfig2.id
|
|
5581
5586
|
)?.[0] || "未知物品";
|
|
5582
5587
|
if (itemConfig2.id === 1) {
|
|
5588
|
+
return {
|
|
5589
|
+
success: false,
|
|
5590
|
+
message: "暂时被禁用了。"
|
|
5591
|
+
};
|
|
5583
5592
|
const activeSentry = await ctx.database.get("ggcevo_boss", {
|
|
5584
5593
|
name: "空间站哨枪塔",
|
|
5585
5594
|
isActive: true
|
|
@@ -6043,7 +6052,7 @@ var GUESSING_ITEMS = [
|
|
|
6043
6052
|
{
|
|
6044
6053
|
id: 1,
|
|
6045
6054
|
description: "猜测下一个复活主宰的名字",
|
|
6046
|
-
odds:
|
|
6055
|
+
odds: 10,
|
|
6047
6056
|
status: "open"
|
|
6048
6057
|
}
|
|
6049
6058
|
// 可以继续添加更多竞猜项目
|