WoWInterface SVN Dolemite

Compare Revisions

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

Rev 7 → Rev 6

trunk/Dolemite/Dolemite.lua
26,9 → 26,11
 
--]]
 
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)
76,8 → 78,6
end
 
function button:PLAYER_LOGIN()
if(not GetSpellInfo(spell)) then return end
 
self:RegisterForClicks('LeftButtonUp')
self:RegisterEvent('MODIFIER_STATE_CHANGED')
self:SetAttribute('*type*', 'macro')