Commit dd7c46e 1 parent 45375db commit dd7c46e Copy full SHA for dd7c46e
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4
4
## Title : CraftSim
5
5
## Notes : Calculates the average profit based on your profession stats and other tools for the war within gold making
6
6
## Author : genju
7
- ## Version : 19.1.0.1
7
+ ## Version : 19.1.0.2
8
8
## X-Curse-Project-ID : 705015
9
9
## X-Wago-ID : 0mNwaPKo
10
10
## X-WoWI-ID : 26519
Original file line number Diff line number Diff line change @@ -589,13 +589,14 @@ function CraftSim.CRAFTQ.CreateAuctionatorShoppingList()
589
589
local isOrderReagent = optionalReagent :IsOrderReagentIn (craftQueueItem .recipeData )
590
590
local qualityID = C_TradeSkillUI .GetItemReagentQualityByItemInfo (itemID )
591
591
if not isOrderReagent and not isSelfCrafted and not GUTIL :isItemSoulbound (itemID ) then
592
+ local allocatedQuantity = quantityMap [itemID ] or 1
592
593
reagentMap [itemID ] = reagentMap [itemID ] or {
593
594
itemName = optionalReagent .item :GetItemName (),
594
595
qualityID = qualityID ,
595
- quantity = quantityMap [ itemID ] or 1
596
+ quantity = allocatedQuantity
596
597
}
597
598
reagentMap [itemID ].quantity = reagentMap [itemID ]
598
- .quantity * craftQueueItem .amount
599
+ .quantity + allocatedQuantity * craftQueueItem .amount
599
600
end
600
601
end
601
602
end
You can’t perform that action at this time.
0 commit comments