koishi-plugin-ggcevo-game 1.4.59 → 1.4.60
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 -5
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -276,7 +276,7 @@ var weaponConfig = {
|
|
|
276
276
|
id: 17,
|
|
277
277
|
type: "能量武器",
|
|
278
278
|
category: "能量武器",
|
|
279
|
-
damage:
|
|
279
|
+
damage: 58,
|
|
280
280
|
description: "一种实验性的超级武器,能造成巨大的伤害",
|
|
281
281
|
specialeffect: "",
|
|
282
282
|
price: 1550,
|
|
@@ -459,8 +459,8 @@ var modConfig = {
|
|
|
459
459
|
isExclusive: true
|
|
460
460
|
},
|
|
461
461
|
"微型聚变核心": {
|
|
462
|
-
cost:
|
|
463
|
-
effect: "
|
|
462
|
+
cost: 2750,
|
|
463
|
+
effect: "连续攻击每次提高7.5%的伤害(至多提高45%)",
|
|
464
464
|
exclusiveTo: "聚变磁轨枪",
|
|
465
465
|
isExclusive: true
|
|
466
466
|
}
|
|
@@ -4603,13 +4603,13 @@ function calculateModifiers(equippedWeapon, weaponName, hasCritRhythm) {
|
|
|
4603
4603
|
if (mod === "微型聚变核心") {
|
|
4604
4604
|
const currentCombo = equippedWeapon?.comboCount || 0;
|
|
4605
4605
|
const maxStacks = 6;
|
|
4606
|
-
const bonusPerCombo = 0.
|
|
4606
|
+
const bonusPerCombo = 0.075;
|
|
4607
4607
|
const effectiveStacks = Math.min(currentCombo, maxStacks);
|
|
4608
4608
|
const bonusDamage = effectiveStacks * bonusPerCombo;
|
|
4609
4609
|
totalModAdd += bonusDamage;
|
|
4610
4610
|
if (currentCombo > 0) {
|
|
4611
4611
|
modMessages.push(
|
|
4612
|
-
`🛠️ 【微型聚变核心】生效:攻击伤害+${(bonusDamage * 100).toFixed(0)}%` + (effectiveStacks < currentCombo ? `(已达上限
|
|
4612
|
+
`🛠️ 【微型聚变核心】生效:攻击伤害+${(bonusDamage * 100).toFixed(0)}%` + (effectiveStacks < currentCombo ? `(已达上限45%)` : "")
|
|
4613
4613
|
);
|
|
4614
4614
|
}
|
|
4615
4615
|
}
|