koishi-plugin-ggcevo-game 1.2.22 → 1.2.24
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 +32 -12
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -265,10 +265,8 @@ function apply(ctx, config) {
|
|
|
265
265
|
description: "标准配置武器,中距离作战利器",
|
|
266
266
|
price: 100,
|
|
267
267
|
tagEffects: {
|
|
268
|
-
"轻甲": 1.5
|
|
268
|
+
"轻甲": 1.5
|
|
269
269
|
// 对轻甲目标造成150%伤害
|
|
270
|
-
"重甲": 0.7
|
|
271
|
-
// 对重甲目标造成70%伤害
|
|
272
270
|
}
|
|
273
271
|
},
|
|
274
272
|
"激光步枪": {
|
|
@@ -286,12 +284,12 @@ function apply(ctx, config) {
|
|
|
286
284
|
"焚烧枪": {
|
|
287
285
|
id: 3,
|
|
288
286
|
type: "热能武器",
|
|
289
|
-
damage:
|
|
287
|
+
damage: 20,
|
|
290
288
|
description: "基于热能的强大武器,烧烬一切",
|
|
291
289
|
price: 450,
|
|
292
290
|
tagEffects: {
|
|
293
291
|
"惧热": 2,
|
|
294
|
-
"生物": 1.
|
|
292
|
+
"生物": 1.5,
|
|
295
293
|
"护盾": 0.5
|
|
296
294
|
}
|
|
297
295
|
},
|
|
@@ -303,21 +301,43 @@ function apply(ctx, config) {
|
|
|
303
301
|
price: 850,
|
|
304
302
|
tagEffects: {
|
|
305
303
|
"重甲": 2,
|
|
306
|
-
"机械": 0.
|
|
307
|
-
"护盾": 0.
|
|
304
|
+
"机械": 0.8,
|
|
305
|
+
"护盾": 0.5
|
|
308
306
|
}
|
|
309
307
|
},
|
|
310
308
|
"狙击步枪": {
|
|
311
309
|
id: 5,
|
|
312
310
|
type: "实弹武器",
|
|
313
|
-
damage:
|
|
311
|
+
damage: 50,
|
|
314
312
|
description: "用于隐秘射击的最佳武器,但是无法穿透护甲",
|
|
315
313
|
price: 550,
|
|
316
314
|
tagEffects: {
|
|
317
|
-
"
|
|
318
|
-
"
|
|
315
|
+
"生物": 1.5,
|
|
316
|
+
"轻甲": 0.8,
|
|
319
317
|
"重甲": 0.2
|
|
320
318
|
}
|
|
319
|
+
},
|
|
320
|
+
"霰弹枪": {
|
|
321
|
+
id: 6,
|
|
322
|
+
type: "实弹武器",
|
|
323
|
+
damage: 32,
|
|
324
|
+
description: "近距离攻击武器,专为遭遇战设计使用",
|
|
325
|
+
price: 325,
|
|
326
|
+
tagEffects: {
|
|
327
|
+
"轻甲": 1.5,
|
|
328
|
+
"重甲": 0.5
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"等离子切割机": {
|
|
332
|
+
id: 7,
|
|
333
|
+
type: "实弹武器",
|
|
334
|
+
damage: 12,
|
|
335
|
+
description: "一种改造后的采矿切割机,有效对抗重甲单位",
|
|
336
|
+
price: 150,
|
|
337
|
+
tagEffects: {
|
|
338
|
+
"重甲": 1.5,
|
|
339
|
+
"机械": 1.2
|
|
340
|
+
}
|
|
321
341
|
}
|
|
322
342
|
};
|
|
323
343
|
const modConfig = {
|
|
@@ -335,7 +355,7 @@ function apply(ctx, config) {
|
|
|
335
355
|
},
|
|
336
356
|
// 新增专属模块
|
|
337
357
|
"裂甲核心": {
|
|
338
|
-
cost:
|
|
358
|
+
cost: 750,
|
|
339
359
|
effect: "伤害+40%,对重甲目标变更为造成120%伤害",
|
|
340
360
|
exclusiveTo: "高斯步枪",
|
|
341
361
|
// 指定专属武器
|
|
@@ -2373,7 +2393,7 @@ ${validTypes.join("、")}`;
|
|
|
2373
2393
|
let message = `${weapon} 升级成功!花费${actualCost}枚金币${discountMessage}。`;
|
|
2374
2394
|
if (activeWish) {
|
|
2375
2395
|
message += `
|
|
2376
|
-
🦊
|
|
2396
|
+
🦊 灵狐升运祈愿已使用,下次升级将恢复原价。`;
|
|
2377
2397
|
}
|
|
2378
2398
|
return `${message}
|
|
2379
2399
|
当前等级:${newLevel},伤害:${baseDamage},可用改装槽:${slots}个。`;
|