improve: handle purchase quantity of gear items #389

Merged
Sainan merged 2 commits from gear-purchaseQuantity into main 2024-06-24 03:31:29 -07:00
Showing only changes of commit 5665180a83 - Show all commits

View File

@ -105,7 +105,7 @@ const handleStoreItemAcquisition = async (
logger.debug(`store category ${storeCategory}`);
if (!ignorePurchaseQuantity) {
if (internalName in ExportGear) {
quantity *= (ExportGear[internalName].purchaseQuantity || 1);
quantity *= ExportGear[internalName].purchaseQuantity || 1;
}
}
switch (storeCategory) {