Best way to determine how many of which tier pieces the player is wearing
View Single Post
12-29-17, 10:34 AM
A Frostmaul Preserver
Join Date: Apr 2008
Originally Posted by
One more question here
Would it be possible to get a tier data for each classes without hard coding it?
Not only the one that the player already owns, but in general.
-- EDIT #1
Guess I could use encounter journal APIs
-- EDIT #2
Ughhhhhh... encounter journal APIs do not seem to provide an ability to check items dropped by each boss
Gotta go back to research!!!!!
I really don't think that data is readily available. I'm pretty sure you're going to have to hard code it.
You can definitely get items dropped from each boss from the EJ.
However, you're still going to have to have some kind of table with gear IDs to check against.
local name, icon, slot, armorType, itemID, link, encounterID = EJ_GetLootInfoByIndex(index)
View Public Profile
Send a private message to Tim
Visit Tim's homepage!
Find More Posts by Tim