koishi-plugin-ggcevo-game 1.3.70 → 1.3.72
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 +8 -9
- 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
|
"侦察步枪": {
|
|
@@ -552,8 +552,8 @@ function apply(ctx, config) {
|
|
|
552
552
|
isExclusive: true
|
|
553
553
|
},
|
|
554
554
|
"金刚石瞄准镜": {
|
|
555
|
-
cost:
|
|
556
|
-
effect: "
|
|
555
|
+
cost: 2250,
|
|
556
|
+
effect: "对重甲目标改为造成80%伤害",
|
|
557
557
|
exclusiveTo: "侦察步枪",
|
|
558
558
|
isExclusive: true
|
|
559
559
|
}
|
|
@@ -1327,7 +1327,6 @@ function apply(ctx, config) {
|
|
|
1327
1327
|
{ mod: "裂甲核心", tag: "重甲", value: 1.5 },
|
|
1328
1328
|
{ mod: "助燃核心", tag: "惧热", value: 3 },
|
|
1329
1329
|
{ mod: "助燃核心", tag: "生物", value: 2 },
|
|
1330
|
-
{ mod: "金刚石瞄准镜", tag: "轻甲", value: 1 },
|
|
1331
1330
|
{ mod: "金刚石瞄准镜", tag: "重甲", value: 0.8 }
|
|
1332
1331
|
];
|
|
1333
1332
|
let totalAdditive = 0;
|
|
@@ -5939,7 +5938,7 @@ ${validTypes.join("、")}`;
|
|
|
5939
5938
|
"🏆 伤害排行榜奖励:",
|
|
5940
5939
|
...rewardMessages
|
|
5941
5940
|
];
|
|
5942
|
-
if (
|
|
5941
|
+
if (isDefeated) {
|
|
5943
5942
|
cleanerRewardBroadcast = await getCleanerRewardBroadcast(
|
|
5944
5943
|
ctx,
|
|
5945
5944
|
targetBoss,
|
|
@@ -5992,7 +5991,7 @@ ${validTypes.join("、")}`;
|
|
|
5992
5991
|
}
|
|
5993
5992
|
}
|
|
5994
5993
|
bossEventBroadcast = broadcastMessages2;
|
|
5995
|
-
if (
|
|
5994
|
+
if (isDefeated) {
|
|
5996
5995
|
cleanerRewardBroadcast = await getCleanerRewardBroadcast(
|
|
5997
5996
|
ctx,
|
|
5998
5997
|
targetBoss,
|
|
@@ -7093,13 +7092,13 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
7093
7092
|
handle,
|
|
7094
7093
|
taskId: task2.id
|
|
7095
7094
|
}).catch(() => [null]);
|
|
7096
|
-
const completionStatus = playerTask2
|
|
7095
|
+
const completionStatus = playerTask2?.progress || 0;
|
|
7097
7096
|
taskList.push([
|
|
7098
7097
|
`▸ 【${taskName}】`,
|
|
7099
7098
|
`类型: ${task2.type}`,
|
|
7100
7099
|
`目标: ${task2.target}次`,
|
|
7101
7100
|
`奖励: ${task2.price}金币`,
|
|
7102
|
-
`进度: ${completionStatus}`,
|
|
7101
|
+
`进度: ${completionStatus}/${task2.target}`,
|
|
7103
7102
|
"------------------"
|
|
7104
7103
|
].join("\n"));
|
|
7105
7104
|
}
|