Quantcast

Adding more debug messages for when we're equipping

James Whitehead II [08-17-08 - 13:21]
Adding more debug messages for when we're equipping
Filename
DressToKill.lua
diff --git a/DressToKill.lua b/DressToKill.lua
index 7a0dc60..ead09bd 100644
--- a/DressToKill.lua
+++ b/DressToKill.lua
@@ -268,6 +268,8 @@ local function scanFunction(weightFunction)
 		-- Loop through all of the available items, and try equipping each of them
 		for mask,item in pairs(avail) do
 			if not blacklist[mask] then
+				local name,link = GetItemInfo(item)
+				debug(L["Trying on %s"], link)
 				local equipped = DressToKill:EquipItem(slotId, mask, stash)
 				if equipped then
 					local link = GetInventoryItemLink("player", slotId)