koishi-plugin-ggcevo-game 1.3.72 → 1.3.73
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 +13 -6
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -445,7 +445,7 @@ function apply(ctx, config) {
|
|
|
445
445
|
type: "能量武器",
|
|
446
446
|
damage: 30,
|
|
447
447
|
description: "激光步枪的变种,采用折射技术升级",
|
|
448
|
-
specialeffect: "
|
|
448
|
+
specialeffect: "拥有“散射”效果,对其他目标造成80%的武器基础伤害",
|
|
449
449
|
price: 1450,
|
|
450
450
|
redCrystalCost: 15,
|
|
451
451
|
isantiair: true,
|
|
@@ -546,8 +546,14 @@ function apply(ctx, config) {
|
|
|
546
546
|
isExclusive: true
|
|
547
547
|
},
|
|
548
548
|
"光束曲射晶片": {
|
|
549
|
-
cost:
|
|
550
|
-
effect: "
|
|
549
|
+
cost: 1750,
|
|
550
|
+
effect: "拥有“散射”效果,对其他目标造成80%的武器基础伤害",
|
|
551
|
+
exclusiveTo: "碎骨步枪",
|
|
552
|
+
isExclusive: true
|
|
553
|
+
},
|
|
554
|
+
"护盾崩解核心": {
|
|
555
|
+
cost: 2750,
|
|
556
|
+
effect: "对护盾目标改为造成80%伤害",
|
|
551
557
|
exclusiveTo: "碎骨步枪",
|
|
552
558
|
isExclusive: true
|
|
553
559
|
},
|
|
@@ -1327,7 +1333,8 @@ function apply(ctx, config) {
|
|
|
1327
1333
|
{ mod: "裂甲核心", tag: "重甲", value: 1.5 },
|
|
1328
1334
|
{ mod: "助燃核心", tag: "惧热", value: 3 },
|
|
1329
1335
|
{ mod: "助燃核心", tag: "生物", value: 2 },
|
|
1330
|
-
{ mod: "金刚石瞄准镜", tag: "重甲", value: 0.8 }
|
|
1336
|
+
{ mod: "金刚石瞄准镜", tag: "重甲", value: 0.8 },
|
|
1337
|
+
{ mod: "护盾崩解核心", tag: "护盾", value: 0.8 }
|
|
1331
1338
|
];
|
|
1332
1339
|
let totalAdditive = 0;
|
|
1333
1340
|
for (const tag of tags) {
|
|
@@ -2955,10 +2962,10 @@ function apply(ctx, config) {
|
|
|
2955
2962
|
let scatterRatio = 0;
|
|
2956
2963
|
if (weaponName === "碎骨步枪") {
|
|
2957
2964
|
scatterMsg = "🔆 【光束曲射晶片】触发散射攻击!";
|
|
2958
|
-
scatterRatio = 0.
|
|
2965
|
+
scatterRatio = 0.8;
|
|
2959
2966
|
} else if (weaponName === "中子步枪") {
|
|
2960
2967
|
scatterMsg = "🔆 【中子步枪】触发散射攻击!";
|
|
2961
|
-
scatterRatio = 0.
|
|
2968
|
+
scatterRatio = 0.8;
|
|
2962
2969
|
}
|
|
2963
2970
|
scatterEffectMessages.push(scatterMsg);
|
|
2964
2971
|
const baseDamage = weaponData.damage * (1 + 0.1 * equippedWeapon.level);
|