Quantcast Item Quality - WoWInterface
Thread Tools Display Modes
12-22-05, 12:36 AM   #1
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.
  Reply With Quote
12-22-05, 02:19 AM   #2
A Pyroguard Emberseer
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,251
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)
  Reply With Quote
12-22-05, 02:09 PM   #3
A Murloc Raider
Join Date: Dec 2005
Posts: 5
Thanks man.
  Reply With Quote

WoWInterface » 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