WoWInterface SVN Molinari

Compare Revisions

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

Rev 5 → Rev 4

Molinari/Molinari.lua
54,17 → 54,12
 
if(text and not InCombatLockdown() and IsAltKeyDown()) then
if(text == ITEM_MILLABLE or text == ITEM_PROSPECTABLE) then
local scribe = text == ITEM_MILLABLE
local spell = text == ITEM_MILLABLE and milling or prospecting
button:ClearAllPoints()
button:SetAttribute('macrotext', macro:format(scribe and milling or prospecting, GetMouseFocus():GetParent():GetID(), GetMouseFocus():GetID()))
button:SetAttribute('macrotext', macro:format(spell, 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