/trunk/Molinari
end |
function button:PLAYER_LOGIN() |
if(not GetSpellInfo(milling) and not GetSpellInfo(31252)) then return end |
if(not IsSpellKnown(51005) and not IsSpellKnown(31252)) then return end |
self:RegisterForClicks('LeftButtonUp') |
self:RegisterEvent('MODIFIER_STATE_CHANGED') |
for key, value in next, button.sparkles do |
value:SetWidth(value:GetWidth() * 3) |
value:SetHeight(value:GetHeight() * 3) |
end |
-- temporary fix for blizzard's bug with secure frames and anchoring on the ContainerFrame |
if(Bagnon or cargBags or Combuctor) then return end |
hooksecurefunc('ContainerFrame_GenerateFrame', function(self, size, id) |
if(size ~= 1 and id == 0) then |
ContainerFrame1Item1:SetPoint('BOTTOMRIGHT', ContainerFrame1MoneyFrameCopperButton, 'BOTTOMRIGHT', 3, 21) |
end |
end) |
## Interface: 30100 |
## Interface: 30200 |
## Author: p3lim |
## Version: 30100.wowi:revision |
## Version: 30200.wowi:revision |
## Title: Molinari |
## Notes: One-click milling/prospecting! |