koishi-plugin-ggcevo-game 1.4.79 → 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 +2 -5
- 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)}点`);
|