koishi-plugin-ggcevo-game 1.4.34 → 1.4.36
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 +3 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -4134,7 +4134,7 @@ function applyPassiveEffects(targetBoss, activeBosses, weaponName, damage, ignor
|
|
|
4134
4134
|
if (radiationResult) {
|
|
4135
4135
|
messages.push(...radiationResult.messages);
|
|
4136
4136
|
if (radiationResult.buffMultiplier) {
|
|
4137
|
-
totalBuffMultiplier += radiationResult.buffMultiplier
|
|
4137
|
+
totalBuffMultiplier += radiationResult.buffMultiplier;
|
|
4138
4138
|
}
|
|
4139
4139
|
if (radiationResult.targetUpdates) {
|
|
4140
4140
|
updateStatsByName(radiationResult.targetUpdates.name, radiationResult.targetUpdates.updates);
|
|
@@ -4145,7 +4145,7 @@ function applyPassiveEffects(targetBoss, activeBosses, weaponName, damage, ignor
|
|
|
4145
4145
|
if (coldResult) {
|
|
4146
4146
|
messages.push(...coldResult.messages);
|
|
4147
4147
|
if (coldResult.buffMultiplier) {
|
|
4148
|
-
totalBuffMultiplier += coldResult.buffMultiplier
|
|
4148
|
+
totalBuffMultiplier += coldResult.buffMultiplier;
|
|
4149
4149
|
}
|
|
4150
4150
|
if (coldResult.targetUpdates) {
|
|
4151
4151
|
updateStatsByName(coldResult.targetUpdates.name, coldResult.targetUpdates.updates);
|
|
@@ -4771,7 +4771,7 @@ async function handleIgnoreReductionEffects(ctx, handle, weaponName, targetBoss)
|
|
|
4771
4771
|
}
|
|
4772
4772
|
}, "handleCareerEffects");
|
|
4773
4773
|
await handleCareerEffects();
|
|
4774
|
-
if (ignoreEffects.length === 0) return
|
|
4774
|
+
if (ignoreEffects.length === 0) return { ignoreRate: 0, messages: [] };
|
|
4775
4775
|
const totalIgnoreRate = Math.min(
|
|
4776
4776
|
1,
|
|
4777
4777
|
ignoreEffects.reduce((sum, rate) => sum + rate, 0)
|