koishi-plugin-ggcevo-game 1.3.71 → 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 +17 -11
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -380,8 +380,8 @@ function apply(ctx, config) {
|
|
|
380
380
|
redCrystalCost: 5,
|
|
381
381
|
isantiair: false,
|
|
382
382
|
tagEffects: {
|
|
383
|
-
"轻甲":
|
|
384
|
-
"重甲": 0.
|
|
383
|
+
"轻甲": 2,
|
|
384
|
+
"重甲": 0.5
|
|
385
385
|
}
|
|
386
386
|
},
|
|
387
387
|
"侦察步枪": {
|
|
@@ -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,14 +546,20 @@ 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
|
},
|
|
554
560
|
"金刚石瞄准镜": {
|
|
555
|
-
cost:
|
|
556
|
-
effect: "
|
|
561
|
+
cost: 2250,
|
|
562
|
+
effect: "对重甲目标改为造成80%伤害",
|
|
557
563
|
exclusiveTo: "侦察步枪",
|
|
558
564
|
isExclusive: true
|
|
559
565
|
}
|
|
@@ -1327,8 +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: "
|
|
1331
|
-
{ mod: "
|
|
1336
|
+
{ mod: "金刚石瞄准镜", tag: "重甲", value: 0.8 },
|
|
1337
|
+
{ mod: "护盾崩解核心", tag: "护盾", value: 0.8 }
|
|
1332
1338
|
];
|
|
1333
1339
|
let totalAdditive = 0;
|
|
1334
1340
|
for (const tag of tags) {
|
|
@@ -2956,10 +2962,10 @@ function apply(ctx, config) {
|
|
|
2956
2962
|
let scatterRatio = 0;
|
|
2957
2963
|
if (weaponName === "碎骨步枪") {
|
|
2958
2964
|
scatterMsg = "🔆 【光束曲射晶片】触发散射攻击!";
|
|
2959
|
-
scatterRatio = 0.
|
|
2965
|
+
scatterRatio = 0.8;
|
|
2960
2966
|
} else if (weaponName === "中子步枪") {
|
|
2961
2967
|
scatterMsg = "🔆 【中子步枪】触发散射攻击!";
|
|
2962
|
-
scatterRatio = 0.
|
|
2968
|
+
scatterRatio = 0.8;
|
|
2963
2969
|
}
|
|
2964
2970
|
scatterEffectMessages.push(scatterMsg);
|
|
2965
2971
|
const baseDamage = weaponData.damage * (1 + 0.1 * equippedWeapon.level);
|