fix: use exact quantity when adding gear items by StoreItem #2310

Merged
Sainan merged 2 commits from exact-quantity into main 2025-06-26 14:31:40 -07:00
Showing only changes of commit fac58d21ae - Show all commits

View File

@ -499,7 +499,7 @@ export const addItem = async (
// - Blueprints for Ancient Protector Specter, Shield Osprey Specter, etc. have num=1 despite giving their purchaseQuantity.
if (!exactQuantity) {
quantity *= ExportGear[typeName].purchaseQuantity ?? 1;
logger.debug(`non-exact acquisition of ${typeName}, updated quantity to ${quantity}`);
logger.debug(`non-exact acquisition of ${typeName}; factored quantity is ${quantity}`);
}
const consumablesChanges = [
{