Relintais-Enemy-Kooldown-Tr.../data/global.lua

28 lines
633 B
Lua
Raw Permalink Normal View History

Rekt = LibStub("AceAddon-3.0"):NewAddon("Rekt", "AceConsole-3.0", "AceEvent-3.0")
Rekt.appName = "Rekt"
Rekt.dbName = "RektDB"
Rekt.version = "1.05"
function Rekt:HideFrames()
for i = 1, 23 do
local frame = self.frames["target"][i]["frame"];
frame:Hide();
end
for i = 1, 23 do
local frame = self.frames["focus"][i]["frame"];
frame:Hide();
end
for i = 1, 18 do
local frame = self.frames["targetdr"][i]["frame"];
frame:Hide();
end
for i = 1, 18 do
local frame = self.frames["focusdr"][i]["frame"];
frame:Hide();
end
for i = 1, 18 do
local frame = self.frames["selfdr"][i]["frame"];
frame:Hide();
end
end