koishi-plugin-ggcevo-game 1.4.17 → 1.4.18
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 -5
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -4100,12 +4100,17 @@ ${scatterResult.scatterEffectMessages.map((m) => `▸ ${m}`).join("\n")}`,
|
|
|
4100
4100
|
redcrystalMessage ? `▸ ${redcrystalMessage}` : ""
|
|
4101
4101
|
].filter((msg) => msg);
|
|
4102
4102
|
messages.push(
|
|
4103
|
-
`获得金币:${finalReward}
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4103
|
+
`获得金币:${finalReward}`
|
|
4104
|
+
);
|
|
4105
|
+
if (bonusMessages.length > 0) {
|
|
4106
|
+
messages.push(
|
|
4107
|
+
`⚡ 加成效果:`,
|
|
4108
|
+
...bonusMessages
|
|
4109
|
+
);
|
|
4110
|
+
}
|
|
4111
|
+
messages.push(
|
|
4107
4112
|
`目标剩余HP:${Math.max(primaryResult.currentHP, 0)}/${maxHP}`,
|
|
4108
|
-
primaryResult.isDefeated ? `🎉
|
|
4113
|
+
primaryResult.isDefeated ? `🎉 恭喜,您已成功击败 ${targetBoss.name}!` : ""
|
|
4109
4114
|
);
|
|
4110
4115
|
return messages.filter((line) => line).join("\n");
|
|
4111
4116
|
}
|