koishi-plugin-ggcevo-game 1.3.68 → 1.3.70
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 +10 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -550,6 +550,12 @@ function apply(ctx, config) {
|
|
|
550
550
|
effect: "攻击目标后,若有存活的其他异形,则对其造成50%的武器基础伤害",
|
|
551
551
|
exclusiveTo: "碎骨步枪",
|
|
552
552
|
isExclusive: true
|
|
553
|
+
},
|
|
554
|
+
"金刚石瞄准镜": {
|
|
555
|
+
cost: 1750,
|
|
556
|
+
effect: "对轻甲目标改为造成100%伤害,对重甲目标改为造成80%伤害",
|
|
557
|
+
exclusiveTo: "侦察步枪",
|
|
558
|
+
isExclusive: true
|
|
553
559
|
}
|
|
554
560
|
};
|
|
555
561
|
const wishConfig = {
|
|
@@ -1320,7 +1326,9 @@ function apply(ctx, config) {
|
|
|
1320
1326
|
const MOD_EFFECTS = [
|
|
1321
1327
|
{ mod: "裂甲核心", tag: "重甲", value: 1.5 },
|
|
1322
1328
|
{ mod: "助燃核心", tag: "惧热", value: 3 },
|
|
1323
|
-
{ mod: "助燃核心", tag: "生物", value: 2 }
|
|
1329
|
+
{ mod: "助燃核心", tag: "生物", value: 2 },
|
|
1330
|
+
{ mod: "金刚石瞄准镜", tag: "轻甲", value: 1 },
|
|
1331
|
+
{ mod: "金刚石瞄准镜", tag: "重甲", value: 0.8 }
|
|
1324
1332
|
];
|
|
1325
1333
|
let totalAdditive = 0;
|
|
1326
1334
|
for (const tag of tags) {
|
|
@@ -1993,7 +2001,7 @@ function apply(ctx, config) {
|
|
|
1993
2001
|
{ name: targetBoss.name },
|
|
1994
2002
|
{ freezing: newFreezing }
|
|
1995
2003
|
);
|
|
1996
|
-
if (newFreezing ===
|
|
2004
|
+
if (newFreezing === currentFreezing) {
|
|
1997
2005
|
messages.push(`❄️ 【寒冷】效果达到上限(10层)`);
|
|
1998
2006
|
} else {
|
|
1999
2007
|
messages.push(`❄️ ${targetBoss.name} 获得1层"寒冷"(当前${newFreezing}层)`);
|