koishi-plugin-ggcevo-game 1.6.70 → 1.6.72
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 +19 -5
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1923,10 +1923,17 @@ var BattleEffectProcessor = {
|
|
|
1923
1923
|
// 异形甲壳
|
|
1924
1924
|
handleAlienShell: /* @__PURE__ */ __name(function(targetBoss) {
|
|
1925
1925
|
if (targetBoss.skills.includes("异形甲壳")) {
|
|
1926
|
-
const
|
|
1927
|
-
const
|
|
1926
|
+
const maxHP = getMaxHPByName(targetBoss.name);
|
|
1927
|
+
const currentHP = targetBoss.HP;
|
|
1928
|
+
const lostHpPercent = (maxHP - currentHP) / maxHP;
|
|
1929
|
+
let reductionPercent = 0.1 + lostHpPercent;
|
|
1930
|
+
reductionPercent = Math.min(reductionPercent, 0.8);
|
|
1931
|
+
const reductionValue = Math.round(reductionPercent * 100);
|
|
1932
|
+
const messages = [
|
|
1933
|
+
`🛡️ 【异形甲壳】生效:当前减伤${reductionValue}%`
|
|
1934
|
+
];
|
|
1928
1935
|
return {
|
|
1929
|
-
nerfMultiplier:
|
|
1936
|
+
nerfMultiplier: reductionPercent,
|
|
1930
1937
|
messages
|
|
1931
1938
|
};
|
|
1932
1939
|
}
|
|
@@ -4634,7 +4641,7 @@ function applyPassiveEffects(targetBoss, activeBosses, weaponName, damage, hasCr
|
|
|
4634
4641
|
burnDamage *= 1 - burnDebuffMultiplier;
|
|
4635
4642
|
if (burnDamage > 0) {
|
|
4636
4643
|
const debuffText = burnDebuffMultiplier > 0 ? `(受到${Math.round(burnDebuffMultiplier * 100)}%的减伤效果)` : "";
|
|
4637
|
-
messages.push(`🔥 【燃烧】效果造成额外${burnDamage}点伤害${debuffText}`);
|
|
4644
|
+
messages.push(`🔥 【燃烧】效果造成额外${burnDamage.toFixed(1)}点伤害${debuffText}`);
|
|
4638
4645
|
}
|
|
4639
4646
|
finalDamage += burnDamage;
|
|
4640
4647
|
}
|
|
@@ -4786,7 +4793,7 @@ __name(applyPassiveEffects, "applyPassiveEffects");
|
|
|
4786
4793
|
// src/boss/passive.ts
|
|
4787
4794
|
var passiveConfig = {
|
|
4788
4795
|
"异形甲壳": {
|
|
4789
|
-
description: "
|
|
4796
|
+
description: "拥有厚重的甲壳,初始获得10%减伤效果,每损失1%最大生命值,额外获得1%减伤效果(最高80%减伤)",
|
|
4790
4797
|
belong: ["异齿猛兽首领", "异齿猛兽"],
|
|
4791
4798
|
derivedSkills: []
|
|
4792
4799
|
},
|
|
@@ -5563,6 +5570,13 @@ var ggcevoUpdates = [
|
|
|
5563
5570
|
- 斩杀阶段删除了验证码机制
|
|
5564
5571
|
- 同一用户攻击指令增加了5秒的使用冷却时间
|
|
5565
5572
|
`.trim()
|
|
5573
|
+
},
|
|
5574
|
+
{
|
|
5575
|
+
version: "1.6.72",
|
|
5576
|
+
time: "2025-08-16",
|
|
5577
|
+
content: `
|
|
5578
|
+
- 增强了“异形甲壳”技能效果
|
|
5579
|
+
`.trim()
|
|
5566
5580
|
}
|
|
5567
5581
|
];
|
|
5568
5582
|
function compareVersions(a, b) {
|