OmaRF.dispelBackColor = {0.5, 0.2, 0};
OmaRF.frames = {};
+OmaRF.majorFrames = {};
OmaRF.positions = {
"TOPLEFT", "TOPRIGHT", "CENTER", "BOTTOMLEFT", "BOTTOMRIGHT"
};
local defaults = {
profile = {
enabled = true,
+ majorAuras = {
+ auras = {"Aqua Bomb"},
+ max = 3;
+ iconSize = 24,
+ textSize = 10,
+ },
indicators = {
['**'] = {
auras = {},
function OmaRF:OnDisable()
self.running = false;
- for _, frame in pairs(self.frames) do
+ for name, frame in pairs(self.frames) do
for _, ind in pairs(frame) do
- ind.text:SetText("");
- ind.icon:SetTexture("");
+ ind.text:Hide();
+ ind.icon:Hide();
+ end
+ for _, ind in ipairs(self.majorFrames[name]) do
+ ind.icon:Hide();
+ ind.expire:Hide();
+ ind.stack:Hide();
end
end
end