koishi-plugin-ggcevo-game 1.4.85 → 1.4.87
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 +4 -4
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -254,7 +254,7 @@ var weaponConfig = {
|
|
|
254
254
|
id: 15,
|
|
255
255
|
type: "热能武器",
|
|
256
256
|
category: "热能武器",
|
|
257
|
-
damage:
|
|
257
|
+
damage: 60,
|
|
258
258
|
armorDamageReduction: 0.5,
|
|
259
259
|
description: "发射非常坚固的专属榴弹,对具有坚固防御的目标几乎没有效果",
|
|
260
260
|
specialeffect: "",
|
|
@@ -300,7 +300,7 @@ var weaponConfig = {
|
|
|
300
300
|
id: 18,
|
|
301
301
|
type: "实弹武器",
|
|
302
302
|
category: "实弹武器",
|
|
303
|
-
damage:
|
|
303
|
+
damage: 70,
|
|
304
304
|
armorDamageReduction: 0.1,
|
|
305
305
|
description: "二十一世纪的武器,经过修改以减少后坐力并提高远程精度",
|
|
306
306
|
specialeffect: "",
|
|
@@ -507,7 +507,7 @@ var modConfig = {
|
|
|
507
507
|
},
|
|
508
508
|
"微型聚变核心": {
|
|
509
509
|
cost: 2750,
|
|
510
|
-
effect: "连续攻击叠加[聚变]效果,每层提高10%伤害(最多
|
|
510
|
+
effect: "连续攻击叠加[聚变]效果,每层提高10%伤害(最多6层)",
|
|
511
511
|
exclusiveTo: "聚变磁轨枪",
|
|
512
512
|
isExclusive: true
|
|
513
513
|
}
|
|
@@ -5164,7 +5164,7 @@ function calculateModifiers(equippedWeapon, weaponName) {
|
|
|
5164
5164
|
}
|
|
5165
5165
|
if (equippedWeapon.installedMods?.includes("微型聚变核心")) {
|
|
5166
5166
|
const currentCombo = equippedWeapon?.comboCount || 0;
|
|
5167
|
-
const maxStacks =
|
|
5167
|
+
const maxStacks = 6;
|
|
5168
5168
|
const bonusPerCombo = 0.1;
|
|
5169
5169
|
const effectiveStacks = Math.min(currentCombo, maxStacks);
|
|
5170
5170
|
const bonusDamage = effectiveStacks * bonusPerCombo;
|