/
NotBloated.4 |
Kesava, Auchindoun EU |
--]] |
--[[ |
Change both the numbers in this to false to disable the large warning. |
The number must correspond to another in the warningsDone table. |
Example for disabling: |
local bigWarning = { false, false } |
]] |
-- Initialize |
-- Change this to false to disable the larger warning |
-- The number must correspond to another in the warningsDone table |
local bigWarning = { 5, 5 } |
-- local bigWarning = { false, false } |
--[[ |
As it says, the times are in minutes. |
For example, if you wanted a warning at 25 minutes, you'd add this line: |
[25] = { false, false }, |
]] |
-- As it says, the times are in minutes. If you want a warning at |
-- 25 minutes, add this line: |
-- [25] = false, |
local warningsDone = { |
['big'] = { false, false }, |
-- In minutes: |
[0] = { false, false } |
} |
--[[ |
Battlezones to ignore. |
Current indexes: 1 = Wintergrasp, 2 = Tol'Barad |
]] |
-- Battlezones to ignore. |
-- Current indexes: 1 = Wintergrasp, 2 = Tol'Barad |
local Ignore = { |
[1] = true -- so just remove this line if you want Wintergrasp back |
[1] = true -- so just remove this line if you want Wintergrasp back |
} |
local Times = {} |
local debug = false |
local NotBloated = CreateFrame('Frame', 'NotBloated') |
local function print(msg) |
DEFAULT_CHAT_FRAME:AddMessage('NotBloated: ' .. msg) |
end |
local function print(msg) DEFAULT_CHAT_FRAME:AddMessage('NotBloated: ' .. msg) end |
--- Functions --- |
NotBloated:SetScript('OnUpdate', NotBloated.OnUpdate) |
NotBloated:SetScript('OnEvent', NotBloated.OnEvent) |
NotBloated:RegisterEvent('ADDON_LOADED') |
NotBloated:RegisterEvent('ADDON_LOADED') |