Mercurial > wow > ouroloot
comparison mleqdkp.lua @ 12:40ff9c63badc
GetItemQualityColor change here too
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Tue, 28 Jun 2011 19:20:14 +0000 |
parents | 67b8537e8432 |
children |
comparison
equal
deleted
inserted
replaced
11:952c3ac0e783 | 12:40ff9c63badc |
---|---|
221 end | 221 end |
222 | 222 |
223 tag_lookup_handlers.COLOR = | 223 tag_lookup_handlers.COLOR = |
224 function (i, e) | 224 function (i, e) |
225 local q = select(4, GetItemQualityColor(e.quality)) | 225 local q = select(4, GetItemQualityColor(e.quality)) |
226 return q:sub(3) -- skip leading |c | 226 return q -- skip leading |c (no longer returned by GIQC after 4.2) |
227 end | 227 end |
228 | 228 |
229 tag_lookup_handlers.COUNT = | 229 tag_lookup_handlers.COUNT = |
230 function (i, e) | 230 function (i, e) |
231 return e.count and e.count:sub(2) or "1" -- skip the leading "x" | 231 return e.count and e.count:sub(2) or "1" -- skip the leading "x" |