WoWInterface SVN Molinari

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 4 to Rev 5
    Reverse comparison

Rev 4 → Rev 5

Molinari/Molinari.lua
54,12 → 54,17
 
if(text and not InCombatLockdown() and IsAltKeyDown()) then
if(text == ITEM_MILLABLE or text == ITEM_PROSPECTABLE) then
local spell = text == ITEM_MILLABLE and milling or prospecting
local scribe = text == ITEM_MILLABLE
button:ClearAllPoints()
button:SetAttribute('macrotext', macro:format(spell, GetMouseFocus():GetParent():GetID(), GetMouseFocus():GetID()))
button:SetAttribute('macrotext', macro:format(scribe and milling or prospecting, GetMouseFocus():GetParent():GetID(), GetMouseFocus():GetID()))
button:SetAllPoints(GetMouseFocus())
AutoCastShine_AutoCastStart(button, 0.5, 1, 0.5)
button:Show()
 
if(scribe) then
AutoCastShine_AutoCastStart(button, 0.5, 1, 0.5)
else
AutoCastShine_AutoCastStart(button, 1, 0.5, 0.5)
end
end
end
end