For those who use MSBT 5.4.78, you might have noticed that the item count is not displaying total count correctly. As an example, If I have 20 Relics of Ulduar, and if I loot 3, MSBT's "%t" will not show 23, but 26. To correct this, just go under MSBT folder (under Interface/Addons) and edit line 102 of MSBTLoot.lua :
local numTotal = numItems + numLooted
becomes local numTotal = numItems
For those who use MSBT 5.4.78, you might have noticed that the item count is not displaying total count correctly. As an example, If I have 20 Relics of Ulduar, and if I loot 3, MSBT's "%t" will not show 23, but 26. To correct this, just go under MSBT folder (under Interface/Addons) and edit line 102 of MSBTLoot.lua :
local numTotal = numItems + numLooted
becomes local numTotal = numItems
Hoping that this will benefit somebody.
if I may add, whenever you loot an item that doesn't exist in your inventory the numTotal is 0. to fix this issue I suggest an edit to the following lines
local numItems = GetItemCount(itemLink) or 1
local numTotal = numItems + numLooted
becomes
local iCount = GetItemCount(itemLink)
local numItems = iCount > 0 and iCount or numLooted
local numTotal = numItems
if I may add, whenever you loot an item that doesn't exist in your inventory the numTotal is 0. to fix this issue I suggest an edit to the following lines
local numItems = GetItemCount(itemLink) or 1
local numTotal = numItems + numLooted
becomes
local iCount = GetItemCount(itemLink)
local numItems = iCount > 0 and iCount or numLooted
local numTotal = numItems