WoWInterface SVN Molinari

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 16 to Rev 15
    Reverse comparison

Rev 16 → Rev 15

Molinari/Molinari.lua
26,9 → 26,11
 
--]]
 
local button = CreateFrame('Button', 'Molinari', UIParent, 'SecureActionButtonTemplate, AutoCastShineTemplate')
local milling, prospecting = GetSpellInfo(51005), GetSpellInfo(31252)
if(not GetSpellInfo(milling) and not GetSpellInfo(31252)) then return end
 
local button = CreateFrame('Button', 'Molinari', UIParent, 'SecureActionButtonTemplate, AutoCastShineTemplate')
 
local strings = {
[ITEM_MILLABLE] = { name = milling, r = 0.5, g = 1, b = 0.5 },
[ITEM_PROSPECTABLE] = { name = prospecting, r = 1, g = 0.5, b = 0.5 },
76,8 → 78,6
end
 
function button:PLAYER_LOGIN()
if(not GetSpellInfo(milling) and not GetSpellInfo(31252)) then return end
 
self:RegisterForClicks('LeftButtonUp')
self:RegisterEvent('MODIFIER_STATE_CHANGED')
self:SetAttribute('*type*', 'macro')