Originally Posted by savantido
Have to edit the aura.lua file. There are settings in there for the buff/debuff offsets.
|
My confidence isny very high when it comes to do-it-myself *.LUA editing. I think I found the right code in the Aura.lua, but Im not exactly sure what I should be changing. . . could use a 2nd or 3rd opinion:
debuff:SetWidth(size)
debuff:SetHeight(size)
if direction == "Up then Left" then
debuff:SetPoint("TOPLEFT", auraFrame, "TOPLEFT", -pos_a, pos_b+5)
elseif direction == "Up then Right" then
debuff:SetPoint("TOPLEFT", auraFrame, "TOPLEFT", pos_a, pos_b+5)
elseif direction == "Down then Left" then
debuff:SetPoint("TOPLEFT", auraFrame, "TOPLEFT", -pos_a, -pos_b-5)
elseif direction == "Down then Right" then
debuff:SetPoint("TOPLEFT", auraFrame, "TOPLEFT", pos_a, -pos_b-5)
elseif direction == "Left then Up" then
debuff:SetPoint("TOPLEFT", auraFrame, "TOPLEFT", -pos_b, pos_a+5)
elseif direction == "Left then Down" then
debuff:SetPoint("TOPLEFT", auraFrame, "TOPLEFT", -pos_b, -pos_a-5)
elseif direction == "Right then Up" then
debuff:SetPoint("TOPLEFT", auraFrame, "TOPLEFT", pos_b, pos_a+5)
elseif direction == "Right then Down" then
debuff:SetPoint("TOPLEFT", auraFrame, "TOPLEFT", pos_b, -pos_a-5)
end
if i % max_debuffs_per_row == 0 then
pos_a = pos_a + size + 2
pos_b = 0
else
pos_b = pos_b + size + 2
end
end
else
local buffsize = db.buffsize
if snap then
buffsize = buffsize * scale_adjust
end
Thanks again!