Reply
Thread Tools Display Modes
Unread 12-22-05, 12:36 AM   #1
Meddik
A Murloc Raider
Join Date: Dec 2005
Posts: 5
Item Quality

Hey guys, I'm pretty new to UI creation, and have a ton of questions... but I'll just start with one that's been bugging me for a while.

I'm making a DKP style point system for my guild, and UIs to go with it. The one I'm currently working on creates a point value based on the stats of the item... but it does it for items of all qualities. I was wondering how I could limit it to uncommon items and above. Most of the current code I'm using has come from various other UIs, and I'm just trying to learn by what others have done... but now I'm stuck.

Thanks for the help ahead of time.
Cheers.
Meddik is offline   Reply With Quote
Unread 12-22-05, 02:19 AM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,192
I'm not lua savvy (by a long way) but GetItemInfo seems to cater to your needs (specifically the itemRarity return (0=poor -> 5=legendary)
Dridzt is offline   Reply With Quote
Unread 12-22-05, 02:09 PM   #3
Meddik
A Murloc Raider
Join Date: Dec 2005
Posts: 5
Thanks man.
Meddik is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Lua/XML Help » Item Quality

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off