feat: daily tribute #1241
@ -46,7 +46,7 @@ const scaleAmount = (day: number, amount: number, scalingMultiplier: number): nu
|
|||||||
return amount + Math.min(day, 3000) / divisor;
|
return amount + Math.min(day, 3000) / divisor;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Always produces the same result if used the same account and day.
|
// Always produces the same result for the same account _id & LoginDays pair.
|
||||||
export const getRandomLoginRewards = (
|
export const getRandomLoginRewards = (
|
||||||
account: TAccountDocument,
|
account: TAccountDocument,
|
||||||
inventory: TInventoryDatabaseDocument
|
inventory: TInventoryDatabaseDocument
|
||||||
|
Loading…
x
Reference in New Issue
Block a user