(→Parameters: boilerplate) |
@DeletedUser40286997 (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | {{Stub/Item}} |
||
− | {{wowapi}}__NOTOC__ |
||
+ | {{#data:itemtip |
||
+ | |name=Verdant Tundra Shoulderpads |
||
+ | |quality=uncommon |
||
+ | |icon=inv_shoulder_73 |
||
+ | |bind=BoE |
||
+ | |slot=Shoulder |
||
+ | |type=Leather |
||
+ | |armor=469 |
||
+ | |stamina=39 |
||
+ | |intellect=38 |
||
+ | |spirit=33 |
||
+ | |durability=70 |
||
+ | |level=72 |
||
+ | |ilvl=155 |
||
+ | |sellprice=17418 |
||
+ | |itemid=39708}} |
||
+ | ==Source== |
||
+ | ... |
||
+ | ==External links== |
||
− | Returns RGB color codes for an item [[quality]]. |
||
+ | <!-- Read http://www.wowpedia.org/Wowpedia:External_links before posting your links here. |
||
− | |||
+ | Links that do not conform to the rules will be DELETED. |
||
− | r, g, b, hex = GetItemQualityColor(quality) |
||
+ | Repeat violations may result in a BAN. |
||
− | == Arguments == |
||
+ | Have a nice day. :) --> |
||
− | ;quality : Number - The numeric ID of the quality from 0 (Poor) to 7 (Heirloom). |
||
+ | {{Elinks-item|39708}} |
||
− | |||
− | == Returns == |
||
− | ;r : Number - The Red component of the color (0 to 1, inclusive). |
||
− | ;g : Number - The Green component of the color (0 to 1, inclusive). |
||
− | ;b : Number - The Blue component of the color (0 to 1, inclusive). |
||
− | ;hex : String - The [[UI escape sequences|UI escape sequence]] for this color. |
||
− | |||
− | == Example == |
||
− | for i = 0, 7 do |
||
− | local r, g, b, hex = GetItemQualityColor(i); |
||
− | print(i, hex, getglobal("ITEM_QUALITY" .. i .. "_DESC"), string.sub(hex,5)); |
||
− | end |
||
− | |||
− | === Result === |
||
− | : Will print all qualities, in their individual colors (example result from version 3.1.1). |
||
− | {{Example/Begin}} |
||
− | 0 <span style="color: #9d9d9d">Poor 9d9d9d</span><br /> |
||
− | 1 <span style="color: #ffffff">Common ffffff</span><br /> |
||
− | 2 <span style="color: #1eff00">Uncommon 1eff00</span><br /> |
||
− | 3 <span style="color: #0070dd">Rare 0070dd</span><br /> |
||
− | 4 <span style="color: #a335ee">Epic a335ee</span><br /> |
||
− | 5 <span style="color: #ff8000">Legendary ff8000</span><br /> |
||
− | 6 <span style="color: #e6cc80">Artifact e6cc80</span><br /> |
||
− | 7 <span style="color: #e6cc80">Heirloom e6cc80</span> |
||
− | {{Example/End}} |
||
− | |||
− | ==Details== |
||
− | : GetItemQualityColor() was added in 1.9.1 |
||
− | |||
− | :If an invalid quality index is specified, GetItemQualityColor() returns white (same as index 1): |
||
− | ::r = 1 |
||
− | ::g = 1 |
||
− | ::b = 1 |
||
− | ::hex = |cffffffff |
||
− | |||
− | :Quality #7 was added in version 3.0 for heirloom items. |
||
− | :ITEM_QUALITY7_DESC is now defined as of 3.1.1. |
||
− | |||
− | == See also == |
||
− | * [[API ITEM_QUALITY_COLORS]] |
||
− | * [[API TYPE Quality]] |
Revision as of 13:13, 22 February 2011
- Verdant Tundra Shoulderpads
- Item Level 155
- Binds when equipped
- Leather
- Shoulder
- 469 Armor
- +38 Intellect
- +39 Stamina
- +33 Spirit
- Durability 70 / 70
- Requires Level 72
- Sell Price: 1 74 18
Source
...