koishi-plugin-ggcevo-game 1.4.58 → 1.4.59
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 +5 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -4607,9 +4607,11 @@ function calculateModifiers(equippedWeapon, weaponName, hasCritRhythm) {
|
|
|
4607
4607
|
const effectiveStacks = Math.min(currentCombo, maxStacks);
|
|
4608
4608
|
const bonusDamage = effectiveStacks * bonusPerCombo;
|
|
4609
4609
|
totalModAdd += bonusDamage;
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4610
|
+
if (currentCombo > 0) {
|
|
4611
|
+
modMessages.push(
|
|
4612
|
+
`🛠️ 【微型聚变核心】生效:攻击伤害+${(bonusDamage * 100).toFixed(0)}%` + (effectiveStacks < currentCombo ? `(已达上限30%)` : "")
|
|
4613
|
+
);
|
|
4614
|
+
}
|
|
4613
4615
|
}
|
|
4614
4616
|
});
|
|
4615
4617
|
rhythmCrit = hasCritRhythm ? 20 : 0;
|