more daily bonus for prestige
This commit is contained in:
parent
96cb799cc7
commit
ee29f97ca4
4 changed files with 47 additions and 11 deletions
|
|
@ -82,6 +82,7 @@ export const POST: RequestHandler = async ({ request, locals }) => {
|
|||
.set({
|
||||
baseCurrencyBalance: '100.00000000',
|
||||
prestigeLevel: nextPrestige,
|
||||
lastRewardClaim: null,
|
||||
updatedAt: new Date()
|
||||
})
|
||||
.where(eq(user.id, userId));
|
||||
|
|
@ -92,7 +93,7 @@ export const POST: RequestHandler = async ({ request, locals }) => {
|
|||
userId: userId,
|
||||
type: 'SYSTEM',
|
||||
title: `${prestigeName} Achieved!`,
|
||||
message: `Congratulations! You have successfully reached ${prestigeName}. Your portfolio has been reset and you can now start fresh with your new prestige badge.`,
|
||||
message: `Congratulations! You have successfully reached ${prestigeName}. Your portfolio has been reset, daily reward cooldown has been cleared, and you can now start fresh with your new prestige badge and enhanced daily rewards.`,
|
||||
});
|
||||
|
||||
return json({
|
||||
|
|
|
|||
Reference in a new issue