koishi-plugin-ggcevo-game 1.4.34 → 1.4.35
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 +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -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)
|