Mercurial > wow > ouroloot
comparison core.lua @ 14:a91cd74d8df9
Add quality to debug output.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Fri, 01 Jul 2011 19:29:35 +0000 |
parents | 952c3ac0e783 |
children | d8fee518ce5d |
comparison
equal
deleted
inserted
replaced
13:724daab48851 | 14:a91cd74d8df9 |
---|---|
546 local iname, ilink, iquality = GetItemInfo(itemid) | 546 local iname, ilink, iquality = GetItemInfo(itemid) |
547 if (not iname) or (not itexture) then | 547 if (not iname) or (not itexture) then |
548 iname, ilink, iquality, itexture = | 548 iname, ilink, iquality, itexture = |
549 UNKNOWN..': '..itemid, 'item:6948', ITEM_QUALITY_COMMON, [[ICONS\INV_Misc_QuestionMark]] | 549 UNKNOWN..': '..itemid, 'item:6948', ITEM_QUALITY_COMMON, [[ICONS\INV_Misc_QuestionMark]] |
550 end | 550 end |
551 self.dprint('loot',">>_do_loot, R:", recipient, "I:", itemid, "C:", count, "frm:", from, "ex:", extratext) | 551 self.dprint('loot',">>_do_loot, R:", recipient, "I:", itemid, "C:", count, "frm:", from, "ex:", extratext, "Q:", iquality) |
552 | 552 |
553 local i | 553 local i |
554 itemid = tonumber(ilink:match("item:(%d+)")) | 554 itemid = tonumber(ilink:match("item:(%d+)")) |
555 if local_override or ((iquality >= self.threshold) and not opts.itemfilter[itemid]) then | 555 if local_override or ((iquality >= self.threshold) and not opts.itemfilter[itemid]) then |
556 if (self.rebroadcast and (not from)) and not local_override then | 556 if (self.rebroadcast and (not from)) and not local_override then |