koishi-plugin-ggcevo-game 1.3.70 → 1.3.71
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
|
@@ -5939,7 +5939,7 @@ ${validTypes.join("、")}`;
|
|
|
5939
5939
|
"🏆 伤害排行榜奖励:",
|
|
5940
5940
|
...rewardMessages
|
|
5941
5941
|
];
|
|
5942
|
-
if (
|
|
5942
|
+
if (isDefeated) {
|
|
5943
5943
|
cleanerRewardBroadcast = await getCleanerRewardBroadcast(
|
|
5944
5944
|
ctx,
|
|
5945
5945
|
targetBoss,
|
|
@@ -5992,7 +5992,7 @@ ${validTypes.join("、")}`;
|
|
|
5992
5992
|
}
|
|
5993
5993
|
}
|
|
5994
5994
|
bossEventBroadcast = broadcastMessages2;
|
|
5995
|
-
if (
|
|
5995
|
+
if (isDefeated) {
|
|
5996
5996
|
cleanerRewardBroadcast = await getCleanerRewardBroadcast(
|
|
5997
5997
|
ctx,
|
|
5998
5998
|
targetBoss,
|
|
@@ -7093,13 +7093,13 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
7093
7093
|
handle,
|
|
7094
7094
|
taskId: task2.id
|
|
7095
7095
|
}).catch(() => [null]);
|
|
7096
|
-
const completionStatus = playerTask2
|
|
7096
|
+
const completionStatus = playerTask2?.progress || 0;
|
|
7097
7097
|
taskList.push([
|
|
7098
7098
|
`▸ 【${taskName}】`,
|
|
7099
7099
|
`类型: ${task2.type}`,
|
|
7100
7100
|
`目标: ${task2.target}次`,
|
|
7101
7101
|
`奖励: ${task2.price}金币`,
|
|
7102
|
-
`进度: ${completionStatus}`,
|
|
7102
|
+
`进度: ${completionStatus}/${task2.target}`,
|
|
7103
7103
|
"------------------"
|
|
7104
7104
|
].join("\n"));
|
|
7105
7105
|
}
|