View Single Post
12-29-17, 10:34 AM   #7
Tim
A Rage Talon Dragon Guard
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 308
Originally Posted by Layback_ View Post
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.

Thank you!

-- 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.
- https://wow.gamepedia.com/World_of_W...rnal_Functions

However, you're still going to have to have some kind of table with gear IDs to check against.


Code:
local name, icon, slot, armorType, itemID, link, encounterID = EJ_GetLootInfoByIndex(index)
  Reply With Quote