koishi-plugin-ggcevo-game 1.4.59 → 1.4.61
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 +9 -8
- package/lib/weapons.d.ts +1 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -261,22 +261,23 @@ var weaponConfig = {
|
|
|
261
261
|
id: 16,
|
|
262
262
|
type: "能量武器",
|
|
263
263
|
category: "能量武器",
|
|
264
|
-
damage:
|
|
264
|
+
damage: 60,
|
|
265
265
|
description: "用于解决高生命值目标的次时代武器,擅长对付护盾耗尽或没有护甲的敌人",
|
|
266
266
|
specialeffect: "",
|
|
267
267
|
price: 1750,
|
|
268
268
|
redCrystalCost: 20,
|
|
269
269
|
isantiair: true,
|
|
270
270
|
tagEffects: {
|
|
271
|
-
"
|
|
272
|
-
"
|
|
271
|
+
"生物": 1.5,
|
|
272
|
+
"护盾": 0.2,
|
|
273
|
+
"重甲": 0.2
|
|
273
274
|
}
|
|
274
275
|
},
|
|
275
276
|
"聚变磁轨枪": {
|
|
276
277
|
id: 17,
|
|
277
278
|
type: "能量武器",
|
|
278
279
|
category: "能量武器",
|
|
279
|
-
damage:
|
|
280
|
+
damage: 58,
|
|
280
281
|
description: "一种实验性的超级武器,能造成巨大的伤害",
|
|
281
282
|
specialeffect: "",
|
|
282
283
|
price: 1550,
|
|
@@ -459,8 +460,8 @@ var modConfig = {
|
|
|
459
460
|
isExclusive: true
|
|
460
461
|
},
|
|
461
462
|
"微型聚变核心": {
|
|
462
|
-
cost:
|
|
463
|
-
effect: "
|
|
463
|
+
cost: 2750,
|
|
464
|
+
effect: "连续攻击每次提高7.5%的伤害(至多提高45%)",
|
|
464
465
|
exclusiveTo: "聚变磁轨枪",
|
|
465
466
|
isExclusive: true
|
|
466
467
|
}
|
|
@@ -4603,13 +4604,13 @@ function calculateModifiers(equippedWeapon, weaponName, hasCritRhythm) {
|
|
|
4603
4604
|
if (mod === "微型聚变核心") {
|
|
4604
4605
|
const currentCombo = equippedWeapon?.comboCount || 0;
|
|
4605
4606
|
const maxStacks = 6;
|
|
4606
|
-
const bonusPerCombo = 0.
|
|
4607
|
+
const bonusPerCombo = 0.075;
|
|
4607
4608
|
const effectiveStacks = Math.min(currentCombo, maxStacks);
|
|
4608
4609
|
const bonusDamage = effectiveStacks * bonusPerCombo;
|
|
4609
4610
|
totalModAdd += bonusDamage;
|
|
4610
4611
|
if (currentCombo > 0) {
|
|
4611
4612
|
modMessages.push(
|
|
4612
|
-
`🛠️ 【微型聚变核心】生效:攻击伤害+${(bonusDamage * 100).toFixed(0)}%` + (effectiveStacks < currentCombo ? `(已达上限
|
|
4613
|
+
`🛠️ 【微型聚变核心】生效:攻击伤害+${(bonusDamage * 100).toFixed(0)}%` + (effectiveStacks < currentCombo ? `(已达上限45%)` : "")
|
|
4613
4614
|
);
|
|
4614
4615
|
}
|
|
4615
4616
|
}
|
package/lib/weapons.d.ts
CHANGED