koishi-plugin-ggcevo-game 1.4.9 → 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 +4 -4
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -191,7 +191,7 @@ var weaponConfig = {
|
|
|
191
191
|
category: "能量武器",
|
|
192
192
|
damage: 30,
|
|
193
193
|
description: "激光步枪的变种,采用折射技术升级",
|
|
194
|
-
specialeffect: "拥有“散射”效果,对其他目标造成
|
|
194
|
+
specialeffect: "拥有“散射”效果,对其他目标造成50%的伤害",
|
|
195
195
|
price: 1450,
|
|
196
196
|
redCrystalCost: 15,
|
|
197
197
|
isantiair: true,
|
|
@@ -401,7 +401,7 @@ var modConfig = {
|
|
|
401
401
|
},
|
|
402
402
|
"光束曲射晶片": {
|
|
403
403
|
cost: 2750,
|
|
404
|
-
effect: "拥有“散射”效果,对其他目标造成
|
|
404
|
+
effect: "拥有“散射”效果,对其他目标造成50%的伤害",
|
|
405
405
|
exclusiveTo: "碎骨步枪",
|
|
406
406
|
isExclusive: true
|
|
407
407
|
},
|
|
@@ -3704,10 +3704,10 @@ async function handleScatterAttack(ctx, session, config, handle, equippedWeapon,
|
|
|
3704
3704
|
let scatterRatio = 0;
|
|
3705
3705
|
if (weaponName === "碎骨步枪") {
|
|
3706
3706
|
scatterEffectMessages.push("🔆 【光束曲射晶片】触发散射攻击!");
|
|
3707
|
-
scatterRatio = 0.
|
|
3707
|
+
scatterRatio = 0.5;
|
|
3708
3708
|
} else if (weaponName === "中子步枪") {
|
|
3709
3709
|
scatterEffectMessages.push("🔆 【中子步枪】触发散射攻击!");
|
|
3710
|
-
scatterRatio = 0.
|
|
3710
|
+
scatterRatio = 0.5;
|
|
3711
3711
|
}
|
|
3712
3712
|
for (const secondaryTarget of secondaryTargets) {
|
|
3713
3713
|
const damageResult = await calculateTotalDamage(
|