WoWInterface SVN Dolemite

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 6 to Rev 7
    Reverse comparison

Rev 6 → Rev 7

trunk/Dolemite/Dolemite.lua
26,11 → 26,9
 
--]]
 
local spell = GetSpellInfo(13262)
if(not GetSpellInfo(spell)) then return end
 
local WEAPON, ARMOR = GetAuctionItemClasses()
local button = CreateFrame('Button', 'Dolemite', UIParent, 'SecureActionButtonTemplate, AutoCastShineTemplate')
local spell = GetSpellInfo(13262)
 
local function IsDisenchantable(id)
local _, _, quality, ilevel, _, itype = GetItemInfo(id)
78,6 → 76,8
end
 
function button:PLAYER_LOGIN()
if(not GetSpellInfo(spell)) then return end
 
self:RegisterForClicks('LeftButtonUp')
self:RegisterEvent('MODIFIER_STATE_CHANGED')
self:SetAttribute('*type*', 'macro')