koishi-plugin-ggcevo-game 1.2.59 → 1.2.61
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 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1977,6 +1977,11 @@ ${itemDetails.join("\n")}`;
|
|
|
1977
1977
|
monthlyDays,
|
|
1978
1978
|
totalRewards: (record?.totalRewards || 0) + points
|
|
1979
1979
|
}]);
|
|
1980
|
+
await ctx.database.upsert("ggcevo_backpack", [{
|
|
1981
|
+
handle,
|
|
1982
|
+
itemId: 1,
|
|
1983
|
+
quantity: (backpack?.quantity || 0) + tickets
|
|
1984
|
+
}]);
|
|
1980
1985
|
if (redCrystal > 0) {
|
|
1981
1986
|
await ctx.database.upsert("ggcevo_careers", [{
|
|
1982
1987
|
handle,
|