Parrot2
Parrot2 copied to clipboard
Fix loot total bug
GetItemCount already gets the total number.
The problem is the chat event used to show the item count often (usually) fires before the item count updates. So to make it more consistent I'd have to delay the GetItemCount call, but Parrot can't really do async notices.
Yeah, after I change the code, I found out that too. I saw someone include a timer in their code and wait for 0.2 seconds before calling the function. Maybe you could try this way. https://github.com/hurricup/WoW-Ace3/blob/master/AceTimer-3.0/AceTimer-3.0.lua