ensure stock is an int after multiplier
All checks were successful
Build / build (pull_request) Successful in 50s
All checks were successful
Build / build (pull_request) Successful in 50s
This commit is contained in:
parent
6104eeb524
commit
6fe0a42b13
@ -1393,7 +1393,7 @@ export const populateDailyDeal = async (worldState: IWorldState): Promise<void>
|
||||
Discount: dailyDeal.Discount,
|
||||
OriginalPrice: dailyDeal.OriginalPrice,
|
||||
SalePrice: dailyDeal.SalePrice,
|
||||
AmountTotal: dailyDeal.AmountTotal * (config.worldState?.darvoStockMultiplier ?? 1),
|
||||
AmountTotal: Math.round(dailyDeal.AmountTotal * (config.worldState?.darvoStockMultiplier ?? 1)),
|
||||
AmountSold: dailyDeal.AmountSold
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user