koishi-plugin-ggcevo-game 1.4.78 → 1.4.80
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 +4 -6
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -3431,7 +3431,7 @@ var BattleEffectProcessor = {
|
|
|
3431
3431
|
).length;
|
|
3432
3432
|
if (livingNestlings === 0) return null;
|
|
3433
3433
|
const nerfMultiplier = livingNestlings * 0.2;
|
|
3434
|
-
const messages = [`🐛 【虫巢思维】生效:存在${livingNestlings}只巢穴子代,受到的伤害-${nerfMultiplier * 100}%`];
|
|
3434
|
+
const messages = [`🐛 【虫巢思维】生效:存在${livingNestlings}只巢穴子代,受到的伤害-${Math.round(nerfMultiplier * 100)}%`];
|
|
3435
3435
|
return { nerfMultiplier, messages };
|
|
3436
3436
|
}, "handleHiveMind"),
|
|
3437
3437
|
// 爆虫伏击 - 血量低于50%时,立即孵化巢穴子代直至上限(生效后移除)
|
|
@@ -3930,10 +3930,7 @@ function applyPassiveEffects(targetBoss, activeBosses, weaponName, damage, hasCr
|
|
|
3930
3930
|
if (careerData?.career === "猩红杀手" && weaponName === "侦察步枪") {
|
|
3931
3931
|
armorDamageReduction = 1;
|
|
3932
3932
|
}
|
|
3933
|
-
armor = targetBoss.armor - targetBoss.radiationLayers;
|
|
3934
|
-
if (targetBoss.name === "测试假人") {
|
|
3935
|
-
armor = targetBoss.armor;
|
|
3936
|
-
}
|
|
3933
|
+
armor = targetBoss.armor - targetBoss.radiationLayers * 0.05;
|
|
3937
3934
|
const armorReduction = armorDamageReduction * armor;
|
|
3938
3935
|
if (armorReduction !== 0) {
|
|
3939
3936
|
messages.push(`护甲减伤: ${armorReduction.toFixed(2)}点`);
|
|
@@ -4266,7 +4263,7 @@ var passiveConfig = {
|
|
|
4266
4263
|
},
|
|
4267
4264
|
"治愈虫群": {
|
|
4268
4265
|
type: "",
|
|
4269
|
-
description: "血量低于30%时,立即回复自身40
|
|
4266
|
+
description: "血量低于30%时,立即回复自身40%点生命值,同时回复所有其他存活异形10%点生命值(生效后移除)"
|
|
4270
4267
|
},
|
|
4271
4268
|
"释放信息素": {
|
|
4272
4269
|
type: "",
|
|
@@ -5829,6 +5826,7 @@ async function createNestlingBosses(ctx, nestlingNames) {
|
|
|
5829
5826
|
tags: foundMinion.tags,
|
|
5830
5827
|
skills: [...foundMinion.passive],
|
|
5831
5828
|
energy: foundMinion.maxEnergy,
|
|
5829
|
+
armor: foundMinion.armor,
|
|
5832
5830
|
groupId,
|
|
5833
5831
|
isActive: true,
|
|
5834
5832
|
respawnTime: /* @__PURE__ */ new Date()
|