Originally Posted by semlar
I would assume LOOT_OPENED might fire for every corpse in range for AOE loot when it populates the window with their items.
It could very well fire simply from opening the loot window and again when it's populated.
If you know it has the potential to fire multiple times you'll just have to code around that.
|
Yes, I should able to just use the 'backup' system that reconstructs NPCID/objectID and other variables from GUIDs for NPCs and objects, in a slightly modified form. Though you can't get the itemID of the container from the GUID, the item container will be 'locked' because it is in use, so the addon could scan the inventory for the locked item and get the itemID from that.
Still, I should make a bug report thread about this on the official forums now that I know what is happening (even if I don't know why).