Mercurial > wow > kbf
comparison KBF.lua @ 48:ae92a56133ad
remove outdated comment
author | Chris Mellon <arkanes@gmail.com> |
---|---|
date | Sat, 12 Mar 2011 18:21:02 -0600 |
parents | afd410b949ea |
children | 95dfc062e583 |
comparison
equal
deleted
inserted
replaced
47:afd410b949ea | 48:ae92a56133ad |
---|---|
292 if gratt then | 292 if gratt then |
293 gratt:SetInventoryItem("player", slot) | 293 gratt:SetInventoryItem("player", slot) |
294 for tag, info in pairs(knownEnchants) do | 294 for tag, info in pairs(knownEnchants) do |
295 if gratt:Find(tag) then | 295 if gratt:Find(tag) then |
296 spellId, duration = unpack(info) | 296 spellId, duration = unpack(info) |
297 -- TODO: Maybe want to leave it as the weapon icon? | |
298 -- I don't think theres enough room to add both the name of the weapon & the buff in there | |
299 -- maybe use the tag? | |
300 -- Or maybe use the slot name, ie Flametongue / Main Hand | |
301 name, _, _ = GetSpellInfo(spellId) | 297 name, _, _ = GetSpellInfo(spellId) |
302 local slots = {[16] = "Main Hand", [17] = "Off Hand", [18] = "Thrown"} | 298 local slots = {[16] = "Main Hand", [17] = "Off Hand", [18] = "Thrown"} |
303 name = name .. " (" .. slots[slot] .. ")" | 299 name = name .. " (" .. slots[slot] .. ")" |
304 break | 300 break |
305 end | 301 end |