Quantcast
WoWInterface - View Single Post - How to track if a Reagent was used from Reagent Bank while crafting?
View Single Post
02-19-21, 05:24 PM   #5
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 126
Thanks for the response Ketho. I will admit I wasn't aware of the PLAYERREAGENTBANKSLOTS_CHANGED event. Odd I did event tracking and it never fired for me. I figured I'd had to do a predictive calculation based on what was consumed in Reagent Bank and what was in the players inventory. I'm going to have to do a few tests to see if it can do it accurately. One method is to subtract the totals from the Reagent Bank per event fire and then rescan all the player bags again to get an accurate count based on the items used.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
  Reply With Quote