fix: use exact quantity when adding gear items by StoreItem #2310
@ -499,7 +499,7 @@ export const addItem = async (
|
|||||||
// - Blueprints for Ancient Protector Specter, Shield Osprey Specter, etc. have num=1 despite giving their purchaseQuantity.
|
// - Blueprints for Ancient Protector Specter, Shield Osprey Specter, etc. have num=1 despite giving their purchaseQuantity.
|
||||||
if (!exactQuantity) {
|
if (!exactQuantity) {
|
||||||
quantity *= ExportGear[typeName].purchaseQuantity ?? 1;
|
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 = [
|
const consumablesChanges = [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user