koishi-plugin-ggcevo-game 1.4.12 → 1.4.13
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 +5 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -5938,11 +5938,14 @@ ${items.join("、")}
|
|
|
5938
5938
|
redcrystal: (initiatorCareer?.redcrystal || 0) + redcrystalAdd
|
|
5939
5939
|
}], ["handle"]);
|
|
5940
5940
|
}
|
|
5941
|
-
if (
|
|
5941
|
+
if (computerExpertProtection) {
|
|
5942
|
+
} else if (hornEffect) {
|
|
5943
|
+
await ctx.database.set("ggcevo_sign", targetHandle, {
|
|
5944
|
+
totalRewards: targetGold - goldTransfer
|
|
5945
|
+
});
|
|
5942
5946
|
await ctx.database.set("ggcevo_sign", initiatorHandle, {
|
|
5943
5947
|
totalRewards: initiatorGold + goldTransfer + extraGold
|
|
5944
5948
|
});
|
|
5945
|
-
} else if (computerExpertProtection) {
|
|
5946
5949
|
} else {
|
|
5947
5950
|
if (isWin) {
|
|
5948
5951
|
await ctx.database.set("ggcevo_sign", targetHandle, {
|