koishi-plugin-ggcevo-game 1.4.8 → 1.4.10
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 +6 -7
- package/lib/weapons.d.ts +0 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -137,7 +137,6 @@ var weaponConfig = {
|
|
|
137
137
|
redCrystalCost: 10,
|
|
138
138
|
isantiair: true,
|
|
139
139
|
tagEffects: {
|
|
140
|
-
"轻甲": 0.5,
|
|
141
140
|
"重甲": 0.2
|
|
142
141
|
}
|
|
143
142
|
},
|
|
@@ -192,7 +191,7 @@ var weaponConfig = {
|
|
|
192
191
|
category: "能量武器",
|
|
193
192
|
damage: 30,
|
|
194
193
|
description: "激光步枪的变种,采用折射技术升级",
|
|
195
|
-
specialeffect: "拥有“散射”效果,对其他目标造成
|
|
194
|
+
specialeffect: "拥有“散射”效果,对其他目标造成50%的伤害",
|
|
196
195
|
price: 1450,
|
|
197
196
|
redCrystalCost: 15,
|
|
198
197
|
isantiair: true,
|
|
@@ -238,7 +237,7 @@ var weaponConfig = {
|
|
|
238
237
|
category: "能量武器",
|
|
239
238
|
damage: 32,
|
|
240
239
|
description: "一种原型能量武器,能够发射强大的脉冲",
|
|
241
|
-
specialeffect: "
|
|
240
|
+
specialeffect: "攻击减少目标的2层技能计数",
|
|
242
241
|
price: 1500,
|
|
243
242
|
redCrystalCost: 15,
|
|
244
243
|
isantiair: true,
|
|
@@ -402,7 +401,7 @@ var modConfig = {
|
|
|
402
401
|
},
|
|
403
402
|
"光束曲射晶片": {
|
|
404
403
|
cost: 2750,
|
|
405
|
-
effect: "拥有“散射”效果,对其他目标造成
|
|
404
|
+
effect: "拥有“散射”效果,对其他目标造成50%的伤害",
|
|
406
405
|
exclusiveTo: "碎骨步枪",
|
|
407
406
|
isExclusive: true
|
|
408
407
|
},
|
|
@@ -2529,7 +2528,7 @@ var PassiveHandler = {
|
|
|
2529
2528
|
{ name: targetBoss.name },
|
|
2530
2529
|
{ Vulnerability: newLayers }
|
|
2531
2530
|
);
|
|
2532
|
-
if (newLayers ===
|
|
2531
|
+
if (newLayers === currentLayers) {
|
|
2533
2532
|
messages.push(`☢️ 【辐射】效果达到上限(10层)`);
|
|
2534
2533
|
} else {
|
|
2535
2534
|
const layerIncrease = newLayers - currentLayers;
|
|
@@ -3705,10 +3704,10 @@ async function handleScatterAttack(ctx, session, config, handle, equippedWeapon,
|
|
|
3705
3704
|
let scatterRatio = 0;
|
|
3706
3705
|
if (weaponName === "碎骨步枪") {
|
|
3707
3706
|
scatterEffectMessages.push("🔆 【光束曲射晶片】触发散射攻击!");
|
|
3708
|
-
scatterRatio = 0.
|
|
3707
|
+
scatterRatio = 0.5;
|
|
3709
3708
|
} else if (weaponName === "中子步枪") {
|
|
3710
3709
|
scatterEffectMessages.push("🔆 【中子步枪】触发散射攻击!");
|
|
3711
|
-
scatterRatio = 0.
|
|
3710
|
+
scatterRatio = 0.5;
|
|
3712
3711
|
}
|
|
3713
3712
|
for (const secondaryTarget of secondaryTargets) {
|
|
3714
3713
|
const damageResult = await calculateTotalDamage(
|
package/lib/weapons.d.ts
CHANGED