Advertisement
zarant

WeakAuras.lua

Mar 6th, 2020
1,984
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 142.00 KB | None | 0 0
  1.  
  2. WeakAurasSaved = {
  3.     ["dynamicIconCache"] = {
  4.     },
  5.     ["displays"] = {
  6.         ["Instance History"] = {
  7.             ["sparkWidth"] = 15,
  8.             ["sparkOffsetX"] = 0,
  9.             ["authorOptions"] = {
  10.                 {
  11.                     ["type"] = "toggle",
  12.                     ["key"] = "debug",
  13.                     ["default"] = false,
  14.                     ["useDesc"] = false,
  15.                     ["name"] = "Debug Mode",
  16.                     ["width"] = 1,
  17.                 }, -- [1]
  18.                 {
  19.                     ["type"] = "toggle",
  20.                     ["key"] = "ReportResets",
  21.                     ["default"] = false,
  22.                     ["useDesc"] = false,
  23.                     ["name"] = "Report Resets to Chat",
  24.                     ["width"] = 1,
  25.                 }, -- [2]
  26.                 {
  27.                     ["type"] = "toggle",
  28.                     ["key"] = "ShowServer",
  29.                     ["default"] = false,
  30.                     ["useDesc"] = false,
  31.                     ["name"] = "Show Server Name",
  32.                     ["width"] = 1,
  33.                 }, -- [3]
  34.                 {
  35.                     ["type"] = "range",
  36.                     ["useDesc"] = false,
  37.                     ["max"] = 10,
  38.                     ["step"] = 0.05,
  39.                     ["width"] = 1,
  40.                     ["min"] = 0.5,
  41.                     ["name"] = "Display Update Interval",
  42.                     ["key"] = "updateInterval",
  43.                     ["default"] = 5,
  44.                 }, -- [4]
  45.                 {
  46.                     ["type"] = "range",
  47.                     ["useDesc"] = true,
  48.                     ["max"] = 5,
  49.                     ["step"] = 1,
  50.                     ["width"] = 1,
  51.                     ["min"] = 0,
  52.                     ["name"] = "Display Threshold",
  53.                     ["desc"] = "Minimum number of instances before display appears",
  54.                     ["key"] = "displayMin",
  55.                     ["default"] = 2,
  56.                 }, -- [5]
  57.             },
  58.             ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
  59.             ["customText"] = "function()\n    local now = time()\n    \n    local oldestKey, oldestTime;\n    local count = 0\n    if not aura_env.instanceCount then\n        aura_env.instanceCount = 0;\n    end\n    if not aura_env.instanceTimer then\n        aura_env.instanceTimer = 0;\n    end\n    \n    \n    for k,v in pairs(aura_env.db.History) do\n        if not (now > v.last + 3600 or v.last > now + 3600) then\n            count = count + 1;\n            \n            if not oldestTime or v.last < oldestTime then\n                oldestKey = k;\n                oldestTime = v.last\n            end\n        end\n    end\n    \n    local rem = oldestTime and (oldestTime + 3600 - now);\n    \n    local instanceStr;\n    if count > aura_env.instanceCount then\n        aura_env.instanceTimer = GetTime()\n    end\n    aura_env.instanceCount = count\n    local t = GetTime() - aura_env.instanceTimer\n    local m = math.floor(t/60)\n    local s = math.floor(t-m*60)\n    local duration = string.format(\"%d:%02d\",m,s)\n    if count > 0 then\n        instanceStr = string.format(\"You have entered %d instances recently \"..duration..\"\\n More instances will be available in %s.\", count, rem and SecondsToTime(rem) or \"n/a\");\n    end\n    \n    return instanceStr or \"\";\nend",
  60.             ["yOffset"] = -434.722108840942,
  61.             ["anchorPoint"] = "CENTER",
  62.             ["borderBackdrop"] = "Blizzard Tooltip",
  63.             ["xOffset"] = -678.826232910156,
  64.             ["sparkRotation"] = 0,
  65.             ["sparkRotationMode"] = "AUTO",
  66.             ["url"] = "https://wago.io/OXlZupyKm/6",
  67.             ["icon"] = false,
  68.             ["triggers"] = {
  69.                 {
  70.                     ["trigger"] = {
  71.                         ["type"] = "custom",
  72.                         ["custom_type"] = "stateupdate",
  73.                         ["custom_hide"] = "timed",
  74.                         ["event"] = "Health",
  75.                         ["unit"] = "player",
  76.                         ["subeventPrefix"] = "SPELL",
  77.                         ["custom"] = "function(as)\n    if aura_env.autoReset then\n        aura_env.doAutoReset();\n    end\n    \n    if GetTime() - aura_env.lastDisplayUpdate >= aura_env.config.updateInterval then\n        local s = {};\n        s.changed = true;\n        \n        local count = 0;\n        \n        for k,v in pairs(aura_env.db.History) do\n            count = count + 1; \n        end\n        \n        s.show = count >= aura_env.config.displayMin;\n        \n        s.name = \"Instance History\";\n        \n        s.progressType = \"static\";\n        s.value = 3600;\n        s.total = 3600;\n        \n        s.additionalProgress = {};\n        \n        local now = time();\n        local start = now-3600;\n        \n        local czk = aura_env.histZoneKey();\n        \n        local ordered = {};\n        \n        for k,v in pairs(aura_env.db.History) do\n            if k == czk then\n                v.last = now; \n            end\n            \n            table.insert(ordered, {k, v.create});\n        end\n        \n        table.sort(ordered, function(a,b) return a[2]<b[2] end);\n        \n        for idx,t in pairs(ordered) do\n            local k = t[1];\n            local v = aura_env.db.History[k];\n            \n            if v.last >= start then\n                \n                local o = {};\n                --o.max = math.min(3600, v.create - start);\n                --o.min = math.max(0, math.min(v.last - start, o.max-25));\n                \n                o.max = math.max(0, math.min(3600, v.last - start));\n                \n                local prev = #s.additionalProgress > 0 and s.additionalProgress[#s.additionalProgress].max or 0;\n                \n                o.min = math.max(0, math.min(3600, math.min(math.max(prev+25, v.create - start), o.max-25)));\n                \n                --print(o.max, o.min)\n                \n                table.insert(s.additionalProgress, o);\n            end\n        end\n        \n        --DevTools_Dump(s.additionalProgress)\n        \n        as[1] = s;\n        \n        aura_env.lastDisplayUpdate = GetTime();\n        \n        return true;\n    else\n        return false;\n    end\nend",
  78.                         ["events"] = "",
  79.                         ["names"] = {
  80.                         },
  81.                         ["check"] = "update",
  82.                         ["spellIds"] = {
  83.                         },
  84.                         ["subeventSuffix"] = "_CAST_START",
  85.                         ["debuffType"] = "HELPFUL",
  86.                     },
  87.                     ["untrigger"] = {
  88.                     },
  89.                 }, -- [1]
  90.                 {
  91.                     ["trigger"] = {
  92.                         ["type"] = "custom",
  93.                         ["subeventSuffix"] = "_CAST_START",
  94.                         ["event"] = "Health",
  95.                         ["unit"] = "player",
  96.                         ["debuffType"] = "HELPFUL",
  97.                         ["spellIds"] = {
  98.                         },
  99.                         ["custom"] = "function(event, ...)\n    if aura_env[event] then\n        aura_env[event](...) \n    end\nend",
  100.                         ["names"] = {
  101.                         },
  102.                         ["subeventPrefix"] = "SPELL",
  103.                         ["custom_type"] = "event",
  104.                         ["events"] = "CHAT_MSG_SYSTEM,INSTANCE_BOOT_START, INSTANCE_BOOT_STOP, GROUP_ROSTER_UPDATE, PLAYER_ENTERING_WORLD, ZONE_CHANGED_NEW_AREA, RAID_INSTANCE_WELCOME, PLAYER_LEAVING_WORLD, PLAYER_CAMPING, CHAT_MSG_ADDON, SEND_INSTANCE_RESET_REQUEST",
  105.                         ["custom_hide"] = "timed",
  106.                     },
  107.                     ["untrigger"] = {
  108.                     },
  109.                 }, -- [2]
  110.                 ["disjunctive"] = "any",
  111.                 ["activeTriggerMode"] = -10,
  112.             },
  113.             ["icon_color"] = {
  114.                 1, -- [1]
  115.                 1, -- [2]
  116.                 1, -- [3]
  117.                 1, -- [4]
  118.             },
  119.             ["internalVersion"] = 26,
  120.             ["spark"] = false,
  121.             ["selfPoint"] = "CENTER",
  122.             ["backdropInFront"] = false,
  123.             ["uid"] = "162dhv8uGuh",
  124.             ["barColor"] = {
  125.                 0.30588235294118, -- [1]
  126.                 0.30588235294118, -- [2]
  127.                 0.30588235294118, -- [3]
  128.                 1, -- [4]
  129.             },
  130.             ["desaturate"] = false,
  131.             ["discrete_rotation"] = 0,
  132.             ["color"] = {
  133.                 1, -- [1]
  134.                 1, -- [2]
  135.                 1, -- [3]
  136.                 0.75, -- [4]
  137.             },
  138.             ["version"] = 6,
  139.             ["subRegions"] = {
  140.                 {
  141.                     ["type"] = "aurabar_bar",
  142.                 }, -- [1]
  143.                 {
  144.                     ["text_shadowXOffset"] = 0,
  145.                     ["text_text"] = "%c1",
  146.                     ["text_shadowColor"] = {
  147.                         0, -- [1]
  148.                         0, -- [2]
  149.                         0, -- [3]
  150.                         1, -- [4]
  151.                     },
  152.                     ["text_selfPoint"] = "BOTTOM",
  153.                     ["anchorYOffset"] = 0,
  154.                     ["text_justify"] = "CENTER",
  155.                     ["rotateText"] = "NONE",
  156.                     ["type"] = "subtext",
  157.                     ["text_color"] = {
  158.                         1, -- [1]
  159.                         1, -- [2]
  160.                         1, -- [3]
  161.                         0.6059664785862, -- [4]
  162.                     },
  163.                     ["text_font"] = "PT Sans Narrow",
  164.                     ["text_anchorYOffset"] = 3,
  165.                     ["text_fontType"] = "OUTLINE",
  166.                     ["text_anchorPoint"] = "TOP",
  167.                     ["text_visible"] = true,
  168.                     ["text_fontSize"] = 10,
  169.                     ["anchorXOffset"] = 0,
  170.                     ["text_shadowYOffset"] = 0,
  171.                 }, -- [2]
  172.                 {
  173.                     ["text_shadowXOffset"] = 0,
  174.                     ["text_text"] = "%c2",
  175.                     ["text_shadowColor"] = {
  176.                         0, -- [1]
  177.                         0, -- [2]
  178.                         0, -- [3]
  179.                         1, -- [4]
  180.                     },
  181.                     ["text_selfPoint"] = "BOTTOMLEFT",
  182.                     ["anchorYOffset"] = 0,
  183.                     ["text_justify"] = "CENTER",
  184.                     ["rotateText"] = "NONE",
  185.                     ["type"] = "subtext",
  186.                     ["text_color"] = {
  187.                         1, -- [1]
  188.                         1, -- [2]
  189.                         1, -- [3]
  190.                         0.6059664785862, -- [4]
  191.                     },
  192.                     ["text_font"] = "PT Sans Narrow",
  193.                     ["text_anchorYOffset"] = 3,
  194.                     ["text_fontType"] = "OUTLINE",
  195.                     ["text_anchorPoint"] = "TOPLEFT",
  196.                     ["text_visible"] = false,
  197.                     ["text_fontSize"] = 12,
  198.                     ["anchorXOffset"] = 0,
  199.                     ["text_shadowYOffset"] = 0,
  200.                 }, -- [3]
  201.                 {
  202.                     ["type"] = "subborder",
  203.                     ["border_anchor"] = "bar",
  204.                     ["border_size"] = 1,
  205.                     ["border_color"] = {
  206.                         0, -- [1]
  207.                         0, -- [2]
  208.                         0, -- [3]
  209.                         1, -- [4]
  210.                     },
  211.                     ["border_visible"] = true,
  212.                     ["border_edge"] = "ElvUI GlowBorder",
  213.                     ["border_offset"] = 0,
  214.                 }, -- [4]
  215.             },
  216.             ["height"] = 7.00000095367432,
  217.             ["rotate"] = true,
  218.             ["load"] = {
  219.                 ["spec"] = {
  220.                     ["multi"] = {
  221.                     },
  222.                 },
  223.                 ["class"] = {
  224.                     ["multi"] = {
  225.                     },
  226.                 },
  227.                 ["use_never"] = false,
  228.                 ["size"] = {
  229.                     ["multi"] = {
  230.                     },
  231.                 },
  232.             },
  233.             ["sparkBlendMode"] = "ADD",
  234.             ["backdropColor"] = {
  235.                 1, -- [1]
  236.                 1, -- [2]
  237.                 1, -- [3]
  238.                 0.5, -- [4]
  239.             },
  240.             ["customTextUpdate"] = "update",
  241.             ["actions"] = {
  242.                 ["start"] = {
  243.                 },
  244.                 ["init"] = {
  245.                     ["custom"] = "local function chatMsg(...)\n    DEFAULT_CHAT_FRAME:AddMessage(\"\\124cFFFF0000\"..(aura_env and aura_env.id or \"Instance History\")..\"\\124r: \"..string.format(...))\nend\n\nlocal function debug(...)\n    local db = WeakAurasSaved.instanceHistoryDb;\n    \n    if db.config.debug then\n        chatMsg(...)\n    end\nend\n\nlocal function deepcopy(orig)\n    local orig_type = type(orig)\n    local copy\n    if orig_type == 'table' then\n        copy = {}\n        for orig_key, orig_value in next, orig, nil do\n            copy[deepcopy(orig_key)] = deepcopy(orig_value)\n        end\n        setmetatable(copy, deepcopy(getmetatable(orig)))\n    else -- number, string, boolean, etc\n        copy = orig\n    end\n    return copy\nend\n\nlocal function pad(n)\n    local s = \"\";\n    \n    for i=1,n do\n        s = s..\"     \";\n    end\n    \n    return s;\nend\n\nlocal function dump(t, depth)\n    if DevTools_Dump then\n        DevTools_Dump(t)\n        return\n    end\n    \n    if type(t) == \"table\" then\n        if not depth then\n            depth = 1;\n            debug(\"Table dump: {\")\n        end\n        \n        if depth > 5 then return end\n        \n        for k,v in pairs(t) do\n            if type(v) == \"string\" or type(v) == \"number\" then\n                print(pad(depth)..k..\"=\"..v);\n            elseif type(v) == \"table\" then\n                print(pad(depth)..k..\"={\");\n                dump(v, depth+1);\n                print(pad(depth)..\"}\");\n            end\n        end\n        \n        print(\"}\");\n    else\n        print(t);\n    end\nend\n\nlocal db;\n\nif WeakAurasSaved.instanceHistoryDb then\n    db = WeakAurasSaved.instanceHistoryDb;\n    \n    --debug(\"loaded save data\")\n    \n    --dump(WeakAurasSaved.instanceHistoryDb)\nelse\n    WeakAurasSaved.instanceHistoryDb = WeakAurasSaved.instanceHistoryDb or {};\n    db = WeakAurasSaved.instanceHistoryDb;\nend\n\naura_env.db = db;\n\ndb.histGeneration = db.histGeneration or 1;\ndb.History = db.History or {};\ndb.Instances = db.Instances or {};\ndb.config = deepcopy(aura_env.config);\n\n-- session variables\ndb.sess = {}; -- session variables, reset em each time \n-- db.sess.delayedReset;\n-- db.sess.delayUpdate;\n-- db.sess.histLastZone;\n-- db.sess.histInGroup;\n-- db.sess.lasthistdbg;\n-- db.sess.histLiveCount;\n-- db.sess.histOldest;\n-- db.sess.enterLoc;\naura_env.lastDisplayUpdate = 0;\n\n-- constant stuff\nlocal histReapTime = 60*60 -- 1 hour\nlocal histLimit = 5 -- instances per hour\nlocal maxdiff = 33 -- max number of instance difficulties\nlocal LimitWarn = true;\nlocal prefix = \"instHistory\";\n\nlocal f = {};\n\nC_ChatInfo.RegisterAddonMessagePrefix(prefix);\nlocal thisToon = UnitName(\"player\") .. \" - \" .. GetRealmName()\n\nlocal transInstance = {\n    -- lockout hyperlink id = LFDID\n    [543] = 188,     -- Hellfire Citadel: Ramparts\n    [540] = 189,     -- Hellfire Citadel: Shattered Halls : deDE\n    [542] = 187,  -- Hellfire Citadel: Blood Furnace esES\n    [534] = 195,     -- The Battle for Mount Hyjal\n    [509] = 160,     -- Ruins of Ahn'Qiraj\n    [557] = 179,  -- Auchindoun: Mana-Tombs : ticket 72 zhTW\n    [556] = 180,  -- Auchindoun: Sethekk Halls : ticket 151 frFR\n    [568] = 340,  -- Zul'Aman: frFR\n    [1004] = 474, -- Scarlet Monastary: deDE\n    [600] = 215,  -- Drak'Tharon: ticket 105 deDE\n    [560] = 183,  -- Escape from Durnholde Keep: ticket 124 deDE\n    [531] = 161,  -- AQ temple: ticket 137 frFR\n    [1228] = 897, -- Highmaul: ticket 175 ruRU\n    [552] = 1011, -- Arcatraz: ticket 216 frFR\n    [1516] = 1190, -- Arcway: ticket 227/233 ptBR\n    [1651] = 1347, -- Return to Karazhan: ticket 237 (fake LFDID)\n    [545] = 185, -- The Steamvault: issue #143 esES\n    [1530] = 1353, -- The Nighthold: issue #186 frFR\n    [585] = 1154, -- Magisters' Terrace: issue #293 frFR\n}\n\nlocal function InGroup()\n    if IsInRaid() then return \"RAID\"\n    elseif GetNumGroupMembers() > 0 then return \"PARTY\"\n    else return nil end\nend\n\nlocal function histZoneKey()\n    local instname, insttype, diff, diffname, maxPlayers, playerDifficulty, isDynamicInstance = GetInstanceInfo()\n    \n    if insttype == nil or insttype == \"none\" or insttype == \"arena\" or insttype == \"pvp\" then -- pvp doesnt count\n        return nil\n    end\n    \n    --[[\n    if (IsInLFGDungeon() or IsInScenarioGroup()) and diff ~= 19 then -- LFG instances don't count, but Holiday Event counts\n        return nil\n    end\n]]\n    \n    -- check if we're locked (using FindInstance so we don't complain about unsaved unknown instances)\n    local truename = f.FindInstance(instname, insttype == \"raid\")\n    local locked = false\n    local inst = truename and db.Instances[truename]\n    inst = inst and inst[thisToon]\n    \n    for d=1,maxdiff do\n        if inst and inst[d] and inst[d].Locked then\n            locked = true\n        end\n    end\n    \n    if diff == 1 and maxPlayers == 5 then -- never locked to 5-man regs\n        locked = false\n    end\n    \n    local toonstr = thisToon\n    \n    if db.config.ShowServer then\n        toonstr = strsplit(\" - \", toonstr)\n    end\n    \n    local desc = toonstr .. \": \" .. instname\n    \n    if diffname and #diffname > 0 then\n        desc = desc .. \" - \" .. diffname\n    end\n    \n    local key = thisToon..\":\"..instname..\":\"..insttype..\":\"..diff\n    \n    if not locked then\n        key = key..\":\"..db.histGeneration\n    end\n    \n    return key, desc, locked\nend\n\naura_env.histZoneKey = histZoneKey;\n\nlocal function normalizeName(str)\n    return str:gsub(\"%p\",\"\"):gsub(\"%s\",\" \"):gsub(\"%s%s\",\" \"):gsub(\"^%s+\",\"\"):gsub(\"%s+$\",\"\"):upper()\nend\n\n-- some instances (like sethekk halls) are named differently by GetSavedInstanceInfo() and LFGGetDungeonInfoByID()\n-- we use the latter name to key our database, and this function to convert as needed\nf.FindInstance = function(name, raid)\n    if not name or #name == 0 then return nil end\n    \n    local nname = normalizeName(name)\n    -- first pass, direct match\n    local info = db.Instances[name]\n    \n    if info then\n        return name, info.LFDID\n    end\n    \n    -- hyperlink id lookup: must precede substring match for ticket 99\n    -- (so transInstance can override incorrect substring matches)\n    for i = 1, GetNumSavedInstances() do\n        local link = GetSavedInstanceChatLink(i) or \"\"\n        local lid,lname = link:match(\":(%d+):%d+:%d+\\124h%[(.+)%]\\124h\")\n        lname = lname and normalizeName(lname)\n        lid = lid and tonumber(lid)\n        local lfdid = lid and transInstance[lid]\n        if lname == nname and lfdid then\n            local truename = addon:UpdateInstance(lfdid)\n            if truename then\n                return truename, lfdid\n            end\n        end\n    end\n    -- normalized substring match\n    for truename, info in pairs(db.Instances) do\n        local tname = addon:normalizeName(truename)\n        if (tname:find(nname, 1, true) or nname:find(tname, 1, true)) and\n        info.Raid == raid then -- Tempest Keep: The Botanica\n            --debug(\"FindInstance(\"..name..\") => \"..truename)\n            return truename, info.LFDID\n        end\n    end\n    return nil\nend\n\nlocal function generationAdvance()\n    debug(\"HistoryUpdate generation advance\")\n    db.histGeneration = (db.histGeneration + 1) % 100000\n    db.sess.delayedReset = false\nend\n\nlocal function HistoryUpdate(forcereset, forcemesg)\n    local db = WeakAurasSaved.instanceHistoryDb;\n    db.histGeneration = db.histGeneration or 1;\n    \n    if forcereset and histZoneKey() then -- delay reset until we zone out\n        debug(\"HistoryUpdate reset delayed\")\n        db.sess.delayedReset = true\n    end\n    \n    if (forcereset or db.sess.delayedReset) and not histZoneKey() then\n        generationAdvance();\n    elseif db.lastLoc then\n        if not db.sess.enterLoc then\n            -- delay until enterLoc is defined\n            C_Timer.After(1, HistoryUpdate);\n            return;\n        end\n        \n        if db.sess.enterLoc.instance == db.lastLoc.instance and db.lastLoc.instance >= 0 and db.sess.enterLoc.subzone ~= db.lastLoc.subzone then\n            debug(\"Offline forced reset detected.\")\n            generationAdvance();\n        else\n            debug(\"Location data resolved, no reset detected.\")\n            \n            --[[if db.config.debug then\n                print(db.sess.enterLoc.instance, db.sess.enterLoc.subzone, db.lastLoc.instance, db.lastLoc.subzone)\n            end]]\n        end\n        \n        --[[if db.lastLoc then\n            debug(\"lastLoc cleared\")\n        end]]\n        \n        db.lastLoc = nil;\n    end\n    \n    local now = time()\n    \n    if db.sess.delayUpdate and now < db.sess.delayUpdate then\n        --debug(\"HistoryUpdate delayed\")\n        C_Timer.After(db.sess.delayUpdate - now + 0.05, HistoryUpdate)\n        return\n    end\n    \n    local zoningin = false\n    local newzone, newdesc, locked = histZoneKey()\n    \n    -- touch zone we left\n    if db.sess.histLastZone then\n        local lz = db.History[db.sess.histLastZone]\n        if lz then\n            lz.last = now\n        end\n    elseif newzone then\n        zoningin = true\n    end\n    \n    db.sess.histLastZone = newzone\n    db.sess.histInGroup = InGroup()\n    \n    -- touch/create new zone\n    if newzone then\n        local nz = db.History[newzone]\n        \n        if not nz then\n            nz = { create = now, desc = newdesc }\n            db.History[newzone] = nz\n            \n            if locked then -- creating a locked instance, delete unlocked version\n                db.History[newzone..\":\"..db.histGeneration] = nil\n            end\n        end\n        \n        nz.last = now\n    end\n    \n    -- reap old zones\n    local livecnt = 0\n    local oldestkey, oldesttime\n    \n    for zk, zi in pairs(db.History) do\n        if now > zi.last + histReapTime or\n        zi.last > (now + 3600) then -- temporary bug fix\n            debug(\"Reaping %s\",zi.desc)\n            db.History[zk] = nil\n        else\n            livecnt = livecnt + 1\n            \n            if not oldesttime or zi.last < oldesttime then\n                oldestkey = zk\n                oldesttime = zi.last\n            end\n        end\n    end\n    \n    local oldestrem = oldesttime and (oldesttime+histReapTime-now)\n    local oldestremt = (oldestrem and SecondsToTime(oldestrem,false,false,1)) or \"n/a\"\n    local oldestremtm = (oldestrem and SecondsToTime(math.floor((oldestrem+59)/60)*60,false,false,1)) or \"n/a\"\n    \n    if db.config.debug then\n        local msg = livecnt..\" live instances, oldest (\"..(oldestkey or \"none\")..\") expires in \"..oldestremt..\". Current Zone=\"..(newzone or \"nil\")\n        if msg ~= db.sess.lasthistdbg then\n            db.sess.lasthistdbg = msg\n            debug(msg)\n        end\n        \n        --dump(db.History)\n    end\n    -- display update\n    \n    if forcemesg or (LimitWarn and zoningin and livecnt >= histLimit-1) then\n        chatMsg(\"Warning: You've entered about %i instances recently and are approaching the %i instance per hour limit for your account. More instances should be available in %s.\",livecnt, histLimit, oldestremt)\n    end\n    \n    db.sess.histLiveCount = livecnt\n    db.sess.histOldest = oldestremt\n    \n    --[[\n    if db.Tooltip.HistoryText and livecnt > 0 then\n        addon.dataobject.text = \"(\"..livecnt..\"/\"..(oldestremt or \"?\")..\")\"\n        addon.histTextthrottle = math.min(oldestrem+1, addon.histTextthrottle or 15)\n        addon.resetDetect:SetScript(\"OnUpdate\", addon.histTextUpdate)\n    else\n        addon.dataobject.text = addonAbbrev\n        addon.resetDetect:SetScript(\"OnUpdate\", nil)\n    end\n]]\nend\n\n-- fixme localize or something\nfunction doExplicitReset(instancemsg, failed)\n    if InGroup() and not UnitIsGroupLeader(\"player\") then\n        return\n    end\n    \n    local db = WeakAurasSaved.instanceHistoryDb;\n    \n    if not failed then\n        HistoryUpdate(true)\n    end\n    \n    local reportchan = InGroup()\n    \n    if reportchan then\n        if not failed then\n            C_ChatInfo.SendAddonMessage(prefix, \"GENERATION_ADVANCE\", reportchan)\n        end\n        if db.config.ReportResets then\n            local msg = instancemsg or RESET_INSTANCES\n            msg = msg:gsub(\"\\1241.+;.+;\",\"\") -- ticket 76, remove |1;; escapes on koKR\n            SendChatMessage(\"All instances have been reset.\", reportchan)\n        end\n    end\nend\n\nhooksecurefunc(\"ResetInstances\", doExplicitReset)\n\naura_env.CHAT_MSG_SYSTEM = function(msg)\n    local raiddiffmsg = ERR_RAID_DIFFICULTY_CHANGED_S:gsub(\"%%s\",\".+\")\n    local dungdiffmsg = ERR_DUNGEON_DIFFICULTY_CHANGED_S:gsub(\"%%s\",\".+\")\n    \n    if msg == INSTANCE_SAVED then -- just got saved\n        C_Timer.After(4, HistoryUpdate)\n    elseif (msg:match(\"^\"..raiddiffmsg..\"$\") or msg:match(\"^\"..dungdiffmsg..\"$\")) and\n    not histZoneKey() then -- ignore difficulty messages when creating a party while inside an instance\n        HistoryUpdate(true)\n    elseif msg:match(TRANSFER_ABORT_TOO_MANY_INSTANCES) then\n        HistoryUpdate(false,true)\n    end\nend\n\naura_env.INSTANCE_BOOT_START = function()\n    HistoryUpdate(true)\nend\n\naura_env.INSTANCE_BOOT_STOP = function()\n    if InGroup() then\n        db.sess.delayedReset = false\n    end\nend\n\naura_env.GROUP_ROSTER_UPDATE = function()\n    if db.sess.histInGroup and not InGroup() and -- ignore failed invites when solo\n    not histZoneKey() then -- left group outside instance, resets now\n        HistoryUpdate(true)\n    end\nend\n\nlocal function zoneChanged(extraDelay)\n    -- delay updates while settings stabilize\n    local waittime = 3 + math.max(0,10 - GetFramerate()) + (extraDelay or 0)\n    local d = time() + waittime\n    \n    if d > (db.sess.delayUpdate or 0) then\n        db.sess.delayUpdate = d;\n    end\n    \n    C_Timer.After(waittime + 0.05, HistoryUpdate)\nend\n\nlocal function getLocation()\n    local name, instanceType, difficultyID, difficultyName, maxPlayers, dynamicDifficulty, isDynamic, instanceID, instanceGroupSize, LfgDungeonID = GetInstanceInfo();\n    \n    local loc;\n    \n    if instanceType == \"none\" then\n        loc = {};\n        loc.instance = -1;\n    else\n        loc = {};\n        --loc.instance = histZoneKey();\n        loc.instance = instanceID;\n        loc.subzone = GetSubZoneText();\n    end\n    \n    --[[\n    if db.config.debug then\n        dump(loc)\n    end\n]]\n    \n    return loc;\nend\n\naura_env.PLAYER_ENTERING_WORLD = function()\n    C_Timer.After(6, function()\n            db.sess.enterLoc = getLocation();\n    end)\n    \n    zoneChanged();\nend\n\naura_env.ZONE_CHANGED_NEW_AREA = function()\n    zoneChanged();\nend\n\naura_env.RAID_INSTANCE_WELCOME = function()\n    zoneChanged();\nend\n\naura_env.PLAYER_CAMPING = function()\n    db.lastLoc = getLocation();\n    --debug(\"Set lastLoc\")\n    \n    --dump(WeakAurasSaved.instanceHistoryDb)\nend\n\naura_env.CHAT_MSG_ADDON = function(pre, msg, channel, sender)\n    if pre == prefix then\n        if msg == \"GENERATION_ADVANCE\" and not UnitIsUnit(sender, \"player\") then\n            HistoryUpdate(true);\n        elseif msg == \"RESET_REQUEST\" then\n            if UnitIsGroupLeader(\"player\") then\n                chatMsg(string.format(\"Received reset request from %s. All instances will be reset once %s is offline.\", sender, sender))\n                aura_env.autoReset = string.match(sender, \"^[^%-]+\");\n            end\n        end\n    end\nend\n\naura_env.SEND_INSTANCE_RESET_REQUEST = function()\n    local channel = InGroup();\n    \n    if channel then\n        C_ChatInfo.SendAddonMessage(prefix, \"RESET_REQUEST\", reportchan);\n    end\nend\n\naura_env.doAutoReset = function()\n    if not aura_env.autoReset then\n        return;\n    end\n    \n    if not UnitIsGroupLeader(\"player\") then\n        debug(\"Player is not leader, auto reset disabled.\")\n        aura_env.autoReset = nil;\n        return;\n    end\n    \n    local name = aura_env.autoReset;\n    \n    if UnitExists(name) then\n        if not UnitIsConnected(name) then\n            C_Timer.After(1, function()\n                    ResetInstances();\n            end)\n            aura_env.autoReset = nil;\n            return;\n        end\n    else\n        debug(\"Sender does not exist, auto reset disabled.\")\n        aura_env.autoReset = nil;\n        return;\n    end\nend\n\n--[[\naura_env.PLAYER_LEAVING_WORLD = function()\n    db.lastLoc = getLocation();\n    debug(\"Set lastLoc\")\nend\n]]\n\n--DevTools_Dump(getLocation())\n\n\n--HistoryUpdate();\n\n--print(histZoneKey())\n\n\n",
  246.                     ["do_custom"] = true,
  247.                 },
  248.                 ["finish"] = {
  249.                 },
  250.             },
  251.             ["animation"] = {
  252.                 ["start"] = {
  253.                     ["type"] = "none",
  254.                     ["duration_type"] = "seconds",
  255.                 },
  256.                 ["main"] = {
  257.                     ["type"] = "none",
  258.                     ["duration_type"] = "seconds",
  259.                 },
  260.                 ["finish"] = {
  261.                     ["type"] = "none",
  262.                     ["duration_type"] = "seconds",
  263.                 },
  264.             },
  265.             ["frameStrata"] = 1,
  266.             ["stickyDuration"] = false,
  267.             ["mirror"] = false,
  268.             ["useAdjustededMin"] = false,
  269.             ["regionType"] = "aurabar",
  270.             ["borderInFront"] = true,
  271.             ["blendMode"] = "BLEND",
  272.             ["icon_side"] = "LEFT",
  273.             ["rotation"] = 0,
  274.             ["sparkOffsetY"] = 0,
  275.             ["sparkHeight"] = 30,
  276.             ["texture"] = "ElvUI Norm",
  277.             ["useAdjustededMax"] = false,
  278.             ["zoom"] = 0,
  279.             ["auto"] = true,
  280.             ["tocversion"] = 11302,
  281.             ["id"] = "Instance History",
  282.             ["config"] = {
  283.                 ["displayMin"] = 2,
  284.                 ["debug"] = false,
  285.                 ["updateInterval"] = 5,
  286.                 ["ShowServer"] = false,
  287.                 ["ReportResets"] = false,
  288.             },
  289.             ["alpha"] = 1,
  290.             ["anchorFrameType"] = "SCREEN",
  291.             ["width"] = 322.999969482422,
  292.             ["sparkColor"] = {
  293.                 1, -- [1]
  294.                 1, -- [2]
  295.                 1, -- [3]
  296.                 1, -- [4]
  297.             },
  298.             ["inverse"] = false,
  299.             ["backgroundColor"] = {
  300.                 0.10196078431373, -- [1]
  301.                 0.10196078431373, -- [2]
  302.                 0.10196078431373, -- [3]
  303.                 1, -- [4]
  304.             },
  305.             ["orientation"] = "HORIZONTAL",
  306.             ["conditions"] = {
  307.             },
  308.             ["sparkHidden"] = "NEVER",
  309.             ["semver"] = "1.0.5",
  310.         },
  311.         ["Hunter Castbar"] = {
  312.             ["controlledChildren"] = {
  313.                 "Autoshot", -- [1]
  314.                 "Ability Cast", -- [2]
  315.             },
  316.             ["borderBackdrop"] = "Blizzard Tooltip",
  317.             ["authorOptions"] = {
  318.             },
  319.             ["yOffset"] = -321.99899291992,
  320.             ["anchorPoint"] = "CENTER",
  321.             ["borderColor"] = {
  322.                 0, -- [1]
  323.                 0, -- [2]
  324.                 0, -- [3]
  325.                 1, -- [4]
  326.             },
  327.             ["url"] = "https://wago.io/92y4H96_t/16",
  328.             ["actions"] = {
  329.                 ["start"] = {
  330.                 },
  331.                 ["finish"] = {
  332.                 },
  333.                 ["init"] = {
  334.                 },
  335.             },
  336.             ["triggers"] = {
  337.                 {
  338.                     ["trigger"] = {
  339.                         ["unit"] = "player",
  340.                         ["type"] = "aura2",
  341.                         ["spellIds"] = {
  342.                         },
  343.                         ["subeventSuffix"] = "_CAST_START",
  344.                         ["subeventPrefix"] = "SPELL",
  345.                         ["names"] = {
  346.                         },
  347.                         ["event"] = "Health",
  348.                         ["debuffType"] = "HELPFUL",
  349.                     },
  350.                     ["untrigger"] = {
  351.                     },
  352.                 }, -- [1]
  353.             },
  354.             ["internalVersion"] = 26,
  355.             ["selfPoint"] = "BOTTOMLEFT",
  356.             ["version"] = 16,
  357.             ["subRegions"] = {
  358.             },
  359.             ["load"] = {
  360.                 ["use_class"] = "true",
  361.                 ["spec"] = {
  362.                     ["multi"] = {
  363.                     },
  364.                 },
  365.                 ["class"] = {
  366.                     ["single"] = "HUNTER",
  367.                     ["multi"] = {
  368.                     },
  369.                 },
  370.                 ["size"] = {
  371.                     ["multi"] = {
  372.                     },
  373.                 },
  374.             },
  375.             ["backdropColor"] = {
  376.                 1, -- [1]
  377.                 1, -- [2]
  378.                 1, -- [3]
  379.                 0.5, -- [4]
  380.             },
  381.             ["scale"] = 1,
  382.             ["border"] = false,
  383.             ["borderEdge"] = "Square Full White",
  384.             ["regionType"] = "group",
  385.             ["borderSize"] = 2,
  386.             ["borderOffset"] = 4,
  387.             ["semver"] = "2.0.7-16",
  388.             ["tocversion"] = 11302,
  389.             ["id"] = "Hunter Castbar",
  390.             ["frameStrata"] = 1,
  391.             ["anchorFrameType"] = "SCREEN",
  392.             ["uid"] = "apVwF5fbWA1",
  393.             ["xOffset"] = -1,
  394.             ["config"] = {
  395.             },
  396.             ["conditions"] = {
  397.             },
  398.             ["animation"] = {
  399.                 ["start"] = {
  400.                     ["duration_type"] = "seconds",
  401.                     ["type"] = "none",
  402.                 },
  403.                 ["main"] = {
  404.                     ["duration_type"] = "seconds",
  405.                     ["type"] = "none",
  406.                 },
  407.                 ["finish"] = {
  408.                     ["duration_type"] = "seconds",
  409.                     ["type"] = "none",
  410.                 },
  411.             },
  412.             ["borderInset"] = 1,
  413.         },
  414.         ["Energy Bar"] = {
  415.             ["sparkWidth"] = 10,
  416.             ["sparkOffsetX"] = 0,
  417.             ["xOffset"] = 0,
  418.             ["preferToUpdate"] = false,
  419.             ["yOffset"] = 0,
  420.             ["anchorPoint"] = "CENTER",
  421.             ["sparkHidden"] = "NEVER",
  422.             ["sparkRotation"] = 0,
  423.             ["sparkRotationMode"] = "AUTO",
  424.             ["url"] = "https://wago.io/1oyFuioYU/1",
  425.             ["actions"] = {
  426.                 ["start"] = {
  427.                 },
  428.                 ["finish"] = {
  429.                 },
  430.                 ["init"] = {
  431.                 },
  432.             },
  433.             ["triggers"] = {
  434.                 {
  435.                     ["trigger"] = {
  436.                         ["type"] = "custom",
  437.                         ["subeventSuffix"] = "_CAST_START",
  438.                         ["event"] = "Health",
  439.                         ["unit"] = "player",
  440.                         ["names"] = {
  441.                         },
  442.                         ["subeventPrefix"] = "SPELL",
  443.                         ["custom"] = "function(a, e, t)\n    local currEnergy = UnitPower(\"player\", 3)\n    local dur = 2\n    if (e == \"UNIT_POWER_FREQUENT\" and currEnergy > (aura_env.lastEnergy or 0))\n    or (e == \"ENERGYTICK\" and t and currEnergy == UnitPowerMax(\"player\", 3))\n    then\n        if not a[\"\"]  then\n            a[\"\"] = {\n                show = true,\n                changed = true,\n                duration = dur,\n                expirationTime = GetTime() + dur,\n                progressType = \"timed\"\n            }\n        else\n            local s = a[\"\"]\n            s.changed = true\n            s.duration = dur\n            s.expirationTime = GetTime() + dur\n            s.show = true\n            C_Timer.After(2, function() WeakAuras.ScanEvents(\"ENERGYTICK\", true) end)\n        end\n    end\n    aura_env.lastEnergy = currEnergy\n    return true\nend",
  444.                         ["custom_type"] = "stateupdate",
  445.                         ["check"] = "event",
  446.                         ["events"] = "UNIT_POWER_FREQUENT:player ENERGYTICK",
  447.                         ["spellIds"] = {
  448.                         },
  449.                         ["debuffType"] = "HELPFUL",
  450.                     },
  451.                     ["untrigger"] = {
  452.                     },
  453.                 }, -- [1]
  454.                 ["activeTriggerMode"] = -10,
  455.             },
  456.             ["icon_color"] = {
  457.                 1, -- [1]
  458.                 1, -- [2]
  459.                 1, -- [3]
  460.                 1, -- [4]
  461.             },
  462.             ["internalVersion"] = 26,
  463.             ["animation"] = {
  464.                 ["start"] = {
  465.                     ["duration_type"] = "seconds",
  466.                     ["type"] = "none",
  467.                 },
  468.                 ["main"] = {
  469.                     ["duration_type"] = "seconds",
  470.                     ["type"] = "none",
  471.                 },
  472.                 ["finish"] = {
  473.                     ["duration_type"] = "seconds",
  474.                     ["type"] = "none",
  475.                 },
  476.             },
  477.             ["backdropInFront"] = false,
  478.             ["icon"] = false,
  479.             ["barColor"] = {
  480.                 1, -- [1]
  481.                 1, -- [2]
  482.                 0.066666666666667, -- [3]
  483.                 1, -- [4]
  484.             },
  485.             ["stickyDuration"] = false,
  486.             ["borderBackdrop"] = "Blizzard Dialog Background",
  487.             ["desaturate"] = false,
  488.             ["sparkOffsetY"] = 0,
  489.             ["subRegions"] = {
  490.                 {
  491.                     ["text_color"] = {
  492.                     },
  493.                     ["type"] = "aurabar_bar",
  494.                 }, -- [1]
  495.                 {
  496.                     ["text_shadowXOffset"] = 1,
  497.                     ["type"] = "subtext",
  498.                     ["text_text"] = "Energy",
  499.                     ["text_color"] = {
  500.                         1, -- [1]
  501.                         1, -- [2]
  502.                         1, -- [3]
  503.                         1, -- [4]
  504.                     },
  505.                     ["text_font"] = "Friz Quadrata TT",
  506.                     ["text_shadowColor"] = {
  507.                         0, -- [1]
  508.                         0, -- [2]
  509.                         0, -- [3]
  510.                         1, -- [4]
  511.                     },
  512.                     ["text_shadowYOffset"] = -1,
  513.                     ["text_selfPoint"] = "AUTO",
  514.                     ["text_visible"] = true,
  515.                     ["text_fontType"] = "None",
  516.                     ["text_anchorPoint"] = "INNER_BOTTOM",
  517.                     ["anchorYOffset"] = 0,
  518.                     ["text_justify"] = "CENTER",
  519.                     ["rotateText"] = "NONE",
  520.                     ["anchorXOffset"] = 0,
  521.                     ["text_fontSize"] = 12,
  522.                 }, -- [2]
  523.                 {
  524.                     ["border_size"] = 15,
  525.                     ["type"] = "subborder",
  526.                     ["border_anchor"] = "bar",
  527.                     ["text_color"] = {
  528.                     },
  529.                     ["border_color"] = {
  530.                         1, -- [1]
  531.                         1, -- [2]
  532.                         1, -- [3]
  533.                         1, -- [4]
  534.                     },
  535.                     ["border_visible"] = true,
  536.                     ["border_edge"] = "Blizzard Dialog",
  537.                     ["border_offset"] = 5,
  538.                 }, -- [3]
  539.             },
  540.             ["height"] = 15,
  541.             ["selfPoint"] = "CENTER",
  542.             ["load"] = {
  543.                 ["use_class"] = true,
  544.                 ["class"] = {
  545.                     ["single"] = "ROGUE",
  546.                     ["multi"] = {
  547.                     },
  548.                 },
  549.                 ["spec"] = {
  550.                     ["multi"] = {
  551.                     },
  552.                 },
  553.                 ["size"] = {
  554.                     ["multi"] = {
  555.                     },
  556.                 },
  557.             },
  558.             ["sparkBlendMode"] = "ADD",
  559.             ["backdropColor"] = {
  560.                 0, -- [1]
  561.                 0, -- [2]
  562.                 0, -- [3]
  563.                 0, -- [4]
  564.             },
  565.             ["config"] = {
  566.             },
  567.             ["anchorFrameFrame"] = "PlayerFrame",
  568.             ["sparkColor"] = {
  569.                 1, -- [1]
  570.                 1, -- [2]
  571.                 1, -- [3]
  572.                 1, -- [4]
  573.             },
  574.             ["sparkDesaturate"] = false,
  575.             ["customAnchor"] = "\n\n",
  576.             ["anchorFrameType"] = "SCREEN",
  577.             ["useAdjustededMin"] = false,
  578.             ["regionType"] = "aurabar",
  579.             ["borderInFront"] = true,
  580.             ["frameStrata"] = 2,
  581.             ["icon_side"] = "RIGHT",
  582.             ["useAdjustededMax"] = false,
  583.             ["sparkHeight"] = 20,
  584.             ["texture"] = "Blizzard",
  585.             ["spark"] = true,
  586.             ["zoom"] = 0,
  587.             ["auto"] = true,
  588.             ["tocversion"] = 11302,
  589.             ["id"] = "Energy Bar",
  590.             ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
  591.             ["alpha"] = 1,
  592.             ["width"] = 60,
  593.             ["anchorFrameParent"] = true,
  594.             ["uid"] = "oWRPPWnBsZW",
  595.             ["inverse"] = true,
  596.             ["version"] = 1,
  597.             ["orientation"] = "HORIZONTAL",
  598.             ["conditions"] = {
  599.             },
  600.             ["backgroundColor"] = {
  601.                 0, -- [1]
  602.                 0, -- [2]
  603.                 0, -- [3]
  604.                 0.70277798175812, -- [4]
  605.             },
  606.             ["authorOptions"] = {
  607.             },
  608.         },
  609.         ["screech"] = {
  610.             ["xOffset"] = -90.692626953125,
  611.             ["yOffset"] = -78.2995300292969,
  612.             ["anchorPoint"] = "CENTER",
  613.             ["cooldownSwipe"] = true,
  614.             ["url"] = "https://wago.io/VJDWPky5-/2",
  615.             ["actions"] = {
  616.                 ["start"] = {
  617.                 },
  618.                 ["init"] = {
  619.                     ["do_custom"] = false,
  620.                     ["custom"] = "\n\n",
  621.                 },
  622.                 ["finish"] = {
  623.                 },
  624.             },
  625.             ["triggers"] = {
  626.                 {
  627.                     ["trigger"] = {
  628.                         ["type"] = "custom",
  629.                         ["subeventSuffix"] = "_CAST_START",
  630.                         ["event"] = "Health",
  631.                         ["unit"] = "player",
  632.                         ["genericShowOn"] = "showOnActive",
  633.                         ["names"] = {
  634.                         },
  635.                         ["spellIds"] = {
  636.                         },
  637.                         ["subeventPrefix"] = "SPELL",
  638.                         ["check"] = "update",
  639.                         ["custom"] = "function()\nlocal a,b = HasPetUI()\nlocal autocastable,autostate = GetSpellAutocast(\"Screech\")\n\n    if (not autostate) and autocastable and a then\n        return true\n    end\nend\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
  640.                         ["custom_type"] = "status",
  641.                         ["debuffType"] = "HELPFUL",
  642.                     },
  643.                     ["untrigger"] = {
  644.                         ["custom"] = "function()\nlocal a,b = HasPetUI()\nlocal autocastable,autostate = GetSpellAutocast(\"Screech\")\n    if autostate or (not (a and b)) or (not autocastable) then\n        return true\n    end\nend",
  645.                     },
  646.                 }, -- [1]
  647.                 ["activeTriggerMode"] = 1,
  648.             },
  649.             ["internalVersion"] = 26,
  650.             ["keepAspectRatio"] = false,
  651.             ["selfPoint"] = "CENTER",
  652.             ["desc"] = "Version 1.0 - 08/26/2016",
  653.             ["version"] = 2,
  654.             ["subRegions"] = {
  655.                 {
  656.                     ["text_shadowXOffset"] = 0,
  657.                     ["type"] = "subtext",
  658.                     ["text_text"] = "TURN OFF GROWL!",
  659.                     ["text_color"] = {
  660.                         1, -- [1]
  661.                         1, -- [2]
  662.                         1, -- [3]
  663.                         1, -- [4]
  664.                     },
  665.                     ["text_font"] = "Friz Quadrata TT",
  666.                     ["text_shadowColor"] = {
  667.                         0, -- [1]
  668.                         0, -- [2]
  669.                         0, -- [3]
  670.                         1, -- [4]
  671.                     },
  672.                     ["text_shadowYOffset"] = 0,
  673.                     ["text_selfPoint"] = "AUTO",
  674.                     ["text_fontSize"] = 20,
  675.                     ["text_fontType"] = "OUTLINE",
  676.                     ["text_anchorPoint"] = "CENTER",
  677.                     ["anchorYOffset"] = 0,
  678.                     ["text_justify"] = "CENTER",
  679.                     ["rotateText"] = "NONE",
  680.                     ["anchorXOffset"] = 0,
  681.                     ["text_visible"] = false,
  682.                 }, -- [1]
  683.             },
  684.             ["height"] = 30,
  685.             ["load"] = {
  686.                 ["affixes"] = {
  687.                     ["multi"] = {
  688.                     },
  689.                 },
  690.                 ["ingroup"] = {
  691.                     ["multi"] = {
  692.                     },
  693.                 },
  694.                 ["class_and_spec"] = {
  695.                     ["multi"] = {
  696.                     },
  697.                 },
  698.                 ["talent"] = {
  699.                     ["multi"] = {
  700.                     },
  701.                 },
  702.                 ["use_role"] = true,
  703.                 ["class"] = {
  704.                     ["single"] = "HUNTER",
  705.                     ["multi"] = {
  706.                     },
  707.                 },
  708.                 ["talent2"] = {
  709.                     ["multi"] = {
  710.                     },
  711.                 },
  712.                 ["role"] = {
  713.                     ["single"] = "DAMAGER",
  714.                     ["multi"] = {
  715.                     },
  716.                 },
  717.                 ["difficulty"] = {
  718.                     ["multi"] = {
  719.                     },
  720.                 },
  721.                 ["race"] = {
  722.                     ["multi"] = {
  723.                     },
  724.                 },
  725.                 ["talent3"] = {
  726.                     ["multi"] = {
  727.                     },
  728.                 },
  729.                 ["pvptalent"] = {
  730.                     ["multi"] = {
  731.                     },
  732.                 },
  733.                 ["spec"] = {
  734.                     ["multi"] = {
  735.                     },
  736.                 },
  737.                 ["faction"] = {
  738.                     ["multi"] = {
  739.                     },
  740.                 },
  741.                 ["use_class"] = true,
  742.                 ["size"] = {
  743.                     ["multi"] = {
  744.                     },
  745.                 },
  746.             },
  747.             ["authorOptions"] = {
  748.             },
  749.             ["regionType"] = "icon",
  750.             ["displayIcon"] = 132150,
  751.             ["color"] = {
  752.                 1, -- [1]
  753.                 1, -- [2]
  754.                 1, -- [3]
  755.                 1, -- [4]
  756.             },
  757.             ["cooldownEdge"] = false,
  758.             ["animation"] = {
  759.                 ["start"] = {
  760.                     ["type"] = "none",
  761.                     ["duration_type"] = "seconds",
  762.                 },
  763.                 ["main"] = {
  764.                     ["preset"] = "bounce",
  765.                     ["type"] = "none",
  766.                     ["duration_type"] = "seconds",
  767.                 },
  768.                 ["finish"] = {
  769.                     ["type"] = "none",
  770.                     ["duration_type"] = "seconds",
  771.                 },
  772.             },
  773.             ["semver"] = "1.0.0",
  774.             ["uid"] = "u4CFUihLjER",
  775.             ["cooldownTextDisabled"] = false,
  776.             ["auto"] = true,
  777.             ["alpha"] = 1,
  778.             ["id"] = "screech",
  779.             ["width"] = 30,
  780.             ["frameStrata"] = 1,
  781.             ["anchorFrameType"] = "SCREEN",
  782.             ["zoom"] = 0,
  783.             ["config"] = {
  784.             },
  785.             ["inverse"] = false,
  786.             ["desaturate"] = true,
  787.             ["conditions"] = {
  788.             },
  789.             ["icon"] = true,
  790.             ["parent"] = "g1",
  791.         },
  792.         ["range"] = {
  793.             ["color"] = {
  794.                 1, -- [1]
  795.                 1, -- [2]
  796.                 1, -- [3]
  797.                 1, -- [4]
  798.             },
  799.             ["yOffset"] = -64.9035339355469,
  800.             ["anchorPoint"] = "CENTER",
  801.             ["cooldownSwipe"] = true,
  802.             ["cooldownEdge"] = false,
  803.             ["icon"] = true,
  804.             ["triggers"] = {
  805.                 {
  806.                     ["trigger"] = {
  807.                         ["type"] = "custom",
  808.                         ["debuffType"] = "HELPFUL",
  809.                         ["unevent"] = "auto",
  810.                         ["subeventPrefix"] = "SPELL",
  811.                         ["duration"] = "1",
  812.                         ["event"] = "Health",
  813.                         ["unit"] = "player",
  814.                         ["names"] = {
  815.                         },
  816.                         ["spellIds"] = {
  817.                         },
  818.                         ["custom"] = "function()\nif IsSpellInRange(\"Auto Shot\",\"target\") == 1 and UnitExists(\"target\") then return true else return false end\nend",
  819.                         ["use_unit"] = true,
  820.                         ["check"] = "update",
  821.                         ["custom_type"] = "status",
  822.                         ["subeventSuffix"] = "_CAST_START",
  823.                         ["custom_hide"] = "timed",
  824.                     },
  825.                     ["untrigger"] = {
  826.                         ["custom"] = "function()\nif not (IsSpellInRange(\"Auto Shot\",\"target\") == 1 and UnitExists(\"target\")) then return true else return false end\nend",
  827.                     },
  828.                 }, -- [1]
  829.                 ["activeTriggerMode"] = -10,
  830.             },
  831.             ["internalVersion"] = 26,
  832.             ["keepAspectRatio"] = false,
  833.             ["animation"] = {
  834.                 ["start"] = {
  835.                     ["duration_type"] = "seconds",
  836.                     ["type"] = "none",
  837.                 },
  838.                 ["main"] = {
  839.                     ["duration_type"] = "seconds",
  840.                     ["type"] = "none",
  841.                 },
  842.                 ["finish"] = {
  843.                     ["duration_type"] = "seconds",
  844.                     ["type"] = "none",
  845.                 },
  846.             },
  847.             ["desaturate"] = false,
  848.             ["subRegions"] = {
  849.                 {
  850.                     ["text_shadowXOffset"] = 0,
  851.                     ["type"] = "subtext",
  852.                     ["text_text"] = "%s",
  853.                     ["text_color"] = {
  854.                         1, -- [1]
  855.                         1, -- [2]
  856.                         1, -- [3]
  857.                         1, -- [4]
  858.                     },
  859.                     ["text_font"] = "Friz Quadrata TT",
  860.                     ["text_shadowColor"] = {
  861.                         0, -- [1]
  862.                         0, -- [2]
  863.                         0, -- [3]
  864.                         1, -- [4]
  865.                     },
  866.                     ["text_shadowYOffset"] = 0,
  867.                     ["text_selfPoint"] = "AUTO",
  868.                     ["text_visible"] = true,
  869.                     ["text_fontType"] = "OUTLINE",
  870.                     ["text_anchorPoint"] = "INNER_BOTTOMRIGHT",
  871.                     ["anchorYOffset"] = 0,
  872.                     ["text_justify"] = "CENTER",
  873.                     ["text_fontSize"] = 12,
  874.                     ["anchorXOffset"] = 0,
  875.                     ["rotateText"] = "NONE",
  876.                 }, -- [1]
  877.             },
  878.             ["height"] = 30,
  879.             ["load"] = {
  880.                 ["use_class"] = true,
  881.                 ["spec"] = {
  882.                     ["multi"] = {
  883.                     },
  884.                 },
  885.                 ["class"] = {
  886.                     ["single"] = "HUNTER",
  887.                     ["multi"] = {
  888.                     },
  889.                 },
  890.                 ["size"] = {
  891.                     ["multi"] = {
  892.                     },
  893.                 },
  894.             },
  895.             ["regionType"] = "icon",
  896.             ["xOffset"] = 59.2769775390625,
  897.             ["zoom"] = 0,
  898.             ["parent"] = "range check",
  899.             ["conditions"] = {
  900.             },
  901.             ["cooldownTextDisabled"] = false,
  902.             ["auto"] = true,
  903.             ["frameStrata"] = 1,
  904.             ["id"] = "range",
  905.             ["width"] = 30,
  906.             ["alpha"] = 1,
  907.             ["anchorFrameType"] = "SCREEN",
  908.             ["uid"] = "V(yuSxj78)X",
  909.             ["config"] = {
  910.             },
  911.             ["inverse"] = false,
  912.             ["selfPoint"] = "CENTER",
  913.             ["displayIcon"] = 132271,
  914.             ["authorOptions"] = {
  915.             },
  916.             ["actions"] = {
  917.                 ["start"] = {
  918.                 },
  919.                 ["finish"] = {
  920.                 },
  921.                 ["init"] = {
  922.                 },
  923.             },
  924.         },
  925.         ["Swing Timers"] = {
  926.             ["grow"] = "DOWN",
  927.             ["controlledChildren"] = {
  928.                 "Main Hand", -- [1]
  929.                 "Off Hand", -- [2]
  930.                 "Ranged", -- [3]
  931.             },
  932.             ["borderBackdrop"] = "Blizzard Tooltip",
  933.             ["xOffset"] = -0.87994384765625,
  934.             ["yOffset"] = 271.704406738281,
  935.             ["anchorPoint"] = "BOTTOM",
  936.             ["borderColor"] = {
  937.                 0, -- [1]
  938.                 0, -- [2]
  939.                 0, -- [3]
  940.                 1, -- [4]
  941.             },
  942.             ["space"] = 2,
  943.             ["url"] = "https://wago.io/fpdm12tUX/1",
  944.             ["actions"] = {
  945.                 ["start"] = {
  946.                 },
  947.                 ["init"] = {
  948.                 },
  949.                 ["finish"] = {
  950.                 },
  951.             },
  952.             ["triggers"] = {
  953.                 {
  954.                     ["trigger"] = {
  955.                         ["unit"] = "player",
  956.                         ["type"] = "aura2",
  957.                         ["spellIds"] = {
  958.                         },
  959.                         ["subeventSuffix"] = "_CAST_START",
  960.                         ["subeventPrefix"] = "SPELL",
  961.                         ["names"] = {
  962.                         },
  963.                         ["event"] = "Health",
  964.                         ["debuffType"] = "HELPFUL",
  965.                     },
  966.                     ["untrigger"] = {
  967.                     },
  968.                 }, -- [1]
  969.             },
  970.             ["columnSpace"] = 1,
  971.             ["internalVersion"] = 26,
  972.             ["animation"] = {
  973.                 ["start"] = {
  974.                     ["type"] = "none",
  975.                     ["duration_type"] = "seconds",
  976.                 },
  977.                 ["main"] = {
  978.                     ["type"] = "none",
  979.                     ["duration_type"] = "seconds",
  980.                 },
  981.                 ["finish"] = {
  982.                     ["type"] = "none",
  983.                     ["duration_type"] = "seconds",
  984.                 },
  985.             },
  986.             ["align"] = "CENTER",
  987.             ["rotation"] = 0,
  988.             ["version"] = 1,
  989.             ["load"] = {
  990.                 ["class"] = {
  991.                     ["multi"] = {
  992.                     },
  993.                 },
  994.                 ["spec"] = {
  995.                     ["multi"] = {
  996.                     },
  997.                 },
  998.                 ["size"] = {
  999.                     ["multi"] = {
  1000.                     },
  1001.                 },
  1002.             },
  1003.             ["backdropColor"] = {
  1004.                 1, -- [1]
  1005.                 1, -- [2]
  1006.                 1, -- [3]
  1007.                 0.5, -- [4]
  1008.             },
  1009.             ["animate"] = true,
  1010.             ["gridType"] = "RD",
  1011.             ["scale"] = 1,
  1012.             ["stagger"] = 0,
  1013.             ["border"] = false,
  1014.             ["borderEdge"] = "Square Full White",
  1015.             ["regionType"] = "dynamicgroup",
  1016.             ["borderSize"] = 2,
  1017.             ["sort"] = "none",
  1018.             ["selfPoint"] = "TOP",
  1019.             ["rowSpace"] = 1,
  1020.             ["constantFactor"] = "RADIUS",
  1021.             ["authorOptions"] = {
  1022.             },
  1023.             ["borderOffset"] = 16,
  1024.             ["gridWidth"] = 5,
  1025.             ["tocversion"] = 11302,
  1026.             ["id"] = "Swing Timers",
  1027.             ["uid"] = "h90hJC1QDXk",
  1028.             ["frameStrata"] = 1,
  1029.             ["anchorFrameType"] = "SCREEN",
  1030.             ["config"] = {
  1031.             },
  1032.             ["borderInset"] = 0,
  1033.             ["radius"] = 200,
  1034.             ["arcLength"] = 360,
  1035.             ["conditions"] = {
  1036.             },
  1037.             ["limit"] = 5,
  1038.             ["useLimit"] = false,
  1039.         },
  1040.         ["Server time"] = {
  1041.             ["outline"] = "OUTLINE",
  1042.             ["fontSize"] = 11,
  1043.             ["color"] = {
  1044.                 1, -- [1]
  1045.                 1, -- [2]
  1046.                 1, -- [3]
  1047.                 1, -- [4]
  1048.             },
  1049.             ["displayText"] = "%c",
  1050.             ["customText"] = "function()\n    \n    h,m = GetGameTime()\n    if aura_env.min and m == (aura_env.min+1) % 60 then\n        aura_env.sec = GetTime()\n    end\n    if aura_env.sec then \n        s = math.floor(GetTime() - aura_env.sec) % 60\n    end\n    aura_env.min = m\n    if s then\n        return string.format(\"%02d:%02d:%02d\",h,m,s)\n    else\n        return string.format(\"%02d:%02d\",h,m)\n    end\nend\n\n\n",
  1051.             ["yOffset"] = -434.18493270874,
  1052.             ["anchorPoint"] = "CENTER",
  1053.             ["wordWrap"] = "WordWrap",
  1054.             ["regionType"] = "text",
  1055.             ["authorOptions"] = {
  1056.             },
  1057.             ["customTextUpdate"] = "update",
  1058.             ["automaticWidth"] = "Fixed",
  1059.             ["actions"] = {
  1060.                 ["start"] = {
  1061.                 },
  1062.                 ["init"] = {
  1063.                 },
  1064.                 ["finish"] = {
  1065.                 },
  1066.             },
  1067.             ["triggers"] = {
  1068.                 {
  1069.                     ["trigger"] = {
  1070.                         ["type"] = "status",
  1071.                         ["use_alwaystrue"] = true,
  1072.                         ["subeventSuffix"] = "_CAST_START",
  1073.                         ["duration"] = "1",
  1074.                         ["event"] = "Conditions",
  1075.                         ["subeventPrefix"] = "SPELL",
  1076.                         ["buffShowOn"] = "showOnActive",
  1077.                         ["custom_type"] = "status",
  1078.                         ["spellIds"] = {
  1079.                         },
  1080.                         ["use_unit"] = true,
  1081.                         ["unevent"] = "auto",
  1082.                         ["names"] = {
  1083.                         },
  1084.                         ["unit"] = "player",
  1085.                         ["debuffType"] = "HELPFUL",
  1086.                     },
  1087.                     ["untrigger"] = {
  1088.                     },
  1089.                 }, -- [1]
  1090.                 ["disjunctive"] = "any",
  1091.                 ["activeTriggerMode"] = -10,
  1092.             },
  1093.             ["fixedWidth"] = 70,
  1094.             ["internalVersion"] = 26,
  1095.             ["justify"] = "LEFT",
  1096.             ["animation"] = {
  1097.                 ["start"] = {
  1098.                     ["type"] = "none",
  1099.                     ["duration_type"] = "seconds",
  1100.                 },
  1101.                 ["main"] = {
  1102.                     ["type"] = "none",
  1103.                     ["duration_type"] = "seconds",
  1104.                 },
  1105.                 ["finish"] = {
  1106.                     ["type"] = "none",
  1107.                     ["duration_type"] = "seconds",
  1108.                 },
  1109.             },
  1110.             ["id"] = "Server time",
  1111.             ["selfPoint"] = "BOTTOM",
  1112.             ["frameStrata"] = 1,
  1113.             ["anchorFrameType"] = "SCREEN",
  1114.             ["font"] = "Friz Quadrata TT",
  1115.             ["uid"] = "ZBYcFRH5V7G",
  1116.             ["config"] = {
  1117.             },
  1118.             ["subRegions"] = {
  1119.             },
  1120.             ["conditions"] = {
  1121.             },
  1122.             ["load"] = {
  1123.                 ["spec"] = {
  1124.                     ["multi"] = {
  1125.                     },
  1126.                 },
  1127.                 ["class"] = {
  1128.                     ["multi"] = {
  1129.                     },
  1130.                 },
  1131.                 ["size"] = {
  1132.                     ["multi"] = {
  1133.                     },
  1134.                 },
  1135.             },
  1136.             ["xOffset"] = -805.326282501221,
  1137.         },
  1138.         ["range 2"] = {
  1139.             ["xOffset"] = 59.2769775390625,
  1140.             ["yOffset"] = -64.9035339355469,
  1141.             ["anchorPoint"] = "CENTER",
  1142.             ["cooldownSwipe"] = true,
  1143.             ["cooldownEdge"] = false,
  1144.             ["icon"] = true,
  1145.             ["triggers"] = {
  1146.                 {
  1147.                     ["trigger"] = {
  1148.                         ["type"] = "custom",
  1149.                         ["custom_hide"] = "timed",
  1150.                         ["subeventSuffix"] = "_CAST_START",
  1151.                         ["unevent"] = "auto",
  1152.                         ["duration"] = "1",
  1153.                         ["event"] = "Health",
  1154.                         ["subeventPrefix"] = "SPELL",
  1155.                         ["custom_type"] = "status",
  1156.                         ["custom"] = "function()\nif IsSpellInRange(\"Auto Shot\",\"target\") == 1 and IsSpellInRange(\"Beast Lore\",\"target\") == 1 and UnitExists(\"target\") then return true else return false end\nend",
  1157.                         ["spellIds"] = {
  1158.                         },
  1159.                         ["use_unit"] = true,
  1160.                         ["check"] = "update",
  1161.                         ["names"] = {
  1162.                         },
  1163.                         ["unit"] = "player",
  1164.                         ["debuffType"] = "HELPFUL",
  1165.                     },
  1166.                     ["untrigger"] = {
  1167.                         ["custom"] = "function()\nif not (IsSpellInRange(\"Auto Shot\",\"target\") == 1 and IsSpellInRange(\"Beast Lore\",\"target\") == 1 and UnitExists(\"target\")) then return true else return false end\nend",
  1168.                     },
  1169.                 }, -- [1]
  1170.                 ["activeTriggerMode"] = -10,
  1171.             },
  1172.             ["internalVersion"] = 26,
  1173.             ["keepAspectRatio"] = false,
  1174.             ["animation"] = {
  1175.                 ["start"] = {
  1176.                     ["type"] = "none",
  1177.                     ["duration_type"] = "seconds",
  1178.                 },
  1179.                 ["main"] = {
  1180.                     ["type"] = "none",
  1181.                     ["duration_type"] = "seconds",
  1182.                 },
  1183.                 ["finish"] = {
  1184.                     ["type"] = "none",
  1185.                     ["duration_type"] = "seconds",
  1186.                 },
  1187.             },
  1188.             ["desaturate"] = false,
  1189.             ["subRegions"] = {
  1190.                 {
  1191.                     ["text_shadowXOffset"] = 0,
  1192.                     ["type"] = "subtext",
  1193.                     ["text_text"] = "%s",
  1194.                     ["text_color"] = {
  1195.                         1, -- [1]
  1196.                         1, -- [2]
  1197.                         1, -- [3]
  1198.                         1, -- [4]
  1199.                     },
  1200.                     ["text_font"] = "Friz Quadrata TT",
  1201.                     ["text_shadowColor"] = {
  1202.                         0, -- [1]
  1203.                         0, -- [2]
  1204.                         0, -- [3]
  1205.                         1, -- [4]
  1206.                     },
  1207.                     ["text_shadowYOffset"] = 0,
  1208.                     ["text_selfPoint"] = "AUTO",
  1209.                     ["rotateText"] = "NONE",
  1210.                     ["text_visible"] = true,
  1211.                     ["text_anchorPoint"] = "INNER_BOTTOMRIGHT",
  1212.                     ["anchorYOffset"] = 0,
  1213.                     ["text_justify"] = "CENTER",
  1214.                     ["text_fontSize"] = 12,
  1215.                     ["anchorXOffset"] = 0,
  1216.                     ["text_fontType"] = "OUTLINE",
  1217.                 }, -- [1]
  1218.             },
  1219.             ["height"] = 30,
  1220.             ["load"] = {
  1221.                 ["use_class"] = true,
  1222.                 ["spec"] = {
  1223.                     ["multi"] = {
  1224.                     },
  1225.                 },
  1226.                 ["class"] = {
  1227.                     ["single"] = "HUNTER",
  1228.                     ["multi"] = {
  1229.                     },
  1230.                 },
  1231.                 ["size"] = {
  1232.                     ["multi"] = {
  1233.                     },
  1234.                 },
  1235.             },
  1236.             ["regionType"] = "icon",
  1237.             ["selfPoint"] = "CENTER",
  1238.             ["parent"] = "range check",
  1239.             ["authorOptions"] = {
  1240.             },
  1241.             ["displayIcon"] = 132222,
  1242.             ["cooldownTextDisabled"] = false,
  1243.             ["auto"] = true,
  1244.             ["alpha"] = 1,
  1245.             ["id"] = "range 2",
  1246.             ["anchorFrameType"] = "SCREEN",
  1247.             ["frameStrata"] = 1,
  1248.             ["width"] = 30,
  1249.             ["config"] = {
  1250.             },
  1251.             ["uid"] = "OQ)pR1ZP(Gh",
  1252.             ["inverse"] = false,
  1253.             ["zoom"] = 0,
  1254.             ["conditions"] = {
  1255.             },
  1256.             ["actions"] = {
  1257.                 ["start"] = {
  1258.                 },
  1259.                 ["init"] = {
  1260.                 },
  1261.                 ["finish"] = {
  1262.                 },
  1263.             },
  1264.             ["color"] = {
  1265.                 1, -- [1]
  1266.                 1, -- [2]
  1267.                 1, -- [3]
  1268.                 1, -- [4]
  1269.             },
  1270.         },
  1271.         ["Mana 5SecondRule + Ticks"] = {
  1272.             ["sparkWidth"] = 10,
  1273.             ["borderBackdrop"] = "Blizzard Tooltip",
  1274.             ["color"] = {
  1275.             },
  1276.             ["yOffset"] = 375.551239877939,
  1277.             ["anchorPoint"] = "CENTER",
  1278.             ["sparkRotation"] = 0,
  1279.             ["sparkRotationMode"] = "AUTO",
  1280.             ["url"] = "https://wago.io/8jnpoLFyU/1",
  1281.             ["actions"] = {
  1282.                 ["start"] = {
  1283.                 },
  1284.                 ["init"] = {
  1285.                     ["custom"] = "aura_env.lastMana = UnitPower(\"player\" , 0)",
  1286.                     ["do_custom"] = true,
  1287.                 },
  1288.                 ["finish"] = {
  1289.                     ["custom"] = "WeakAuras.ScanEvents(\"TICKUPDATE\", true)",
  1290.                     ["do_custom"] = false,
  1291.                 },
  1292.             },
  1293.             ["triggers"] = {
  1294.                 {
  1295.                     ["trigger"] = {
  1296.                         ["duration"] = "2",
  1297.                         ["names"] = {
  1298.                         },
  1299.                         ["debuffType"] = "HELPFUL",
  1300.                         ["type"] = "custom",
  1301.                         ["unit"] = "player",
  1302.                         ["unevent"] = "auto",
  1303.                         ["subeventSuffix"] = "_ENERGIZE",
  1304.                         ["custom_type"] = "stateupdate",
  1305.                         ["event"] = "Health",
  1306.                         ["use_unit"] = true,
  1307.                         ["events"] = "UNIT_SPELLCAST_SUCCEEDED:player UNIT_POWER_FREQUENT:player UNIT_SPELLCAST_SUCCEEDED:player",
  1308.                         ["spellIds"] = {
  1309.                         },
  1310.                         ["custom"] = "function(a, e, t)\n    local currentMana = UnitPower(\"player\" , 0)\n    \n    if e == \"UNIT_SPELLCAST_SUCCEEDED\" and currentMana < aura_env.lastMana then\n        local duration = 6.45 -- why?\n        --local duration = 5\n        a[\"\"] = {\n            show = true,\n            changed = true,\n            duration = duration,\n            expirationTime = GetTime() + duration,\n            progressType = \"timed\",\n            autoHide = true\n        }\n        aura_env.lastMana = currentMana\n    elseif e == \"UNIT_POWER_FREQUENT\" and currentMana > aura_env.lastMana then\n         aura_env.lastMana = currentMana\n    end\n    \n   \n    return true\nend",
  1311.                         ["use_sourceUnit"] = true,
  1312.                         ["check"] = "event",
  1313.                         ["subeventPrefix"] = "SPELL",
  1314.                         ["sourceUnit"] = "player",
  1315.                         ["customVariables"] = "{\n    duration = true\n}",
  1316.                     },
  1317.                     ["untrigger"] = {
  1318.                     },
  1319.                 }, -- [1]
  1320.                 ["disjunctive"] = "any",
  1321.                 ["activeTriggerMode"] = -10,
  1322.             },
  1323.             ["icon_color"] = {
  1324.                 1, -- [1]
  1325.                 1, -- [2]
  1326.                 1, -- [3]
  1327.                 1, -- [4]
  1328.             },
  1329.             ["internalVersion"] = 26,
  1330.             ["spark"] = true,
  1331.             ["selfPoint"] = "CENTER",
  1332.             ["backdropInFront"] = false,
  1333.             ["barColor"] = {
  1334.                 0, -- [1]
  1335.                 0.23529411764706, -- [2]
  1336.                 1, -- [3]
  1337.                 0, -- [4]
  1338.             },
  1339.             ["desaturate"] = false,
  1340.             ["sparkOffsetX"] = 0,
  1341.             ["xOffset"] = -462.880065917969,
  1342.             ["sparkOffsetY"] = 0,
  1343.             ["subRegions"] = {
  1344.                 {
  1345.                     ["type"] = "aurabar_bar",
  1346.                 }, -- [1]
  1347.                 {
  1348.                     ["text_shadowXOffset"] = 1,
  1349.                     ["text_text"] = "%p",
  1350.                     ["text_shadowColor"] = {
  1351.                         0, -- [1]
  1352.                         0, -- [2]
  1353.                         0, -- [3]
  1354.                         1, -- [4]
  1355.                     },
  1356.                     ["text_selfPoint"] = "AUTO",
  1357.                     ["anchorYOffset"] = 0,
  1358.                     ["text_justify"] = "CENTER",
  1359.                     ["rotateText"] = "NONE",
  1360.                     ["type"] = "subtext",
  1361.                     ["text_anchorXOffset"] = 15,
  1362.                     ["text_color"] = {
  1363.                         1, -- [1]
  1364.                         1, -- [2]
  1365.                         1, -- [3]
  1366.                         1, -- [4]
  1367.                     },
  1368.                     ["text_font"] = "Accidental Presidency",
  1369.                     ["text_anchorYOffset"] = -10,
  1370.                     ["text_visible"] = false,
  1371.                     ["text_anchorPoint"] = "SPARK",
  1372.                     ["text_fontType"] = "None",
  1373.                     ["text_fontSize"] = 20,
  1374.                     ["anchorXOffset"] = 0,
  1375.                     ["text_shadowYOffset"] = -1,
  1376.                 }, -- [2]
  1377.                 {
  1378.                     ["type"] = "subborder",
  1379.                     ["border_anchor"] = "bar",
  1380.                     ["border_offset"] = 5,
  1381.                     ["border_color"] = {
  1382.                         1, -- [1]
  1383.                         1, -- [2]
  1384.                         1, -- [3]
  1385.                         0.5, -- [4]
  1386.                     },
  1387.                     ["border_visible"] = false,
  1388.                     ["border_edge"] = "None",
  1389.                     ["border_size"] = 16,
  1390.                 }, -- [3]
  1391.             },
  1392.             ["height"] = 0.999994575977326,
  1393.             ["authorOptions"] = {
  1394.             },
  1395.             ["load"] = {
  1396.                 ["use_class"] = false,
  1397.                 ["spec"] = {
  1398.                     ["multi"] = {
  1399.                     },
  1400.                 },
  1401.                 ["class"] = {
  1402.                     ["single"] = "ROGUE",
  1403.                     ["multi"] = {
  1404.                         ["HUNTER"] = true,
  1405.                         ["WARLOCK"] = true,
  1406.                         ["SHAMAN"] = true,
  1407.                         ["MAGE"] = true,
  1408.                         ["DRUID"] = true,
  1409.                         ["PALADIN"] = true,
  1410.                         ["PRIEST"] = true,
  1411.                     },
  1412.                 },
  1413.                 ["size"] = {
  1414.                     ["multi"] = {
  1415.                     },
  1416.                 },
  1417.             },
  1418.             ["sparkBlendMode"] = "ADD",
  1419.             ["backdropColor"] = {
  1420.                 1, -- [1]
  1421.                 1, -- [2]
  1422.                 1, -- [3]
  1423.                 0.5, -- [4]
  1424.             },
  1425.             ["backgroundColor"] = {
  1426.                 0, -- [1]
  1427.                 0.22352941176471, -- [2]
  1428.                 1, -- [3]
  1429.                 0, -- [4]
  1430.             },
  1431.             ["stickyDuration"] = false,
  1432.             ["sparkColor"] = {
  1433.                 1, -- [1]
  1434.                 1, -- [2]
  1435.                 1, -- [3]
  1436.                 1, -- [4]
  1437.             },
  1438.             ["config"] = {
  1439.             },
  1440.             ["version"] = 1,
  1441.             ["smoothProgress"] = false,
  1442.             ["useAdjustededMin"] = false,
  1443.             ["regionType"] = "aurabar",
  1444.             ["borderInFront"] = true,
  1445.             ["width"] = 117.402137756348,
  1446.             ["icon_side"] = "RIGHT",
  1447.             ["alpha"] = 1,
  1448.             ["sparkHeight"] = 30,
  1449.             ["texture"] = "ElvUI Blank",
  1450.             ["sparkHidden"] = "NEVER",
  1451.             ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
  1452.             ["auto"] = true,
  1453.             ["tocversion"] = 11302,
  1454.             ["id"] = "Mana 5SecondRule + Ticks",
  1455.             ["semver"] = "1.0.1",
  1456.             ["frameStrata"] = 4,
  1457.             ["anchorFrameType"] = "SCREEN",
  1458.             ["zoom"] = 0,
  1459.             ["uid"] = "dvZawXAyrxC",
  1460.             ["inverse"] = false,
  1461.             ["useAdjustededMax"] = false,
  1462.             ["orientation"] = "HORIZONTAL",
  1463.             ["conditions"] = {
  1464.                 {
  1465.                     ["check"] = {
  1466.                         ["trigger"] = 1,
  1467.                         ["op"] = "<",
  1468.                         ["variable"] = "duration",
  1469.                         ["value"] = "5",
  1470.                     },
  1471.                     ["changes"] = {
  1472.                         {
  1473.                             ["value"] = true,
  1474.                             ["property"] = "inverse",
  1475.                         }, -- [1]
  1476.                     },
  1477.                 }, -- [1]
  1478.             },
  1479.             ["animation"] = {
  1480.                 ["start"] = {
  1481.                     ["type"] = "none",
  1482.                     ["duration_type"] = "seconds",
  1483.                 },
  1484.                 ["main"] = {
  1485.                     ["type"] = "none",
  1486.                     ["duration_type"] = "seconds",
  1487.                 },
  1488.                 ["finish"] = {
  1489.                     ["type"] = "none",
  1490.                     ["duration_type"] = "seconds",
  1491.                 },
  1492.             },
  1493.             ["icon"] = false,
  1494.         },
  1495.         ["FDResist"] = {
  1496.             ["outline"] = "OUTLINE",
  1497.             ["color"] = {
  1498.                 1, -- [1]
  1499.                 0.22745098039216, -- [2]
  1500.                 0, -- [3]
  1501.                 1, -- [4]
  1502.             },
  1503.             ["preferToUpdate"] = false,
  1504.             ["yOffset"] = 230,
  1505.             ["anchorPoint"] = "CENTER",
  1506.             ["customTextUpdate"] = "update",
  1507.             ["automaticWidth"] = "Auto",
  1508.             ["actions"] = {
  1509.                 ["start"] = {
  1510.                     ["sound_path"] = "Interface\\AddOns\\SndFrWA\\FeignDeathSound\\BADMRLE.wav",
  1511.                     ["sound"] = " custom",
  1512.                     ["do_message"] = false,
  1513.                     ["do_sound"] = true,
  1514.                 },
  1515.                 ["init"] = {
  1516.                 },
  1517.                 ["finish"] = {
  1518.                 },
  1519.             },
  1520.             ["triggers"] = {
  1521.                 {
  1522.                     ["trigger"] = {
  1523.                         ["duration"] = "2",
  1524.                         ["use_unit"] = true,
  1525.                         ["debuffType"] = "HELPFUL",
  1526.                         ["type"] = "custom",
  1527.                         ["unevent"] = "auto",
  1528.                         ["custom_hide"] = "timed",
  1529.                         ["custom_type"] = "event",
  1530.                         ["event"] = "Health",
  1531.                         ["events"] = "UI_ERROR_MESSAGE",
  1532.                         ["customDuration"] = "",
  1533.                         ["spellIds"] = {
  1534.                         },
  1535.                         ["custom"] = "function(errorType, message)\n    if message == 513  then\n        return true\n    end\nend\n\n\n",
  1536.                         ["names"] = {
  1537.                         },
  1538.                         ["check"] = "update",
  1539.                         ["subeventSuffix"] = "_CAST_START",
  1540.                         ["subeventPrefix"] = "SPELL",
  1541.                         ["unit"] = "player",
  1542.                     },
  1543.                     ["untrigger"] = {
  1544.                     },
  1545.                 }, -- [1]
  1546.                 ["activeTriggerMode"] = -10,
  1547.             },
  1548.             ["internalVersion"] = 26,
  1549.             ["animation"] = {
  1550.                 ["start"] = {
  1551.                     ["type"] = "none",
  1552.                     ["duration_type"] = "seconds",
  1553.                 },
  1554.                 ["main"] = {
  1555.                     ["type"] = "preset",
  1556.                     ["preset"] = "alphaPulse",
  1557.                     ["duration_type"] = "seconds",
  1558.                 },
  1559.                 ["finish"] = {
  1560.                     ["alphaType"] = "straight",
  1561.                     ["type"] = "none",
  1562.                     ["duration"] = "1",
  1563.                     ["duration_type"] = "seconds",
  1564.                     ["use_alpha"] = false,
  1565.                 },
  1566.             },
  1567.             ["font"] = "Friz Quadrata TT",
  1568.             ["version"] = 1,
  1569.             ["subRegions"] = {
  1570.             },
  1571.             ["load"] = {
  1572.                 ["use_class"] = true,
  1573.                 ["class"] = {
  1574.                     ["single"] = "HUNTER",
  1575.                     ["multi"] = {
  1576.                     },
  1577.                 },
  1578.                 ["spec"] = {
  1579.                     ["multi"] = {
  1580.                     },
  1581.                 },
  1582.                 ["size"] = {
  1583.                     ["multi"] = {
  1584.                     },
  1585.                 },
  1586.             },
  1587.             ["fontSize"] = 30,
  1588.             ["regionType"] = "text",
  1589.             ["selfPoint"] = "BOTTOM",
  1590.             ["wordWrap"] = "WordWrap",
  1591.             ["justify"] = "LEFT",
  1592.             ["tocversion"] = 11302,
  1593.             ["id"] = "FDResist",
  1594.             ["url"] = "https://wago.io/MXJwzhQcg/1",
  1595.             ["frameStrata"] = 1,
  1596.             ["anchorFrameType"] = "SCREEN",
  1597.             ["xOffset"] = 0,
  1598.             ["uid"] = "ZUHTPbFiSgn",
  1599.             ["displayText"] = "Feign Death Resisted!",
  1600.             ["conditions"] = {
  1601.             },
  1602.             ["fixedWidth"] = 200,
  1603.             ["config"] = {
  1604.             },
  1605.             ["authorOptions"] = {
  1606.             },
  1607.         },
  1608.         ["Off Hand"] = {
  1609.             ["sparkWidth"] = 10,
  1610.             ["sparkOffsetX"] = 0,
  1611.             ["authorOptions"] = {
  1612.             },
  1613.             ["yOffset"] = 0,
  1614.             ["anchorPoint"] = "CENTER",
  1615.             ["sparkRotation"] = 0,
  1616.             ["sparkRotationMode"] = "AUTO",
  1617.             ["url"] = "https://wago.io/fpdm12tUX/1",
  1618.             ["icon"] = true,
  1619.             ["triggers"] = {
  1620.                 {
  1621.                     ["trigger"] = {
  1622.                         ["type"] = "status",
  1623.                         ["unevent"] = "auto",
  1624.                         ["unit"] = "player",
  1625.                         ["duration"] = "1",
  1626.                         ["event"] = "Swing Timer",
  1627.                         ["names"] = {
  1628.                         },
  1629.                         ["use_unit"] = true,
  1630.                         ["subeventSuffix"] = "_CAST_START",
  1631.                         ["spellIds"] = {
  1632.                         },
  1633.                         ["use_hand"] = true,
  1634.                         ["subeventPrefix"] = "SPELL",
  1635.                         ["use_inverse"] = false,
  1636.                         ["hand"] = "off",
  1637.                         ["debuffType"] = "HELPFUL",
  1638.                     },
  1639.                     ["untrigger"] = {
  1640.                         ["hand"] = "off",
  1641.                     },
  1642.                 }, -- [1]
  1643.                 ["activeTriggerMode"] = -10,
  1644.             },
  1645.             ["icon_color"] = {
  1646.                 1, -- [1]
  1647.                 1, -- [2]
  1648.                 1, -- [3]
  1649.                 1, -- [4]
  1650.             },
  1651.             ["internalVersion"] = 26,
  1652.             ["selfPoint"] = "CENTER",
  1653.             ["backdropInFront"] = false,
  1654.             ["spark"] = false,
  1655.             ["barColor"] = {
  1656.                 0.66666666666667, -- [1]
  1657.                 0.66666666666667, -- [2]
  1658.                 0.66666666666667, -- [3]
  1659.                 1, -- [4]
  1660.             },
  1661.             ["desaturate"] = false,
  1662.             ["actions"] = {
  1663.                 ["start"] = {
  1664.                 },
  1665.                 ["init"] = {
  1666.                     ["do_custom"] = false,
  1667.                 },
  1668.                 ["finish"] = {
  1669.                 },
  1670.             },
  1671.             ["sparkOffsetY"] = 0,
  1672.             ["subRegions"] = {
  1673.                 {
  1674.                     ["type"] = "aurabar_bar",
  1675.                 }, -- [1]
  1676.                 {
  1677.                     ["text_shadowXOffset"] = 1,
  1678.                     ["type"] = "subtext",
  1679.                     ["text_text"] = "%p",
  1680.                     ["text_color"] = {
  1681.                         1, -- [1]
  1682.                         1, -- [2]
  1683.                         1, -- [3]
  1684.                         1, -- [4]
  1685.                     },
  1686.                     ["text_font"] = "Friz Quadrata TT",
  1687.                     ["text_shadowColor"] = {
  1688.                         0, -- [1]
  1689.                         0, -- [2]
  1690.                         0, -- [3]
  1691.                         1, -- [4]
  1692.                     },
  1693.                     ["text_shadowYOffset"] = -1,
  1694.                     ["text_selfPoint"] = "AUTO",
  1695.                     ["text_fontType"] = "None",
  1696.                     ["text_visible"] = true,
  1697.                     ["text_anchorPoint"] = "INNER_RIGHT",
  1698.                     ["anchorYOffset"] = 0,
  1699.                     ["text_justify"] = "CENTER",
  1700.                     ["rotateText"] = "NONE",
  1701.                     ["anchorXOffset"] = 0,
  1702.                     ["text_fontSize"] = 8,
  1703.                 }, -- [2]
  1704.                 {
  1705.                     ["text_shadowXOffset"] = 1,
  1706.                     ["type"] = "subtext",
  1707.                     ["text_text"] = "Off Hand",
  1708.                     ["text_color"] = {
  1709.                         1, -- [1]
  1710.                         1, -- [2]
  1711.                         1, -- [3]
  1712.                         1, -- [4]
  1713.                     },
  1714.                     ["text_font"] = "Friz Quadrata TT",
  1715.                     ["text_shadowColor"] = {
  1716.                         0, -- [1]
  1717.                         0, -- [2]
  1718.                         0, -- [3]
  1719.                         1, -- [4]
  1720.                     },
  1721.                     ["text_shadowYOffset"] = -1,
  1722.                     ["text_selfPoint"] = "AUTO",
  1723.                     ["text_fontType"] = "None",
  1724.                     ["text_visible"] = true,
  1725.                     ["text_anchorPoint"] = "INNER_LEFT",
  1726.                     ["anchorYOffset"] = 0,
  1727.                     ["text_justify"] = "CENTER",
  1728.                     ["rotateText"] = "NONE",
  1729.                     ["anchorXOffset"] = 0,
  1730.                     ["text_fontSize"] = 8,
  1731.                 }, -- [3]
  1732.                 {
  1733.                     ["text_shadowXOffset"] = 1,
  1734.                     ["type"] = "subtext",
  1735.                     ["text_text"] = "%s",
  1736.                     ["text_color"] = {
  1737.                         1, -- [1]
  1738.                         1, -- [2]
  1739.                         1, -- [3]
  1740.                         1, -- [4]
  1741.                     },
  1742.                     ["text_font"] = "Friz Quadrata TT",
  1743.                     ["text_shadowColor"] = {
  1744.                         0, -- [1]
  1745.                         0, -- [2]
  1746.                         0, -- [3]
  1747.                         1, -- [4]
  1748.                     },
  1749.                     ["text_shadowYOffset"] = -1,
  1750.                     ["text_selfPoint"] = "AUTO",
  1751.                     ["text_fontType"] = "None",
  1752.                     ["text_visible"] = true,
  1753.                     ["text_anchorPoint"] = "ICON_CENTER",
  1754.                     ["anchorYOffset"] = 0,
  1755.                     ["text_justify"] = "CENTER",
  1756.                     ["rotateText"] = "NONE",
  1757.                     ["anchorXOffset"] = 0,
  1758.                     ["text_fontSize"] = 12,
  1759.                 }, -- [4]
  1760.                 {
  1761.                     ["type"] = "subborder",
  1762.                     ["border_anchor"] = "bar",
  1763.                     ["border_offset"] = 5,
  1764.                     ["border_color"] = {
  1765.                         1, -- [1]
  1766.                         1, -- [2]
  1767.                         1, -- [3]
  1768.                         0.5, -- [4]
  1769.                     },
  1770.                     ["border_visible"] = false,
  1771.                     ["border_edge"] = "None",
  1772.                     ["border_size"] = 16,
  1773.                 }, -- [5]
  1774.             },
  1775.             ["height"] = 10,
  1776.             ["stickyDuration"] = false,
  1777.             ["load"] = {
  1778.                 ["spec"] = {
  1779.                     ["multi"] = {
  1780.                     },
  1781.                 },
  1782.                 ["class"] = {
  1783.                     ["multi"] = {
  1784.                     },
  1785.                 },
  1786.                 ["size"] = {
  1787.                     ["multi"] = {
  1788.                     },
  1789.                 },
  1790.             },
  1791.             ["sparkBlendMode"] = "ADD",
  1792.             ["useAdjustededMax"] = false,
  1793.             ["xOffset"] = 0,
  1794.             ["borderBackdrop"] = "Blizzard Tooltip",
  1795.             ["backgroundColor"] = {
  1796.                 0, -- [1]
  1797.                 0, -- [2]
  1798.                 0, -- [3]
  1799.                 0.5, -- [4]
  1800.             },
  1801.             ["config"] = {
  1802.             },
  1803.             ["sparkColor"] = {
  1804.                 1, -- [1]
  1805.                 1, -- [2]
  1806.                 1, -- [3]
  1807.                 1, -- [4]
  1808.             },
  1809.             ["customTextUpdate"] = "update",
  1810.             ["useAdjustededMin"] = false,
  1811.             ["regionType"] = "aurabar",
  1812.             ["borderInFront"] = true,
  1813.             ["anchorFrameType"] = "SCREEN",
  1814.             ["icon_side"] = "RIGHT",
  1815.             ["frameStrata"] = 1,
  1816.             ["sparkHeight"] = 30,
  1817.             ["texture"] = "Blizzard",
  1818.             ["id"] = "Off Hand",
  1819.             ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
  1820.             ["auto"] = true,
  1821.             ["tocversion"] = 11302,
  1822.             ["sparkHidden"] = "NEVER",
  1823.             ["zoom"] = 0,
  1824.             ["alpha"] = 1,
  1825.             ["width"] = 165,
  1826.             ["backdropColor"] = {
  1827.                 1, -- [1]
  1828.                 1, -- [2]
  1829.                 1, -- [3]
  1830.                 0.5, -- [4]
  1831.             },
  1832.             ["uid"] = "(1XnfyKcJl3",
  1833.             ["inverse"] = true,
  1834.             ["version"] = 1,
  1835.             ["orientation"] = "HORIZONTAL",
  1836.             ["conditions"] = {
  1837.             },
  1838.             ["animation"] = {
  1839.                 ["start"] = {
  1840.                     ["type"] = "none",
  1841.                     ["duration_type"] = "seconds",
  1842.                 },
  1843.                 ["main"] = {
  1844.                     ["type"] = "none",
  1845.                     ["duration_type"] = "seconds",
  1846.                 },
  1847.                 ["finish"] = {
  1848.                     ["type"] = "none",
  1849.                     ["duration_type"] = "seconds",
  1850.                 },
  1851.             },
  1852.             ["parent"] = "Swing Timers",
  1853.         },
  1854.         ["Mana/HP tick"] = {
  1855.             ["sparkWidth"] = 10,
  1856.             ["borderBackdrop"] = "Blizzard Tooltip",
  1857.             ["xOffset"] = -462.880065917969,
  1858.             ["yOffset"] = 386.551239877939,
  1859.             ["anchorPoint"] = "CENTER",
  1860.             ["sparkRotation"] = 0,
  1861.             ["sparkRotationMode"] = "AUTO",
  1862.             ["url"] = "https://wago.io/8jnpoLFyU/1",
  1863.             ["actions"] = {
  1864.                 ["start"] = {
  1865.                 },
  1866.                 ["finish"] = {
  1867.                     ["custom"] = "WeakAuras.ScanEvents(\"TICKUPDATE\", true)",
  1868.                     ["do_custom"] = false,
  1869.                 },
  1870.                 ["init"] = {
  1871.                     ["custom"] = "aura_env.lastMana = UnitPower(\"player\" , 0)\naura_env.lastHP = UnitHealth(\"player\")\naura_env.tickTimer = GetTime()",
  1872.                     ["do_custom"] = true,
  1873.                 },
  1874.             },
  1875.             ["triggers"] = {
  1876.                 {
  1877.                     ["trigger"] = {
  1878.                         ["duration"] = "2",
  1879.                         ["unit"] = "player",
  1880.                         ["debuffType"] = "HELPFUL",
  1881.                         ["type"] = "custom",
  1882.                         ["subeventPrefix"] = "SPELL",
  1883.                         ["subeventSuffix"] = "_ENERGIZE",
  1884.                         ["names"] = {
  1885.                         },
  1886.                         ["custom_type"] = "stateupdate",
  1887.                         ["event"] = "Health",
  1888.                         ["use_unit"] = true,
  1889.                         ["spellIds"] = {
  1890.                         },
  1891.                         ["custom"] = "function(a, e, t)\n    local currentMana = UnitPower(\"player\" , 0)\n    local currentHP = UnitHealth(\"player\")\n    -- print(tostring(currentHP)..':'..tostring(aura_env.lastHP))\n    if currentMana >= UnitPowerMax(\"player\", 0) and currentHP >= UnitHealthMax(\"player\") then\n        -- return false\n    end\n    \n    if e == \"UNIT_HEALTH_FREQUENT\" then\n        if currentHP > (aura_env.lastHP) and not(UnitAffectingCombat(\"player\")) then\n            local duration = 2\n            aura_env.tickTimer = GetTime()\n            a[\"\"] = {\n                show = true,\n                changed = true,\n                duration = duration,\n                expirationTime = GetTime() + duration,\n                progressType = \"timed\",\n                autoHide = true\n            }\n        end\n        aura_env.lastHP = currentHP \n        \n    elseif e == \"UNIT_POWER_FREQUENT\" and currentMana > aura_env.lastMana then\n        local duration = 2\n        a[\"\"] = {\n            show = true,\n            changed = true,\n            duration = duration,\n            expirationTime = GetTime() + duration,\n            progressType = \"timed\",\n            autoHide = true\n        }\n        aura_env.lastMana = currentMana\n    elseif e == \"UNIT_SPELLCAST_SUCCEEDED\" and currentMana < aura_env.lastMana then\n        aura_env.lastMana = currentMana\n    end\n    \n    return true\nend",
  1892.                         ["events"] = "UNIT_SPELLCAST_SUCCEEDED:player UNIT_POWER_FREQUENT:player UNIT_HEALTH_FREQUENT:player UNIT_SPELLCAST_SUCCEEDED:player",
  1893.                         ["use_sourceUnit"] = true,
  1894.                         ["check"] = "event",
  1895.                         ["unevent"] = "auto",
  1896.                         ["sourceUnit"] = "player",
  1897.                         ["customVariables"] = "{\n    duration = true\n}",
  1898.                     },
  1899.                     ["untrigger"] = {
  1900.                     },
  1901.                 }, -- [1]
  1902.                 ["disjunctive"] = "any",
  1903.                 ["activeTriggerMode"] = -10,
  1904.             },
  1905.             ["icon_color"] = {
  1906.                 1, -- [1]
  1907.                 1, -- [2]
  1908.                 1, -- [3]
  1909.                 1, -- [4]
  1910.             },
  1911.             ["internalVersion"] = 26,
  1912.             ["semver"] = "1.0.1",
  1913.             ["selfPoint"] = "CENTER",
  1914.             ["backdropInFront"] = false,
  1915.             ["barColor"] = {
  1916.                 0, -- [1]
  1917.                 0.23529411764706, -- [2]
  1918.                 1, -- [3]
  1919.                 0, -- [4]
  1920.             },
  1921.             ["desaturate"] = false,
  1922.             ["icon"] = false,
  1923.             ["sparkOffsetX"] = 0,
  1924.             ["sparkOffsetY"] = 0,
  1925.             ["subRegions"] = {
  1926.                 {
  1927.                     ["type"] = "aurabar_bar",
  1928.                 }, -- [1]
  1929.                 {
  1930.                     ["text_shadowXOffset"] = 1,
  1931.                     ["text_text"] = "%p",
  1932.                     ["text_shadowColor"] = {
  1933.                         0, -- [1]
  1934.                         0, -- [2]
  1935.                         0, -- [3]
  1936.                         1, -- [4]
  1937.                     },
  1938.                     ["text_selfPoint"] = "AUTO",
  1939.                     ["anchorYOffset"] = 0,
  1940.                     ["text_justify"] = "CENTER",
  1941.                     ["rotateText"] = "NONE",
  1942.                     ["type"] = "subtext",
  1943.                     ["text_anchorXOffset"] = 15,
  1944.                     ["text_color"] = {
  1945.                         1, -- [1]
  1946.                         1, -- [2]
  1947.                         1, -- [3]
  1948.                         1, -- [4]
  1949.                     },
  1950.                     ["text_font"] = "Accidental Presidency",
  1951.                     ["text_anchorYOffset"] = -10,
  1952.                     ["text_fontType"] = "None",
  1953.                     ["text_anchorPoint"] = "SPARK",
  1954.                     ["text_shadowYOffset"] = -1,
  1955.                     ["text_fontSize"] = 20,
  1956.                     ["anchorXOffset"] = 0,
  1957.                     ["text_visible"] = false,
  1958.                 }, -- [2]
  1959.                 {
  1960.                     ["border_offset"] = 5,
  1961.                     ["border_anchor"] = "bar",
  1962.                     ["border_size"] = 16,
  1963.                     ["border_color"] = {
  1964.                         1, -- [1]
  1965.                         1, -- [2]
  1966.                         1, -- [3]
  1967.                         0.5, -- [4]
  1968.                     },
  1969.                     ["border_visible"] = false,
  1970.                     ["border_edge"] = "None",
  1971.                     ["type"] = "subborder",
  1972.                 }, -- [3]
  1973.             },
  1974.             ["height"] = 0.999994575977326,
  1975.             ["stickyDuration"] = false,
  1976.             ["load"] = {
  1977.                 ["use_class"] = false,
  1978.                 ["spec"] = {
  1979.                     ["multi"] = {
  1980.                     },
  1981.                 },
  1982.                 ["class"] = {
  1983.                     ["single"] = "ROGUE",
  1984.                     ["multi"] = {
  1985.                         ["HUNTER"] = true,
  1986.                         ["WARLOCK"] = true,
  1987.                         ["SHAMAN"] = true,
  1988.                         ["MAGE"] = true,
  1989.                         ["DRUID"] = true,
  1990.                         ["PALADIN"] = true,
  1991.                         ["PRIEST"] = true,
  1992.                     },
  1993.                 },
  1994.                 ["size"] = {
  1995.                     ["multi"] = {
  1996.                     },
  1997.                 },
  1998.             },
  1999.             ["sparkBlendMode"] = "ADD",
  2000.             ["backdropColor"] = {
  2001.                 1, -- [1]
  2002.                 1, -- [2]
  2003.                 1, -- [3]
  2004.                 0.5, -- [4]
  2005.             },
  2006.             ["version"] = 1,
  2007.             ["animation"] = {
  2008.                 ["start"] = {
  2009.                     ["duration_type"] = "seconds",
  2010.                     ["type"] = "none",
  2011.                 },
  2012.                 ["main"] = {
  2013.                     ["duration_type"] = "seconds",
  2014.                     ["type"] = "none",
  2015.                 },
  2016.                 ["finish"] = {
  2017.                     ["duration_type"] = "seconds",
  2018.                     ["type"] = "none",
  2019.                 },
  2020.             },
  2021.             ["uid"] = "pT4cxPhiDMe",
  2022.             ["sparkColor"] = {
  2023.                 1, -- [1]
  2024.                 1, -- [2]
  2025.                 1, -- [3]
  2026.                 1, -- [4]
  2027.             },
  2028.             ["color"] = {
  2029.             },
  2030.             ["smoothProgress"] = false,
  2031.             ["useAdjustededMin"] = false,
  2032.             ["regionType"] = "aurabar",
  2033.             ["borderInFront"] = true,
  2034.             ["width"] = 117.402137756348,
  2035.             ["icon_side"] = "RIGHT",
  2036.             ["frameStrata"] = 4,
  2037.             ["sparkHeight"] = 30,
  2038.             ["texture"] = "ElvUI Blank",
  2039.             ["id"] = "Mana/HP tick",
  2040.             ["zoom"] = 0,
  2041.             ["spark"] = true,
  2042.             ["tocversion"] = 11302,
  2043.             ["sparkHidden"] = "NEVER",
  2044.             ["auto"] = true,
  2045.             ["alpha"] = 1,
  2046.             ["anchorFrameType"] = "SCREEN",
  2047.             ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
  2048.             ["config"] = {
  2049.             },
  2050.             ["inverse"] = false,
  2051.             ["useAdjustededMax"] = false,
  2052.             ["orientation"] = "HORIZONTAL",
  2053.             ["conditions"] = {
  2054.                 {
  2055.                     ["check"] = {
  2056.                         ["trigger"] = 1,
  2057.                         ["op"] = "<",
  2058.                         ["value"] = "5",
  2059.                         ["variable"] = "duration",
  2060.                     },
  2061.                     ["changes"] = {
  2062.                         {
  2063.                             ["value"] = true,
  2064.                             ["property"] = "inverse",
  2065.                         }, -- [1]
  2066.                     },
  2067.                 }, -- [1]
  2068.             },
  2069.             ["backgroundColor"] = {
  2070.                 0, -- [1]
  2071.                 0.22352941176471, -- [2]
  2072.                 1, -- [3]
  2073.                 0, -- [4]
  2074.             },
  2075.             ["authorOptions"] = {
  2076.             },
  2077.         },
  2078.         ["XP/hr tracker"] = {
  2079.             ["outline"] = "OUTLINE",
  2080.             ["fontSize"] = 11,
  2081.             ["xOffset"] = -740.326286315918,
  2082.             ["displayText"] = "%c",
  2083.             ["customText"] = "function()\n    local ctime = time()\n    local sessionDuration = (ctime-aura_env.session)/3600\n    local sessionXPhr = aura_env.sessionXP/sessionDuration\n    local levelXPhr = aura_env.levelXP/(ctime-aura_env.ding)*3600\n    \n    if ctime-aura_env.update >= aura_env.samplingInterval then   \n        \n        local length = #aura_env.XP\n        local multiplier = 3600/(aura_env.samplingInterval*length)\n        aura_env.updatecount = aura_env.updatecount +1\n        aura_env.XP[(aura_env.updatecount % length)+1] = aura_env.cummulativeXP\n        aura_env.cummulativeXP = 0\n        local XPlasthr = 0\n        \n        if aura_env.updatecount < length then\n            multiplier = multiplier * length / aura_env.updatecount\n        end\n        \n        for i,v in ipairs(aura_env.XP) do                \n            XPlasthr = XPlasthr + v                \n        end\n        \n        aura_env.XPhr = XPlasthr*multiplier\n        aura_env.update = ctime\n    end\n    return string.format(\"XP/hr: %sk \\nXP/hr this level: %sk\\nXP/hr this session: %sk\",floor(aura_env.XPhr/10)/100,floor(levelXPhr/10)/100,floor(sessionXPhr/10)/100)\nend\n\n\n",
  2084.             ["yOffset"] = -364.226631164551,
  2085.             ["regionType"] = "text",
  2086.             ["wordWrap"] = "WordWrap",
  2087.             ["authorOptions"] = {
  2088.             },
  2089.             ["color"] = {
  2090.                 1, -- [1]
  2091.                 1, -- [2]
  2092.                 1, -- [3]
  2093.                 1, -- [4]
  2094.             },
  2095.             ["customTextUpdate"] = "update",
  2096.             ["automaticWidth"] = "Fixed",
  2097.             ["actions"] = {
  2098.                 ["start"] = {
  2099.                 },
  2100.                 ["init"] = {
  2101.                     ["do_custom"] = true,
  2102.                     ["custom"] = "aura_env.session = time()\naura_env.update = time()\naura_env.level = UnitLevel(\"player\")\naura_env.maxXP = UnitXPMax(\"player\")\naura_env.cXP = UnitXP(\"player\")\naura_env.updatecount = 0\naura_env.sessionXP = 0\naura_env.XPhr = 0\naura_env.levelXP = 0\naura_env.ding = time()\naura_env.cummulativeXP = 0\n\naura_env.samplingInterval = 30\naura_env.XP = {}\nfor i=1, 60 do\n    aura_env.XP[i] = 0\nend\n\n\n\n",
  2103.                 },
  2104.                 ["finish"] = {
  2105.                 },
  2106.             },
  2107.             ["triggers"] = {
  2108.                 {
  2109.                     ["trigger"] = {
  2110.                         ["custom_hide"] = "custom",
  2111.                         ["type"] = "custom",
  2112.                         ["subeventSuffix"] = "_CAST_START",
  2113.                         ["unevent"] = "timed",
  2114.                         ["names"] = {
  2115.                         },
  2116.                         ["duration"] = "1",
  2117.                         ["event"] = "Chat Message",
  2118.                         ["subeventPrefix"] = "SPELL",
  2119.                         ["custom_type"] = "status",
  2120.                         ["spellIds"] = {
  2121.                         },
  2122.                         ["custom"] = "function()\n    local XPdiff = 0\n    \n    if aura_env.level == UnitLevel(\"player\") then\n        XPdiff = UnitXP(\"player\") - aura_env.cXP\n    else \n        XPdiff = aura_env.maxXP - aura_env.cXP + UnitXP(\"player\")\n        aura_env.levelXP = 0\n        aura_env.ding = time()\n    end\n    aura_env.cummulativeXP = aura_env.cummulativeXP + XPdiff\n    aura_env.levelXP = aura_env.levelXP + XPdiff\n    aura_env.sessionXP = aura_env.sessionXP + XPdiff\n    aura_env.maxXP = UnitXPMax(\"player\")\n    aura_env.level = UnitLevel(\"player\")\n    aura_env.cXP = UnitXP(\"player\")\n    return true\nend\n\n\n\n",
  2123.                         ["events"] = "PLAYER_XP_UPDATE, PLAYER_LEVEL_UP",
  2124.                         ["check"] = "event",
  2125.                         ["dynamicDuration"] = false,
  2126.                         ["unit"] = "player",
  2127.                         ["debuffType"] = "HELPFUL",
  2128.                     },
  2129.                     ["untrigger"] = {
  2130.                         ["custom"] = "\n\n\n",
  2131.                     },
  2132.                 }, -- [1]
  2133.                 ["disjunctive"] = "any",
  2134.                 ["customTriggerLogic"] = "function()\n    local XPdelta = 0\n    if aura_env.level == UnitLevel(\"player\") then\n        XPdelta = UnitXP(\"player\") - aura_env.cXP\n    else \n        XPdelta = aura_env.maxXP - aura_env.cXP + UnitXP(\"player\")\n    end\n    aura_env.sessionXP = aura_env.sessionXP + aura_env.XPdelta\n    aura_env.maxXP = UnitXPMax(\"player\")\n    aura_env.level = UnitLevel(\"player\")\n    aura_env.cXP = UnitXP(\"player\")\n    return true\nend",
  2135.                 ["activeTriggerMode"] = -10,
  2136.             },
  2137.             ["fixedWidth"] = 200,
  2138.             ["internalVersion"] = 26,
  2139.             ["justify"] = "LEFT",
  2140.             ["animation"] = {
  2141.                 ["start"] = {
  2142.                     ["type"] = "none",
  2143.                     ["duration_type"] = "seconds",
  2144.                 },
  2145.                 ["main"] = {
  2146.                     ["type"] = "none",
  2147.                     ["duration_type"] = "seconds",
  2148.                 },
  2149.                 ["finish"] = {
  2150.                     ["type"] = "none",
  2151.                     ["duration_type"] = "seconds",
  2152.                 },
  2153.             },
  2154.             ["id"] = "XP/hr tracker",
  2155.             ["selfPoint"] = "BOTTOM",
  2156.             ["frameStrata"] = 1,
  2157.             ["anchorFrameType"] = "SCREEN",
  2158.             ["config"] = {
  2159.             },
  2160.             ["font"] = "Friz Quadrata TT",
  2161.             ["uid"] = "2eOb5Ideo2I",
  2162.             ["subRegions"] = {
  2163.             },
  2164.             ["conditions"] = {
  2165.             },
  2166.             ["load"] = {
  2167.                 ["spec"] = {
  2168.                     ["multi"] = {
  2169.                     },
  2170.                 },
  2171.                 ["use_level"] = true,
  2172.                 ["faction"] = {
  2173.                 },
  2174.                 ["class"] = {
  2175.                     ["multi"] = {
  2176.                     },
  2177.                 },
  2178.                 ["level_operator"] = "<",
  2179.                 ["level"] = "60",
  2180.                 ["size"] = {
  2181.                     ["multi"] = {
  2182.                     },
  2183.                 },
  2184.             },
  2185.             ["anchorPoint"] = "CENTER",
  2186.         },
  2187.         ["[WoW Classic] Map Coords"] = {
  2188.             ["outline"] = "OUTLINE",
  2189.             ["xOffset"] = 759.243835449219,
  2190.             ["displayText"] = "%n",
  2191.             ["customText"] = "",
  2192.             ["yOffset"] = 265.692138671875,
  2193.             ["anchorPoint"] = "CENTER",
  2194.             ["customTextUpdate"] = "update",
  2195.             ["automaticWidth"] = "Auto",
  2196.             ["actions"] = {
  2197.                 ["start"] = {
  2198.                 },
  2199.                 ["init"] = {
  2200.                     ["custom"] = "aura_env.update_coords = function()\n    local MapID=MapUtil.GetDisplayableMapForPlayer();\n    local player_pos = C_Map.GetPlayerMapPosition(MapID,\"player\");\n    if player_pos then\n        local x,y = player_pos:GetXY();\n        if x>0 or y>0 then\n            return format(\"%0.1f, %0.1f\",x*100,y*100)\n        end\n    end\n    return '----'\nend",
  2201.                     ["do_custom"] = true,
  2202.                 },
  2203.                 ["finish"] = {
  2204.                 },
  2205.             },
  2206.             ["triggers"] = {
  2207.                 {
  2208.                     ["trigger"] = {
  2209.                         ["type"] = "custom",
  2210.                         ["custom_hide"] = "timed",
  2211.                         ["subeventSuffix"] = "_CAST_START",
  2212.                         ["custom_type"] = "status",
  2213.                         ["spellIds"] = {
  2214.                         },
  2215.                         ["event"] = "Health",
  2216.                         ["unit"] = "player",
  2217.                         ["customDuration"] = "",
  2218.                         ["customName"] = "function()\n    return aura_env.update_coords()\nend",
  2219.                         ["custom"] = "function()\n    return true\nend",
  2220.                         ["subeventPrefix"] = "SPELL",
  2221.                         ["check"] = "update",
  2222.                         ["events"] = "",
  2223.                         ["names"] = {
  2224.                         },
  2225.                         ["debuffType"] = "HELPFUL",
  2226.                     },
  2227.                     ["untrigger"] = {
  2228.                     },
  2229.                 }, -- [1]
  2230.                 ["activeTriggerMode"] = -10,
  2231.             },
  2232.             ["internalVersion"] = 26,
  2233.             ["animation"] = {
  2234.                 ["start"] = {
  2235.                     ["type"] = "none",
  2236.                     ["duration_type"] = "seconds",
  2237.                 },
  2238.                 ["main"] = {
  2239.                     ["type"] = "none",
  2240.                     ["duration_type"] = "seconds",
  2241.                 },
  2242.                 ["finish"] = {
  2243.                     ["type"] = "none",
  2244.                     ["duration_type"] = "seconds",
  2245.                 },
  2246.             },
  2247.             ["desc"] = "Map Coords in WeakAura Text Form. Move wherever you want it. Based on MapCoords Classic (https://www.wowinterface.com/downloads/info24920-MapCoordsClassic.html)",
  2248.             ["font"] = "Friz Quadrata TT",
  2249.             ["version"] = 2,
  2250.             ["load"] = {
  2251.                 ["class"] = {
  2252.                     ["multi"] = {
  2253.                     },
  2254.                 },
  2255.                 ["spec"] = {
  2256.                     ["multi"] = {
  2257.                     },
  2258.                 },
  2259.                 ["size"] = {
  2260.                     ["multi"] = {
  2261.                     },
  2262.                 },
  2263.             },
  2264.             ["fontSize"] = 10,
  2265.             ["regionType"] = "text",
  2266.             ["selfPoint"] = "BOTTOM",
  2267.             ["justify"] = "LEFT",
  2268.             ["authorOptions"] = {
  2269.             },
  2270.             ["id"] = "[WoW Classic] Map Coords",
  2271.             ["semver"] = "1.0.1",
  2272.             ["frameStrata"] = 1,
  2273.             ["anchorFrameType"] = "SCREEN",
  2274.             ["color"] = {
  2275.                 1, -- [1]
  2276.                 1, -- [2]
  2277.                 1, -- [3]
  2278.                 1, -- [4]
  2279.             },
  2280.             ["uid"] = "a8SeLpXNx6F",
  2281.             ["conditions"] = {
  2282.             },
  2283.             ["url"] = "https://wago.io/7pjnohU80/2",
  2284.             ["fixedWidth"] = 200,
  2285.             ["config"] = {
  2286.             },
  2287.             ["wordWrap"] = "WordWrap",
  2288.         },
  2289.         ["melee"] = {
  2290.             ["parent"] = "range check",
  2291.             ["yOffset"] = -64.9035339355469,
  2292.             ["anchorPoint"] = "CENTER",
  2293.             ["cooldownSwipe"] = true,
  2294.             ["cooldownEdge"] = false,
  2295.             ["icon"] = true,
  2296.             ["triggers"] = {
  2297.                 {
  2298.                     ["trigger"] = {
  2299.                         ["type"] = "custom",
  2300.                         ["custom_hide"] = "timed",
  2301.                         ["unevent"] = "auto",
  2302.                         ["subeventSuffix"] = "_CAST_START",
  2303.                         ["duration"] = "1",
  2304.                         ["event"] = "Health",
  2305.                         ["subeventPrefix"] = "SPELL",
  2306.                         ["custom_type"] = "status",
  2307.                         ["custom"] = "function()\nif IsSpellInRange(\"Wing Clip\",\"target\") == 1 and UnitExists(\"target\") then return true else return false end\nend",
  2308.                         ["spellIds"] = {
  2309.                         },
  2310.                         ["use_unit"] = true,
  2311.                         ["check"] = "update",
  2312.                         ["names"] = {
  2313.                         },
  2314.                         ["unit"] = "player",
  2315.                         ["debuffType"] = "HELPFUL",
  2316.                     },
  2317.                     ["untrigger"] = {
  2318.                         ["custom"] = "function()\nif not (IsSpellInRange(\"Wing Clip\",\"target\") == 1 and UnitExists(\"target\")) then return true else return false end\nend",
  2319.                     },
  2320.                 }, -- [1]
  2321.                 ["activeTriggerMode"] = -10,
  2322.             },
  2323.             ["internalVersion"] = 26,
  2324.             ["keepAspectRatio"] = false,
  2325.             ["animation"] = {
  2326.                 ["start"] = {
  2327.                     ["type"] = "none",
  2328.                     ["duration_type"] = "seconds",
  2329.                 },
  2330.                 ["main"] = {
  2331.                     ["type"] = "none",
  2332.                     ["duration_type"] = "seconds",
  2333.                 },
  2334.                 ["finish"] = {
  2335.                     ["type"] = "none",
  2336.                     ["duration_type"] = "seconds",
  2337.                 },
  2338.             },
  2339.             ["desaturate"] = false,
  2340.             ["subRegions"] = {
  2341.                 {
  2342.                     ["text_shadowXOffset"] = 0,
  2343.                     ["type"] = "subtext",
  2344.                     ["text_text"] = "%s",
  2345.                     ["text_color"] = {
  2346.                         1, -- [1]
  2347.                         1, -- [2]
  2348.                         1, -- [3]
  2349.                         1, -- [4]
  2350.                     },
  2351.                     ["text_font"] = "Friz Quadrata TT",
  2352.                     ["text_shadowColor"] = {
  2353.                         0, -- [1]
  2354.                         0, -- [2]
  2355.                         0, -- [3]
  2356.                         1, -- [4]
  2357.                     },
  2358.                     ["text_shadowYOffset"] = 0,
  2359.                     ["text_selfPoint"] = "AUTO",
  2360.                     ["rotateText"] = "NONE",
  2361.                     ["text_visible"] = true,
  2362.                     ["text_anchorPoint"] = "INNER_BOTTOMRIGHT",
  2363.                     ["anchorYOffset"] = 0,
  2364.                     ["text_justify"] = "CENTER",
  2365.                     ["text_fontSize"] = 12,
  2366.                     ["anchorXOffset"] = 0,
  2367.                     ["text_fontType"] = "OUTLINE",
  2368.                 }, -- [1]
  2369.             },
  2370.             ["height"] = 30,
  2371.             ["load"] = {
  2372.                 ["use_class"] = true,
  2373.                 ["spec"] = {
  2374.                     ["multi"] = {
  2375.                     },
  2376.                 },
  2377.                 ["class"] = {
  2378.                     ["single"] = "HUNTER",
  2379.                     ["multi"] = {
  2380.                     },
  2381.                 },
  2382.                 ["size"] = {
  2383.                     ["multi"] = {
  2384.                     },
  2385.                 },
  2386.             },
  2387.             ["regionType"] = "icon",
  2388.             ["actions"] = {
  2389.                 ["start"] = {
  2390.                 },
  2391.                 ["init"] = {
  2392.                 },
  2393.                 ["finish"] = {
  2394.                 },
  2395.             },
  2396.             ["selfPoint"] = "CENTER",
  2397.             ["color"] = {
  2398.                 1, -- [1]
  2399.                 1, -- [2]
  2400.                 1, -- [3]
  2401.                 1, -- [4]
  2402.             },
  2403.             ["displayIcon"] = 132223,
  2404.             ["cooldownTextDisabled"] = false,
  2405.             ["auto"] = true,
  2406.             ["alpha"] = 1,
  2407.             ["id"] = "melee",
  2408.             ["anchorFrameType"] = "SCREEN",
  2409.             ["frameStrata"] = 1,
  2410.             ["width"] = 30,
  2411.             ["config"] = {
  2412.             },
  2413.             ["uid"] = "t1znHsl7XhW",
  2414.             ["inverse"] = false,
  2415.             ["zoom"] = 0,
  2416.             ["conditions"] = {
  2417.             },
  2418.             ["xOffset"] = 59.2769775390625,
  2419.             ["authorOptions"] = {
  2420.             },
  2421.         },
  2422.         ["range check"] = {
  2423.             ["backdropColor"] = {
  2424.                 1, -- [1]
  2425.                 1, -- [2]
  2426.                 1, -- [3]
  2427.                 0.5, -- [4]
  2428.             },
  2429.             ["controlledChildren"] = {
  2430.                 "range 2", -- [1]
  2431.                 "range", -- [2]
  2432.                 "melee", -- [3]
  2433.             },
  2434.             ["borderBackdrop"] = "Blizzard Tooltip",
  2435.             ["authorOptions"] = {
  2436.             },
  2437.             ["border"] = false,
  2438.             ["borderEdge"] = "1 Pixel",
  2439.             ["regionType"] = "group",
  2440.             ["borderSize"] = 2,
  2441.             ["xOffset"] = 0,
  2442.             ["borderColor"] = {
  2443.                 0, -- [1]
  2444.                 0, -- [2]
  2445.                 0, -- [3]
  2446.                 1, -- [4]
  2447.             },
  2448.             ["animation"] = {
  2449.                 ["start"] = {
  2450.                     ["type"] = "none",
  2451.                     ["duration_type"] = "seconds",
  2452.                 },
  2453.                 ["main"] = {
  2454.                     ["type"] = "none",
  2455.                     ["duration_type"] = "seconds",
  2456.                 },
  2457.                 ["finish"] = {
  2458.                     ["type"] = "none",
  2459.                     ["duration_type"] = "seconds",
  2460.                 },
  2461.             },
  2462.             ["actions"] = {
  2463.                 ["start"] = {
  2464.                 },
  2465.                 ["init"] = {
  2466.                 },
  2467.                 ["finish"] = {
  2468.                 },
  2469.             },
  2470.             ["triggers"] = {
  2471.                 {
  2472.                     ["trigger"] = {
  2473.                         ["debuffType"] = "HELPFUL",
  2474.                         ["type"] = "aura2",
  2475.                         ["spellIds"] = {
  2476.                         },
  2477.                         ["subeventSuffix"] = "_CAST_START",
  2478.                         ["unit"] = "player",
  2479.                         ["subeventPrefix"] = "SPELL",
  2480.                         ["event"] = "Health",
  2481.                         ["names"] = {
  2482.                         },
  2483.                     },
  2484.                     ["untrigger"] = {
  2485.                     },
  2486.                 }, -- [1]
  2487.             },
  2488.             ["anchorPoint"] = "CENTER",
  2489.             ["borderOffset"] = 4,
  2490.             ["yOffset"] = 0,
  2491.             ["selfPoint"] = "BOTTOMLEFT",
  2492.             ["id"] = "range check",
  2493.             ["internalVersion"] = 26,
  2494.             ["frameStrata"] = 1,
  2495.             ["anchorFrameType"] = "SCREEN",
  2496.             ["borderInset"] = 1,
  2497.             ["config"] = {
  2498.             },
  2499.             ["uid"] = "gyi0lZs0JcJ",
  2500.             ["subRegions"] = {
  2501.             },
  2502.             ["conditions"] = {
  2503.             },
  2504.             ["load"] = {
  2505.                 ["use_class"] = false,
  2506.                 ["spec"] = {
  2507.                     ["multi"] = {
  2508.                     },
  2509.                 },
  2510.                 ["class"] = {
  2511.                     ["multi"] = {
  2512.                     },
  2513.                 },
  2514.                 ["size"] = {
  2515.                     ["multi"] = {
  2516.                     },
  2517.                 },
  2518.             },
  2519.             ["scale"] = 1,
  2520.         },
  2521.         ["Not Attacking"] = {
  2522.             ["outline"] = "OUTLINE",
  2523.             ["xOffset"] = -105.692565917969,
  2524.             ["displayText"] = "La pet, pete",
  2525.             ["yOffset"] = -122.411865234375,
  2526.             ["anchorPoint"] = "CENTER",
  2527.             ["cooldownSwipe"] = true,
  2528.             ["customTextUpdate"] = "update",
  2529.             ["url"] = "https://wago.io/dblkLG2sC/2",
  2530.             ["actions"] = {
  2531.                 ["start"] = {
  2532.                 },
  2533.                 ["init"] = {
  2534.                     ["do_custom"] = false,
  2535.                     ["custom"] = "\n\n",
  2536.                 },
  2537.                 ["finish"] = {
  2538.                 },
  2539.             },
  2540.             ["triggers"] = {
  2541.                 {
  2542.                     ["trigger"] = {
  2543.                         ["type"] = "custom",
  2544.                         ["custom_type"] = "status",
  2545.                         ["debuffType"] = "HELPFUL",
  2546.                         ["event"] = "Health",
  2547.                         ["unit"] = "player",
  2548.                         ["names"] = {
  2549.                         },
  2550.                         ["events"] = "WA_CHECK_PET",
  2551.                         ["custom"] = "function ()\n    a,b = HasPetUI()\n    if not a then return false end\n    \n    if(UnitExists(\"pettarget\")) then \n        local delay = 1.5\n        aura_env.untriggerTime = GetTime() + delay\n        return false\n    end\n    \n    if aura_env.untriggerTime and aura_env.untriggerTime > GetTime() then \n        return false\n    end\n    \n    return true\nend",
  2552.                         ["subeventPrefix"] = "SPELL",
  2553.                         ["check"] = "update",
  2554.                         ["spellIds"] = {
  2555.                         },
  2556.                         ["subeventSuffix"] = "_CAST_START",
  2557.                         ["custom_hide"] = "timed",
  2558.                     },
  2559.                     ["untrigger"] = {
  2560.                         ["custom"] = "",
  2561.                     },
  2562.                 }, -- [1]
  2563.                 ["disjunctive"] = "any",
  2564.                 ["activeTriggerMode"] = -10,
  2565.             },
  2566.             ["internalVersion"] = 26,
  2567.             ["keepAspectRatio"] = false,
  2568.             ["animation"] = {
  2569.                 ["start"] = {
  2570.                     ["type"] = "none",
  2571.                     ["duration_type"] = "seconds",
  2572.                 },
  2573.                 ["main"] = {
  2574.                     ["type"] = "none",
  2575.                     ["preset"] = "shake",
  2576.                     ["duration_type"] = "seconds",
  2577.                 },
  2578.                 ["finish"] = {
  2579.                     ["type"] = "none",
  2580.                     ["duration_type"] = "seconds",
  2581.                 },
  2582.             },
  2583.             ["desaturate"] = true,
  2584.             ["font"] = "Expressway",
  2585.             ["version"] = 2,
  2586.             ["subRegions"] = {
  2587.             },
  2588.             ["height"] = 30,
  2589.             ["load"] = {
  2590.                 ["use_class"] = false,
  2591.                 ["use_combat"] = true,
  2592.                 ["class"] = {
  2593.                     ["single"] = "WARLOCK",
  2594.                     ["multi"] = {
  2595.                         ["HUNTER"] = true,
  2596.                         ["WARLOCK"] = true,
  2597.                     },
  2598.                 },
  2599.                 ["spec"] = {
  2600.                     ["multi"] = {
  2601.                     },
  2602.                 },
  2603.                 ["size"] = {
  2604.                     ["multi"] = {
  2605.                     },
  2606.                 },
  2607.             },
  2608.             ["fontSize"] = 35,
  2609.             ["anchorFrameType"] = "SCREEN",
  2610.             ["zoom"] = 0,
  2611.             ["selfPoint"] = "BOTTOMLEFT",
  2612.             ["color"] = {
  2613.                 0.97647058823529, -- [1]
  2614.                 1, -- [2]
  2615.                 1, -- [3]
  2616.                 1, -- [4]
  2617.             },
  2618.             ["wordWrap"] = "WordWrap",
  2619.             ["regionType"] = "icon",
  2620.             ["fixedWidth"] = 200,
  2621.             ["icon"] = true,
  2622.             ["displayIcon"] = 132152,
  2623.             ["uid"] = "jYNLOqd6kyQ",
  2624.             ["alpha"] = 1,
  2625.             ["auto"] = true,
  2626.             ["cooldownTextDisabled"] = false,
  2627.             ["justify"] = "LEFT",
  2628.             ["tocversion"] = 11302,
  2629.             ["id"] = "Not Attacking",
  2630.             ["semver"] = "1.0.1",
  2631.             ["frameStrata"] = 1,
  2632.             ["width"] = 30,
  2633.             ["parent"] = "g1",
  2634.             ["config"] = {
  2635.             },
  2636.             ["inverse"] = false,
  2637.             ["automaticWidth"] = "Auto",
  2638.             ["conditions"] = {
  2639.             },
  2640.             ["cooldownEdge"] = false,
  2641.             ["authorOptions"] = {
  2642.             },
  2643.         },
  2644.         ["QuestLog"] = {
  2645.             ["outline"] = "OUTLINE",
  2646.             ["fontSize"] = 12,
  2647.             ["xOffset"] = 0,
  2648.             ["displayText"] = "",
  2649.             ["yOffset"] = 0,
  2650.             ["regionType"] = "text",
  2651.             ["wordWrap"] = "WordWrap",
  2652.             ["color"] = {
  2653.                 1, -- [1]
  2654.                 1, -- [2]
  2655.                 1, -- [3]
  2656.                 1, -- [4]
  2657.             },
  2658.             ["anchorPoint"] = "CENTER",
  2659.             ["customTextUpdate"] = "event",
  2660.             ["automaticWidth"] = "Auto",
  2661.             ["actions"] = {
  2662.                 ["start"] = {
  2663.                 },
  2664.                 ["init"] = {
  2665.                     ["do_custom"] = true,
  2666.                     ["custom"] = "aura_env.lastupdate = 0",
  2667.                 },
  2668.                 ["finish"] = {
  2669.                 },
  2670.             },
  2671.             ["triggers"] = {
  2672.                 {
  2673.                     ["trigger"] = {
  2674.                         ["type"] = "custom",
  2675.                         ["subeventSuffix"] = "_CAST_START",
  2676.                         ["custom_hide"] = "timed",
  2677.                         ["duration"] = "1",
  2678.                         ["event"] = "Chat Message",
  2679.                         ["subeventPrefix"] = "SPELL",
  2680.                         ["custom_type"] = "event",
  2681.                         ["spellIds"] = {
  2682.                         },
  2683.                         ["custom"] = "function()\n    if QuestLogExFrame and UnitLevel(\"player\") > 1 and (UnitOnTaxi(\"player\") or GetTime() - aura_env.lastupdate > 600) then\n        ShowUIPanel(QuestLogExFrame)\n        QuestLogEx:Minimize()\n    end\n    aura_env.lastupdate = GetTime()\n    return false\nend",
  2684.                         ["unevent"] = "timed",
  2685.                         ["names"] = {
  2686.                         },
  2687.                         ["events"] = "ZONE_CHANGED_NEW_AREA",
  2688.                         ["unit"] = "player",
  2689.                         ["debuffType"] = "HELPFUL",
  2690.                     },
  2691.                     ["untrigger"] = {
  2692.                     },
  2693.                 }, -- [1]
  2694.                 ["disjunctive"] = "any",
  2695.                 ["activeTriggerMode"] = -10,
  2696.             },
  2697.             ["fixedWidth"] = 200,
  2698.             ["internalVersion"] = 26,
  2699.             ["justify"] = "LEFT",
  2700.             ["selfPoint"] = "BOTTOM",
  2701.             ["id"] = "QuestLog",
  2702.             ["animation"] = {
  2703.                 ["start"] = {
  2704.                     ["type"] = "none",
  2705.                     ["duration_type"] = "seconds",
  2706.                 },
  2707.                 ["main"] = {
  2708.                     ["type"] = "none",
  2709.                     ["duration_type"] = "seconds",
  2710.                 },
  2711.                 ["finish"] = {
  2712.                     ["type"] = "none",
  2713.                     ["duration_type"] = "seconds",
  2714.                 },
  2715.             },
  2716.             ["frameStrata"] = 1,
  2717.             ["anchorFrameType"] = "SCREEN",
  2718.             ["font"] = "Friz Quadrata TT",
  2719.             ["uid"] = "OUavMyfn3bh",
  2720.             ["config"] = {
  2721.             },
  2722.             ["subRegions"] = {
  2723.             },
  2724.             ["conditions"] = {
  2725.             },
  2726.             ["load"] = {
  2727.                 ["ingroup"] = {
  2728.                 },
  2729.                 ["use_level"] = true,
  2730.                 ["talent"] = {
  2731.                 },
  2732.                 ["class"] = {
  2733.                     ["multi"] = {
  2734.                     },
  2735.                 },
  2736.                 ["use_zone"] = false,
  2737.                 ["use_never"] = false,
  2738.                 ["spec"] = {
  2739.                     ["multi"] = {
  2740.                     },
  2741.                 },
  2742.                 ["level"] = "60",
  2743.                 ["level_operator"] = "<",
  2744.                 ["size"] = {
  2745.                     ["single"] = "none",
  2746.                     ["multi"] = {
  2747.                         ["none"] = true,
  2748.                     },
  2749.                 },
  2750.             },
  2751.             ["authorOptions"] = {
  2752.             },
  2753.         },
  2754.         ["Ability Cast"] = {
  2755.             ["sparkWidth"] = 10,
  2756.             ["sparkOffsetX"] = 0,
  2757.             ["authorOptions"] = {
  2758.                 {
  2759.                     ["type"] = "toggle",
  2760.                     ["key"] = "aimedShot",
  2761.                     ["width"] = 2,
  2762.                     ["name"] = "Aimed Shot",
  2763.                     ["useDesc"] = true,
  2764.                     ["default"] = true,
  2765.                     ["desc"] = "Display Aimed Shot castbar",
  2766.                 }, -- [1]
  2767.                 {
  2768.                     ["type"] = "toggle",
  2769.                     ["key"] = "multiShot",
  2770.                     ["width"] = 1,
  2771.                     ["name"] = "Multi-Shot",
  2772.                     ["useDesc"] = true,
  2773.                     ["default"] = true,
  2774.                     ["desc"] = "Display Multi-Shot castbar",
  2775.                 }, -- [2]
  2776.                 {
  2777.                     ["type"] = "toggle",
  2778.                     ["key"] = "autoShot",
  2779.                     ["width"] = 1,
  2780.                     ["name"] = "Auto Shot",
  2781.                     ["useDesc"] = true,
  2782.                     ["default"] = true,
  2783.                     ["desc"] = "Display Auto Shot castbar",
  2784.                 }, -- [3]
  2785.                 {
  2786.                     ["type"] = "toggle",
  2787.                     ["key"] = "volleyShot",
  2788.                     ["default"] = false,
  2789.                     ["name"] = "Volley",
  2790.                     ["useDesc"] = false,
  2791.                     ["width"] = 1,
  2792.                 }, -- [4]
  2793.             },
  2794.             ["adjustedMax"] = 3,
  2795.             ["customText"] = "function(expirationTime, rawDuration, progress, formatedDuration, name, icon, stacks)\n    aura_env.progress = progress\n    if pushbackTotal ~= nil then\n        if pushbackTotal == 0 then\n            return progress\n        else\n            return progress, \"|CFFFF0303 +\"..pushbackTotal\n        end\n    end\nend",
  2796.             ["yOffset"] = 0,
  2797.             ["anchorPoint"] = "CENTER",
  2798.             ["sparkRotation"] = 0,
  2799.             ["customTextUpdate"] = "update",
  2800.             ["url"] = "https://wago.io/92y4H96_t/16",
  2801.             ["backgroundColor"] = {
  2802.                 0.13725490196078, -- [1]
  2803.                 0.13725490196078, -- [2]
  2804.                 0.13725490196078, -- [3]
  2805.                 1, -- [4]
  2806.             },
  2807.             ["triggers"] = {
  2808.                 {
  2809.                     ["trigger"] = {
  2810.                         ["duration"] = "3",
  2811.                         ["use_spell"] = true,
  2812.                         ["use_unit"] = true,
  2813.                         ["subeventPrefix"] = "SPELL",
  2814.                         ["debuffType"] = "HELPFUL",
  2815.                         ["customIcon"] = "function()\n    local _, _, spellIcon = GetSpellInfo(shotId)\n    return spellIcon\nend",
  2816.                         ["spellName"] = "Aimed Shot",
  2817.                         ["custom"] = "function(event,...)\n    if event == \"COMBAT_LOG_EVENT_UNFILTERED\" then\n        if select(2,...) == \"SPELL_CAST_START\" and select(5,...) == UnitName(\"player\") then\n            aura_env.progress = 0\n            pushNumber = 0\n            pushbackTotal = 0\n            if aura_env.config[\"aimedShot\"] and GetSpellInfo(19434) == select(13,...) then\n                shotId = 19434\n                return true\n            end\n            if aura_env.config[\"multiShot\"] and GetSpellInfo(2643) == select(13,...) then\n                shotId = 2643\n                return true\n            end\n            if aura_env.config[\"volleyShot\"] and GetSpellInfo(14295) == select(13,...) then\n                shotId = 14295\n                return true\n            end\n            if aura_env.config[\"autoShot\"] and GetSpellInfo(75) == select(13,...) then\n                shotId = 75\n                return true\n            end\n        end\n    end\n    if (select(2,...) == \"SWING_DAMAGE\" or select(2,...) == \"SPELL_DAMAGE\" or select(2,...) == \"ENVIRONMENTAL_DAMAGE\") and select(9,...) == UnitName(\"player\") and shotId == 19434 then\n        local pushbacks = {1, 0.8, 0.6, 0.4, 0.2}\n        if pushNumber < 5 then\n            pushNumber = pushNumber + 1\n        end\n        if aura_env.progress ~= nil and tonumber(aura_env.progress) < pushbacks[pushNumber] then\n            aura_env.progress = aura_env.progress + aura_env.progress\n            pushbackTotal = pushbackTotal + aura_env.progress\n        else\n            aura_env.progress = aura_env.progress + pushbacks[pushNumber]\n            pushbackTotal = pushbackTotal + pushbacks[pushNumber]\n        end\n        return true\n    end\nend\n\n\n",
  2818.                         ["use_cloneId"] = false,
  2819.                         ["custom_hide"] = "timed",
  2820.                         ["subeventSuffix"] = "_CAST_START",
  2821.                         ["spell"] = "aimed shot",
  2822.                         ["spellIds"] = {
  2823.                         },
  2824.                         ["custom_type"] = "status",
  2825.                         ["use_spellName"] = true,
  2826.                         ["unevent"] = "auto",
  2827.                         ["event"] = "Cast",
  2828.                         ["names"] = {
  2829.                         },
  2830.                         ["customDuration"] = "function()\n    local buffs = {3045, 26635, 6150}\n    _, _, _, castTime = GetSpellInfo(shotId)\n    castTime = castTime / 1000\n    calcTime = castTime\n    for i=1,40 do\n        local _, _, _, _, _, _, _, _, _, buffId = UnitBuff(\"player\",i)\n        if buffId == buffs[1] then -- Rapid Fire\n            calcTime = calcTime - (castTime - castTime / 1.4)\n        end\n        if buffId == buffs[2] then -- Troll Racial\n            healthProcent = UnitHealth(\"player\") / UnitHealthMax(\"player\") * 100\n            if healthProcent >= 40 then\n                berserkBonus = 1.1 * (1.3 - (healthProcent - 40)  / 200)\n            end\n            if healthProcent < 40 then\n                berserkBonus = 1.1 * 1.3\n            end\n            calcTime = calcTime - (castTime - castTime / berserkBonus)\n        end\n        if buffId == buffs[3] then -- Quick Shots\n            calcTime = calcTime - (castTime - castTime / 1.3)\n        end\n        \n    end\n    if castTime == 0 then\n        calcTime = 0.5\n    end\n    if aura_env.progress ~= 0 then\n        return calcTime, aura_env.progress + GetTime()\n    end\n    return calcTime, calcTime + GetTime()\nend",
  2831.                         ["customName"] = "function()\n    local spellName = GetSpellInfo(shotId)\n    return spellName\nend\n\n\n",
  2832.                         ["events"] = "COMBAT_LOG_EVENT_UNFILTERED, PLAYER_STARTED_MOVING",
  2833.                         ["use_sourceUnit"] = true,
  2834.                         ["check"] = "event",
  2835.                         ["type"] = "custom",
  2836.                         ["sourceUnit"] = "player",
  2837.                         ["unit"] = "player",
  2838.                     },
  2839.                     ["untrigger"] = {
  2840.                         ["custom"] = "function(event,...)\n    if event == \"COMBAT_LOG_EVENT_UNFILTERED\" then\n        if (select(2,...) == \"SPELL_CAST_FAILED\" and select(5,...) == UnitName(\"player\") and select(15,...) ~= getglobal(\"SPELL_FAILED_SPELL_IN_PROGRESS\")) or not UnitExists(\"target\") or event == \"PLAYER_STARTED_MOVING\" then\n            shotId = \"\"\n            return true\n        end \n        if select(2,...) == \"SPELL_CAST_SUCCESS\" and select(5,...) == UnitName(\"player\") then\n            shotId = \"\"\n            return true\n        end\n    end\nend",
  2841.                     },
  2842.                 }, -- [1]
  2843.                 ["disjunctive"] = "all",
  2844.                 ["activeTriggerMode"] = 1,
  2845.             },
  2846.             ["icon_color"] = {
  2847.                 1, -- [1]
  2848.                 1, -- [2]
  2849.                 1, -- [3]
  2850.                 1, -- [4]
  2851.             },
  2852.             ["internalVersion"] = 26,
  2853.             ["animation"] = {
  2854.                 ["start"] = {
  2855.                     ["duration_type"] = "seconds",
  2856.                     ["type"] = "none",
  2857.                 },
  2858.                 ["main"] = {
  2859.                     ["colorR"] = 1,
  2860.                     ["colorA"] = 1,
  2861.                     ["scaley"] = 1,
  2862.                     ["colorType"] = "custom",
  2863.                     ["use_color"] = true,
  2864.                     ["alpha"] = 0,
  2865.                     ["colorB"] = 1,
  2866.                     ["y"] = 0,
  2867.                     ["x"] = 0,
  2868.                     ["colorG"] = 1,
  2869.                     ["type"] = "none",
  2870.                     ["colorFunc"] = "function(progress, r1, g1, b1, a1, r2, g2, b2, a2)\n    if spell == 75 then\n        return r1 + (progress * (r2 - r1)), g1 + (progress * (g2 - g1)), b1 + (progress * (b2 - b1)), a1 + (progress * (a2 - a1))\n    end\nend",
  2871.                     ["rotate"] = 0,
  2872.                     ["scalex"] = 1,
  2873.                     ["duration_type"] = "seconds",
  2874.                 },
  2875.                 ["finish"] = {
  2876.                     ["duration_type"] = "seconds",
  2877.                     ["type"] = "none",
  2878.                 },
  2879.             },
  2880.             ["sparkHidden"] = "NEVER",
  2881.             ["barColor"] = {
  2882.                 0, -- [1]
  2883.                 0.52549019607843, -- [2]
  2884.                 1, -- [3]
  2885.                 1, -- [4]
  2886.             },
  2887.             ["desaturate"] = false,
  2888.             ["parent"] = "Hunter Castbar",
  2889.             ["actions"] = {
  2890.                 ["start"] = {
  2891.                 },
  2892.                 ["finish"] = {
  2893.                 },
  2894.                 ["init"] = {
  2895.                     ["custom"] = "\n\n",
  2896.                     ["do_custom"] = false,
  2897.                 },
  2898.             },
  2899.             ["version"] = 16,
  2900.             ["subRegions"] = {
  2901.                 {
  2902.                     ["type"] = "aurabar_bar",
  2903.                 }, -- [1]
  2904.                 {
  2905.                     ["text_shadowXOffset"] = 0,
  2906.                     ["type"] = "subtext",
  2907.                     ["text_text"] = "%n",
  2908.                     ["text_color"] = {
  2909.                         1, -- [1]
  2910.                         1, -- [2]
  2911.                         1, -- [3]
  2912.                         1, -- [4]
  2913.                     },
  2914.                     ["text_font"] = "DorisPP",
  2915.                     ["text_shadowColor"] = {
  2916.                         0, -- [1]
  2917.                         0, -- [2]
  2918.                         0, -- [3]
  2919.                         1, -- [4]
  2920.                     },
  2921.                     ["text_shadowYOffset"] = -1,
  2922.                     ["text_selfPoint"] = "AUTO",
  2923.                     ["text_fontType"] = "OUTLINE",
  2924.                     ["text_visible"] = true,
  2925.                     ["text_anchorPoint"] = "INNER_LEFT",
  2926.                     ["anchorYOffset"] = 0,
  2927.                     ["text_justify"] = "CENTER",
  2928.                     ["text_fontSize"] = 12,
  2929.                     ["anchorXOffset"] = 0,
  2930.                     ["rotateText"] = "NONE",
  2931.                 }, -- [2]
  2932.                 {
  2933.                     ["text_shadowXOffset"] = 1,
  2934.                     ["type"] = "subtext",
  2935.                     ["text_text"] = "%c1 / %t %c2 ",
  2936.                     ["text_color"] = {
  2937.                         1, -- [1]
  2938.                         1, -- [2]
  2939.                         1, -- [3]
  2940.                         1, -- [4]
  2941.                     },
  2942.                     ["text_font"] = "DorisPP",
  2943.                     ["text_shadowColor"] = {
  2944.                         0, -- [1]
  2945.                         0, -- [2]
  2946.                         0, -- [3]
  2947.                         1, -- [4]
  2948.                     },
  2949.                     ["text_shadowYOffset"] = -1,
  2950.                     ["text_selfPoint"] = "AUTO",
  2951.                     ["text_fontType"] = "None",
  2952.                     ["text_visible"] = true,
  2953.                     ["text_anchorPoint"] = "INNER_RIGHT",
  2954.                     ["anchorYOffset"] = 0,
  2955.                     ["text_justify"] = "CENTER",
  2956.                     ["text_fontSize"] = 12,
  2957.                     ["anchorXOffset"] = 0,
  2958.                     ["rotateText"] = "NONE",
  2959.                 }, -- [3]
  2960.                 {
  2961.                     ["type"] = "subborder",
  2962.                     ["border_anchor"] = "bar",
  2963.                     ["border_offset"] = 1,
  2964.                     ["border_color"] = {
  2965.                         0, -- [1]
  2966.                         0, -- [2]
  2967.                         0, -- [3]
  2968.                         1, -- [4]
  2969.                     },
  2970.                     ["border_visible"] = true,
  2971.                     ["border_edge"] = "1 Pixel",
  2972.                     ["border_size"] = 1,
  2973.                 }, -- [4]
  2974.             },
  2975.             ["height"] = 28,
  2976.             ["xOffset"] = 0,
  2977.             ["load"] = {
  2978.                 ["use_class"] = true,
  2979.                 ["spec"] = {
  2980.                     ["multi"] = {
  2981.                     },
  2982.                 },
  2983.                 ["class"] = {
  2984.                     ["single"] = "HUNTER",
  2985.                     ["multi"] = {
  2986.                     },
  2987.                 },
  2988.                 ["size"] = {
  2989.                     ["multi"] = {
  2990.                     },
  2991.                 },
  2992.             },
  2993.             ["sparkBlendMode"] = "ADD",
  2994.             ["authorMode"] = true,
  2995.             ["useAdjustededMax"] = false,
  2996.             ["sparkRotationMode"] = "AUTO",
  2997.             ["config"] = {
  2998.                 ["autoShot"] = false,
  2999.                 ["aimedShot"] = true,
  3000.                 ["multiShot"] = true,
  3001.                 ["volleyShot"] = true,
  3002.             },
  3003.             ["sparkColor"] = {
  3004.                 1, -- [1]
  3005.                 1, -- [2]
  3006.                 1, -- [3]
  3007.                 1, -- [4]
  3008.             },
  3009.             ["anchorFrameParent"] = false,
  3010.             ["smoothProgress"] = true,
  3011.             ["anchorFrameFrame"] = "AceGUI30Button3",
  3012.             ["regionType"] = "aurabar",
  3013.             ["anchorFrameType"] = "SCREEN",
  3014.             ["frameStrata"] = 1,
  3015.             ["icon_side"] = "LEFT",
  3016.             ["auto"] = true,
  3017.             ["sparkHeight"] = 30,
  3018.             ["texture"] = "Flat",
  3019.             ["spark"] = false,
  3020.             ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
  3021.             ["semver"] = "2.0.7-16",
  3022.             ["tocversion"] = 11302,
  3023.             ["id"] = "Ability Cast",
  3024.             ["zoom"] = 0,
  3025.             ["alpha"] = 1,
  3026.             ["width"] = 245,
  3027.             ["useAdjustededMin"] = false,
  3028.             ["uid"] = "etk0U6Fp17o",
  3029.             ["inverse"] = true,
  3030.             ["icon"] = false,
  3031.             ["orientation"] = "HORIZONTAL",
  3032.             ["conditions"] = {
  3033.             },
  3034.             ["sparkOffsetY"] = 0,
  3035.             ["selfPoint"] = "CENTER",
  3036.         },
  3037.         ["Ranged"] = {
  3038.             ["sparkWidth"] = 10,
  3039.             ["borderBackdrop"] = "Blizzard Tooltip",
  3040.             ["authorOptions"] = {
  3041.             },
  3042.             ["yOffset"] = 0,
  3043.             ["anchorPoint"] = "CENTER",
  3044.             ["sparkRotation"] = 0,
  3045.             ["customTextUpdate"] = "update",
  3046.             ["url"] = "https://wago.io/fpdm12tUX/1",
  3047.             ["icon"] = true,
  3048.             ["triggers"] = {
  3049.                 {
  3050.                     ["trigger"] = {
  3051.                         ["type"] = "status",
  3052.                         ["unevent"] = "auto",
  3053.                         ["unit"] = "player",
  3054.                         ["duration"] = "1",
  3055.                         ["event"] = "Swing Timer",
  3056.                         ["use_unit"] = true,
  3057.                         ["subeventPrefix"] = "SPELL",
  3058.                         ["subeventSuffix"] = "_CAST_START",
  3059.                         ["spellIds"] = {
  3060.                         },
  3061.                         ["use_hand"] = true,
  3062.                         ["names"] = {
  3063.                         },
  3064.                         ["use_inverse"] = false,
  3065.                         ["hand"] = "ranged",
  3066.                         ["debuffType"] = "HELPFUL",
  3067.                     },
  3068.                     ["untrigger"] = {
  3069.                         ["hand"] = "ranged",
  3070.                     },
  3071.                 }, -- [1]
  3072.                 ["activeTriggerMode"] = -10,
  3073.             },
  3074.             ["icon_color"] = {
  3075.                 1, -- [1]
  3076.                 1, -- [2]
  3077.                 1, -- [3]
  3078.                 1, -- [4]
  3079.             },
  3080.             ["internalVersion"] = 26,
  3081.             ["selfPoint"] = "CENTER",
  3082.             ["backdropInFront"] = false,
  3083.             ["spark"] = false,
  3084.             ["barColor"] = {
  3085.                 0.66666666666667, -- [1]
  3086.                 0.66666666666667, -- [2]
  3087.                 0.66666666666667, -- [3]
  3088.                 1, -- [4]
  3089.             },
  3090.             ["stickyDuration"] = false,
  3091.             ["backgroundColor"] = {
  3092.                 0, -- [1]
  3093.                 0, -- [2]
  3094.                 0, -- [3]
  3095.                 0.5, -- [4]
  3096.             },
  3097.             ["sparkOffsetY"] = 0,
  3098.             ["subRegions"] = {
  3099.                 {
  3100.                     ["type"] = "aurabar_bar",
  3101.                 }, -- [1]
  3102.                 {
  3103.                     ["text_shadowXOffset"] = 1,
  3104.                     ["type"] = "subtext",
  3105.                     ["text_text"] = "%p",
  3106.                     ["text_color"] = {
  3107.                         1, -- [1]
  3108.                         1, -- [2]
  3109.                         1, -- [3]
  3110.                         1, -- [4]
  3111.                     },
  3112.                     ["text_font"] = "Friz Quadrata TT",
  3113.                     ["text_shadowColor"] = {
  3114.                         0, -- [1]
  3115.                         0, -- [2]
  3116.                         0, -- [3]
  3117.                         1, -- [4]
  3118.                     },
  3119.                     ["text_shadowYOffset"] = -1,
  3120.                     ["text_selfPoint"] = "AUTO",
  3121.                     ["text_fontType"] = "None",
  3122.                     ["text_visible"] = true,
  3123.                     ["text_anchorPoint"] = "INNER_RIGHT",
  3124.                     ["anchorYOffset"] = 0,
  3125.                     ["text_justify"] = "CENTER",
  3126.                     ["rotateText"] = "NONE",
  3127.                     ["anchorXOffset"] = 0,
  3128.                     ["text_fontSize"] = 8,
  3129.                 }, -- [2]
  3130.                 {
  3131.                     ["text_shadowXOffset"] = 1,
  3132.                     ["type"] = "subtext",
  3133.                     ["text_text"] = "Ranged",
  3134.                     ["text_color"] = {
  3135.                         1, -- [1]
  3136.                         1, -- [2]
  3137.                         1, -- [3]
  3138.                         1, -- [4]
  3139.                     },
  3140.                     ["text_font"] = "Friz Quadrata TT",
  3141.                     ["text_shadowColor"] = {
  3142.                         0, -- [1]
  3143.                         0, -- [2]
  3144.                         0, -- [3]
  3145.                         1, -- [4]
  3146.                     },
  3147.                     ["text_shadowYOffset"] = -1,
  3148.                     ["text_selfPoint"] = "AUTO",
  3149.                     ["text_fontType"] = "None",
  3150.                     ["text_visible"] = true,
  3151.                     ["text_anchorPoint"] = "INNER_LEFT",
  3152.                     ["anchorYOffset"] = 0,
  3153.                     ["text_justify"] = "CENTER",
  3154.                     ["rotateText"] = "NONE",
  3155.                     ["anchorXOffset"] = 0,
  3156.                     ["text_fontSize"] = 8,
  3157.                 }, -- [3]
  3158.                 {
  3159.                     ["text_shadowXOffset"] = 1,
  3160.                     ["type"] = "subtext",
  3161.                     ["text_text"] = "%s",
  3162.                     ["text_color"] = {
  3163.                         1, -- [1]
  3164.                         1, -- [2]
  3165.                         1, -- [3]
  3166.                         1, -- [4]
  3167.                     },
  3168.                     ["text_font"] = "Friz Quadrata TT",
  3169.                     ["text_shadowColor"] = {
  3170.                         0, -- [1]
  3171.                         0, -- [2]
  3172.                         0, -- [3]
  3173.                         1, -- [4]
  3174.                     },
  3175.                     ["text_shadowYOffset"] = -1,
  3176.                     ["text_selfPoint"] = "AUTO",
  3177.                     ["text_fontType"] = "None",
  3178.                     ["text_visible"] = true,
  3179.                     ["text_anchorPoint"] = "ICON_CENTER",
  3180.                     ["anchorYOffset"] = 0,
  3181.                     ["text_justify"] = "CENTER",
  3182.                     ["rotateText"] = "NONE",
  3183.                     ["anchorXOffset"] = 0,
  3184.                     ["text_fontSize"] = 12,
  3185.                 }, -- [4]
  3186.                 {
  3187.                     ["type"] = "subborder",
  3188.                     ["border_anchor"] = "bar",
  3189.                     ["border_offset"] = 5,
  3190.                     ["border_color"] = {
  3191.                         1, -- [1]
  3192.                         1, -- [2]
  3193.                         1, -- [3]
  3194.                         0.5, -- [4]
  3195.                     },
  3196.                     ["border_visible"] = false,
  3197.                     ["border_edge"] = "None",
  3198.                     ["border_size"] = 16,
  3199.                 }, -- [5]
  3200.             },
  3201.             ["height"] = 10,
  3202.             ["backdropColor"] = {
  3203.                 1, -- [1]
  3204.                 1, -- [2]
  3205.                 1, -- [3]
  3206.                 0.5, -- [4]
  3207.             },
  3208.             ["load"] = {
  3209.                 ["use_class"] = false,
  3210.                 ["use_never"] = false,
  3211.                 ["spec"] = {
  3212.                     ["multi"] = {
  3213.                     },
  3214.                 },
  3215.                 ["class"] = {
  3216.                     ["multi"] = {
  3217.                         ["ROGUE"] = true,
  3218.                         ["WARRIOR"] = true,
  3219.                         ["WARLOCK"] = true,
  3220.                         ["PALADIN"] = true,
  3221.                         ["MAGE"] = true,
  3222.                         ["DRUID"] = true,
  3223.                         ["SHAMAN"] = true,
  3224.                         ["PRIEST"] = true,
  3225.                     },
  3226.                 },
  3227.                 ["size"] = {
  3228.                     ["multi"] = {
  3229.                     },
  3230.                 },
  3231.             },
  3232.             ["sparkBlendMode"] = "ADD",
  3233.             ["useAdjustededMax"] = false,
  3234.             ["sparkOffsetX"] = 0,
  3235.             ["xOffset"] = 0,
  3236.             ["version"] = 1,
  3237.             ["animation"] = {
  3238.                 ["start"] = {
  3239.                     ["type"] = "none",
  3240.                     ["duration_type"] = "seconds",
  3241.                 },
  3242.                 ["main"] = {
  3243.                     ["type"] = "none",
  3244.                     ["duration_type"] = "seconds",
  3245.                 },
  3246.                 ["finish"] = {
  3247.                     ["type"] = "none",
  3248.                     ["duration_type"] = "seconds",
  3249.                 },
  3250.             },
  3251.             ["uid"] = "(R3kCEqElPt",
  3252.             ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
  3253.             ["useAdjustededMin"] = false,
  3254.             ["regionType"] = "aurabar",
  3255.             ["borderInFront"] = true,
  3256.             ["width"] = 165,
  3257.             ["icon_side"] = "RIGHT",
  3258.             ["frameStrata"] = 1,
  3259.             ["sparkHeight"] = 30,
  3260.             ["texture"] = "Blizzard",
  3261.             ["id"] = "Ranged",
  3262.             ["zoom"] = 0,
  3263.             ["auto"] = true,
  3264.             ["tocversion"] = 11302,
  3265.             ["sparkHidden"] = "NEVER",
  3266.             ["sparkColor"] = {
  3267.                 1, -- [1]
  3268.                 1, -- [2]
  3269.                 1, -- [3]
  3270.                 1, -- [4]
  3271.             },
  3272.             ["alpha"] = 1,
  3273.             ["anchorFrameType"] = "SCREEN",
  3274.             ["desaturate"] = false,
  3275.             ["config"] = {
  3276.             },
  3277.             ["inverse"] = true,
  3278.             ["parent"] = "Swing Timers",
  3279.             ["orientation"] = "HORIZONTAL",
  3280.             ["conditions"] = {
  3281.             },
  3282.             ["sparkRotationMode"] = "AUTO",
  3283.             ["actions"] = {
  3284.                 ["start"] = {
  3285.                 },
  3286.                 ["init"] = {
  3287.                     ["do_custom"] = false,
  3288.                 },
  3289.                 ["finish"] = {
  3290.                 },
  3291.             },
  3292.         },
  3293.         ["QuestXP"] = {
  3294.             ["outline"] = "OUTLINE",
  3295.             ["fontSize"] = 11,
  3296.             ["xOffset"] = -740.326316833496,
  3297.             ["displayText"] = "Total quest XP: %c1\nQuest watch list XP: %c3\nCompleted quest XP: %c2",
  3298.             ["customText"] = "function()\n    return aura_env.totalQXP, aura_env.completedQXP, aura_env.watchListQXP\nend",
  3299.             ["yOffset"] = -415.385776519775,
  3300.             ["regionType"] = "text",
  3301.             ["selfPoint"] = "BOTTOM",
  3302.             ["color"] = {
  3303.                 1, -- [1]
  3304.                 1, -- [2]
  3305.                 1, -- [3]
  3306.                 1, -- [4]
  3307.             },
  3308.             ["anchorPoint"] = "CENTER",
  3309.             ["customTextUpdate"] = "update",
  3310.             ["automaticWidth"] = "Fixed",
  3311.             ["actions"] = {
  3312.                 ["start"] = {
  3313.                 },
  3314.                 ["finish"] = {
  3315.                 },
  3316.                 ["init"] = {
  3317.                 },
  3318.             },
  3319.             ["triggers"] = {
  3320.                 {
  3321.                     ["trigger"] = {
  3322.                         ["type"] = "custom",
  3323.                         ["subeventSuffix"] = "_CAST_START",
  3324.                         ["debuffType"] = "HELPFUL",
  3325.                         ["event"] = "Health",
  3326.                         ["names"] = {
  3327.                         },
  3328.                         ["unit"] = "player",
  3329.                         ["spellIds"] = {
  3330.                         },
  3331.                         ["events"] = "QUEST_LOG_UPDATE, QUEST_WATCH_LIST_CHANGED",
  3332.                         ["custom_type"] = "status",
  3333.                         ["check"] = "event",
  3334.                         ["custom"] = "function()\n    local n = GetNumQuestLogEntries()\n    if QXPdb then\n        aura_env.completedQXP = 0\n        aura_env.totalQXP = 0\n        aura_env.watchListQXP = 0\n        for i = 1,n do\n            local id = select(8,GetQuestLogTitle(i))\n            if QXPdb[id] then\n                local complete = select(6,GetQuestLogTitle(i))\n                local xp = QXPdb[id].XP\n                aura_env.totalQXP = aura_env.totalQXP + xp\n                if complete == 1 then\n                    aura_env.completedQXP = aura_env.completedQXP + xp\n                end\n                if IsQuestWatched(i) then\n                    aura_env.watchListQXP = aura_env.watchListQXP + xp\n                end\n                \n            end\n        end\n        return true\n    end\n    return false\nend\n\n\n",
  3335.                         ["subeventPrefix"] = "SPELL",
  3336.                         ["custom_hide"] = "custom",
  3337.                     },
  3338.                     ["untrigger"] = {
  3339.                         ["custom"] = "\n\n",
  3340.                     },
  3341.                 }, -- [1]
  3342.                 ["disjunctive"] = "any",
  3343.                 ["activeTriggerMode"] = -10,
  3344.             },
  3345.             ["conditions"] = {
  3346.             },
  3347.             ["internalVersion"] = 26,
  3348.             ["justify"] = "LEFT",
  3349.             ["wordWrap"] = "WordWrap",
  3350.             ["id"] = "QuestXP",
  3351.             ["animation"] = {
  3352.                 ["start"] = {
  3353.                     ["duration_type"] = "seconds",
  3354.                     ["type"] = "none",
  3355.                 },
  3356.                 ["main"] = {
  3357.                     ["duration_type"] = "seconds",
  3358.                     ["type"] = "none",
  3359.                 },
  3360.                 ["finish"] = {
  3361.                     ["duration_type"] = "seconds",
  3362.                     ["type"] = "none",
  3363.                 },
  3364.             },
  3365.             ["frameStrata"] = 1,
  3366.             ["anchorFrameType"] = "SCREEN",
  3367.             ["font"] = "Friz Quadrata TT",
  3368.             ["config"] = {
  3369.             },
  3370.             ["uid"] = "NM9xGzNeJNm",
  3371.             ["subRegions"] = {
  3372.             },
  3373.             ["fixedWidth"] = 200,
  3374.             ["load"] = {
  3375.                 ["use_level"] = true,
  3376.                 ["level_operator"] = "<",
  3377.                 ["class"] = {
  3378.                     ["multi"] = {
  3379.                     },
  3380.                 },
  3381.                 ["level"] = "60",
  3382.                 ["spec"] = {
  3383.                     ["multi"] = {
  3384.                     },
  3385.                 },
  3386.                 ["size"] = {
  3387.                     ["multi"] = {
  3388.                     },
  3389.                 },
  3390.             },
  3391.             ["authorOptions"] = {
  3392.             },
  3393.         },
  3394.         ["skipBattlemasterGossip"] = {
  3395.             ["outline"] = "OUTLINE",
  3396.             ["xOffset"] = 0,
  3397.             ["displayText"] = "",
  3398.             ["yOffset"] = 0,
  3399.             ["anchorPoint"] = "CENTER",
  3400.             ["customTextUpdate"] = "update",
  3401.             ["url"] = "https://wago.io/xcYaiEY-f/3",
  3402.             ["actions"] = {
  3403.                 ["start"] = {
  3404.                 },
  3405.                 ["init"] = {
  3406.                 },
  3407.                 ["finish"] = {
  3408.                 },
  3409.             },
  3410.             ["triggers"] = {
  3411.                 {
  3412.                     ["trigger"] = {
  3413.                         ["type"] = "custom",
  3414.                         ["subeventSuffix"] = "_CAST_START",
  3415.                         ["event"] = "Health",
  3416.                         ["unit"] = "player",
  3417.                         ["subeventPrefix"] = "SPELL",
  3418.                         ["custom"] = "function()\n    local title, gossip = GetGossipOptions()\n    if gossip == \"battlemaster\" then\n        if title:find(\"I would like to go to the battleground.\") then\n            SelectGossipOption(1)\n        end\n    end\nend\n\n\n",
  3419.                         ["spellIds"] = {
  3420.                         },
  3421.                         ["events"] = "GOSSIP_SHOW",
  3422.                         ["check"] = "event",
  3423.                         ["names"] = {
  3424.                         },
  3425.                         ["custom_type"] = "status",
  3426.                         ["debuffType"] = "HELPFUL",
  3427.                     },
  3428.                     ["untrigger"] = {
  3429.                     },
  3430.                 }, -- [1]
  3431.                 {
  3432.                     ["trigger"] = {
  3433.                         ["use_resting"] = true,
  3434.                         ["unevent"] = "auto",
  3435.                         ["duration"] = "1",
  3436.                         ["event"] = "Conditions",
  3437.                         ["unit"] = "player",
  3438.                         ["use_unit"] = true,
  3439.                         ["type"] = "status",
  3440.                         ["use_alive"] = true,
  3441.                         ["subeventSuffix"] = "_CAST_START",
  3442.                         ["subeventPrefix"] = "SPELL",
  3443.                     },
  3444.                     ["untrigger"] = {
  3445.                     },
  3446.                 }, -- [2]
  3447.                 ["activeTriggerMode"] = -10,
  3448.             },
  3449.             ["internalVersion"] = 26,
  3450.             ["selfPoint"] = "CENTER",
  3451.             ["desaturate"] = false,
  3452.             ["rotation"] = 0,
  3453.             ["font"] = "Friz Quadrata TT",
  3454.             ["version"] = 3,
  3455.             ["subRegions"] = {
  3456.             },
  3457.             ["height"] = 200,
  3458.             ["rotate"] = true,
  3459.             ["load"] = {
  3460.                 ["class"] = {
  3461.                     ["multi"] = {
  3462.                     },
  3463.                 },
  3464.                 ["spec"] = {
  3465.                     ["multi"] = {
  3466.                     },
  3467.                 },
  3468.                 ["use_never"] = false,
  3469.                 ["size"] = {
  3470.                     ["multi"] = {
  3471.                     },
  3472.                 },
  3473.             },
  3474.             ["fontSize"] = 12,
  3475.             ["mirror"] = false,
  3476.             ["fixedWidth"] = 200,
  3477.             ["regionType"] = "text",
  3478.             ["wordWrap"] = "WordWrap",
  3479.             ["blendMode"] = "BLEND",
  3480.             ["desc"] = "Made by Xelectra-Arugal",
  3481.             ["discrete_rotation"] = 0,
  3482.             ["texture"] = "Interface\\Addons\\WeakAuras\\PowerAurasMedia\\Auras\\Aura3",
  3483.             ["color"] = {
  3484.                 1, -- [1]
  3485.                 1, -- [2]
  3486.                 1, -- [3]
  3487.                 0.75, -- [4]
  3488.             },
  3489.             ["semver"] = "1.1.1-3",
  3490.             ["justify"] = "LEFT",
  3491.             ["tocversion"] = 11303,
  3492.             ["id"] = "skipBattlemasterGossip",
  3493.             ["config"] = {
  3494.             },
  3495.             ["frameStrata"] = 1,
  3496.             ["anchorFrameType"] = "SCREEN",
  3497.             ["alpha"] = 1,
  3498.             ["uid"] = "5Xy6hBGwabh",
  3499.             ["width"] = 200,
  3500.             ["automaticWidth"] = "Auto",
  3501.             ["conditions"] = {
  3502.             },
  3503.             ["animation"] = {
  3504.                 ["start"] = {
  3505.                     ["type"] = "none",
  3506.                     ["duration_type"] = "seconds",
  3507.                 },
  3508.                 ["main"] = {
  3509.                     ["type"] = "none",
  3510.                     ["duration_type"] = "seconds",
  3511.                 },
  3512.                 ["finish"] = {
  3513.                     ["type"] = "none",
  3514.                     ["duration_type"] = "seconds",
  3515.                 },
  3516.             },
  3517.             ["authorOptions"] = {
  3518.             },
  3519.         },
  3520.         ["Unused  Talent!"] = {
  3521.             ["outline"] = "THICKOUTLINE",
  3522.             ["fontSize"] = 33,
  3523.             ["regionType"] = "text",
  3524.             ["authorOptions"] = {
  3525.             },
  3526.             ["preferToUpdate"] = false,
  3527.             ["xOffset"] = 46.7964477539063,
  3528.             ["yOffset"] = 368.869689941406,
  3529.             ["anchorPoint"] = "CENTER",
  3530.             ["displayText"] = "Unused Talent Point!",
  3531.             ["config"] = {
  3532.             },
  3533.             ["color"] = {
  3534.                 1, -- [1]
  3535.                 0.011764705882353, -- [2]
  3536.                 0.14509803921569, -- [3]
  3537.                 1, -- [4]
  3538.             },
  3539.             ["customTextUpdate"] = "update",
  3540.             ["url"] = "https://wago.io/WObtGWkD3/1",
  3541.             ["actions"] = {
  3542.                 ["start"] = {
  3543.                 },
  3544.                 ["init"] = {
  3545.                 },
  3546.                 ["finish"] = {
  3547.                 },
  3548.             },
  3549.             ["triggers"] = {
  3550.                 {
  3551.                     ["trigger"] = {
  3552.                         ["type"] = "custom",
  3553.                         ["subeventSuffix"] = "_CAST_START",
  3554.                         ["custom_hide"] = "timed",
  3555.                         ["event"] = "Health",
  3556.                         ["subeventPrefix"] = "SPELL",
  3557.                         ["unit"] = "player",
  3558.                         ["spellIds"] = {
  3559.                         },
  3560.                         ["events"] = "PLAYER_ENTERING_WORLD CHARACTER_POINTS_CHANGED SPELLS_CHANGED",
  3561.                         ["names"] = {
  3562.                         },
  3563.                         ["check"] = "event",
  3564.                         ["custom"] = "function()\n    local count = 0\n    for n=1,3 do\n        local _, _, t = GetTalentTabInfo(n)        \n        count = count + (t or 0)\n    end\n    if count + 9 < UnitLevel(\"player\") then return true end\nend",
  3565.                         ["custom_type"] = "status",
  3566.                         ["debuffType"] = "HELPFUL",
  3567.                     },
  3568.                     ["untrigger"] = {
  3569.                     },
  3570.                 }, -- [1]
  3571.                 ["activeTriggerMode"] = -10,
  3572.             },
  3573.             ["automaticWidth"] = "Auto",
  3574.             ["internalVersion"] = 26,
  3575.             ["justify"] = "LEFT",
  3576.             ["animation"] = {
  3577.                 ["start"] = {
  3578.                     ["type"] = "none",
  3579.                     ["duration_type"] = "seconds",
  3580.                 },
  3581.                 ["main"] = {
  3582.                     ["type"] = "none",
  3583.                     ["preset"] = "shake",
  3584.                     ["duration_type"] = "seconds",
  3585.                 },
  3586.                 ["finish"] = {
  3587.                     ["type"] = "none",
  3588.                     ["duration_type"] = "seconds",
  3589.                 },
  3590.             },
  3591.             ["id"] = "Unused  Talent!",
  3592.             ["conditions"] = {
  3593.             },
  3594.             ["frameStrata"] = 1,
  3595.             ["anchorFrameType"] = "SCREEN",
  3596.             ["semver"] = "1.0.0",
  3597.             ["uid"] = "sD0J(xtrKrj",
  3598.             ["version"] = 1,
  3599.             ["wordWrap"] = "WordWrap",
  3600.             ["selfPoint"] = "BOTTOM",
  3601.             ["fixedWidth"] = 200,
  3602.             ["load"] = {
  3603.                 ["class"] = {
  3604.                     ["multi"] = {
  3605.                     },
  3606.                 },
  3607.                 ["spec"] = {
  3608.                     ["multi"] = {
  3609.                     },
  3610.                 },
  3611.                 ["size"] = {
  3612.                     ["multi"] = {
  3613.                     },
  3614.                 },
  3615.             },
  3616.             ["font"] = "Friz Quadrata TT",
  3617.         },
  3618.         ["g1"] = {
  3619.             ["backdropColor"] = {
  3620.                 1, -- [1]
  3621.                 1, -- [2]
  3622.                 1, -- [3]
  3623.                 0.5, -- [4]
  3624.             },
  3625.             ["controlledChildren"] = {
  3626.                 "UNIT_SPELLCAST_FAILED_QUIET timer", -- [1]
  3627.                 "screech", -- [2]
  3628.                 "Not Attacking", -- [3]
  3629.             },
  3630.             ["borderBackdrop"] = "Blizzard Tooltip",
  3631.             ["authorOptions"] = {
  3632.             },
  3633.             ["border"] = false,
  3634.             ["borderEdge"] = "1 Pixel",
  3635.             ["regionType"] = "group",
  3636.             ["borderSize"] = 2,
  3637.             ["xOffset"] = -14.9564208984375,
  3638.             ["borderColor"] = {
  3639.                 0, -- [1]
  3640.                 0, -- [2]
  3641.                 0, -- [3]
  3642.                 1, -- [4]
  3643.             },
  3644.             ["yOffset"] = 12.5083312988281,
  3645.             ["actions"] = {
  3646.                 ["start"] = {
  3647.                 },
  3648.                 ["init"] = {
  3649.                 },
  3650.                 ["finish"] = {
  3651.                 },
  3652.             },
  3653.             ["triggers"] = {
  3654.                 {
  3655.                     ["trigger"] = {
  3656.                         ["names"] = {
  3657.                         },
  3658.                         ["type"] = "aura2",
  3659.                         ["spellIds"] = {
  3660.                         },
  3661.                         ["subeventSuffix"] = "_CAST_START",
  3662.                         ["unit"] = "player",
  3663.                         ["subeventPrefix"] = "SPELL",
  3664.                         ["event"] = "Health",
  3665.                         ["debuffType"] = "HELPFUL",
  3666.                     },
  3667.                     ["untrigger"] = {
  3668.                     },
  3669.                 }, -- [1]
  3670.             },
  3671.             ["anchorPoint"] = "CENTER",
  3672.             ["internalVersion"] = 26,
  3673.             ["borderOffset"] = 4,
  3674.             ["animation"] = {
  3675.                 ["start"] = {
  3676.                     ["type"] = "none",
  3677.                     ["duration_type"] = "seconds",
  3678.                 },
  3679.                 ["main"] = {
  3680.                     ["type"] = "none",
  3681.                     ["duration_type"] = "seconds",
  3682.                 },
  3683.                 ["finish"] = {
  3684.                     ["type"] = "none",
  3685.                     ["duration_type"] = "seconds",
  3686.                 },
  3687.             },
  3688.             ["id"] = "g1",
  3689.             ["selfPoint"] = "BOTTOMLEFT",
  3690.             ["frameStrata"] = 1,
  3691.             ["anchorFrameType"] = "SCREEN",
  3692.             ["borderInset"] = 1,
  3693.             ["config"] = {
  3694.             },
  3695.             ["uid"] = "2BEYH7(o6ty",
  3696.             ["subRegions"] = {
  3697.             },
  3698.             ["conditions"] = {
  3699.             },
  3700.             ["load"] = {
  3701.                 ["spec"] = {
  3702.                     ["multi"] = {
  3703.                     },
  3704.                 },
  3705.                 ["class"] = {
  3706.                     ["multi"] = {
  3707.                     },
  3708.                 },
  3709.                 ["size"] = {
  3710.                     ["multi"] = {
  3711.                     },
  3712.                 },
  3713.             },
  3714.             ["scale"] = 1,
  3715.         },
  3716.         ["BG Announcer"] = {
  3717.             ["outline"] = "OUTLINE",
  3718.             ["xOffset"] = -834.444042205811,
  3719.             ["displayText"] = "%c",
  3720.             ["customText"] = "function()\n    if (WeakAuras.IsOptionsOpen() and (aura_env.text == nil or aura_env.text == \"\")) then\n        return \"BG Announcer\"; \n    end\n    if (aura_env.text) then\n        return aura_env.text; \n    end\n    return \"\"; \nend",
  3721.             ["yOffset"] = -91.4436950683594,
  3722.             ["anchorPoint"] = "CENTER",
  3723.             ["customTextUpdate"] = "update",
  3724.             ["url"] = "https://wago.io/YAF9a5NlU/4",
  3725.             ["actions"] = {
  3726.                 ["start"] = {
  3727.                 },
  3728.                 ["init"] = {
  3729.                     ["custom"] = "aura_env.bgs = {};\naura_env.text = \"\";\n\naura_env.prefix = \"AuroBG\";\nC_ChatInfo.RegisterAddonMessagePrefix(aura_env.prefix)\n\naura_env.addPlayerToBGs = function(name, bg)\n    aura_env.bgs[name] = bg; \nend\n\naura_env.removePlayerFromBGs = function(name)\n    aura_env.bgs[name] = nil;\nend\n\naura_env.createText = function(bgs)\n    local bgTotal = {};\n    local bgNames = {};\n    local str = \"\";\n    for name, bg in pairs(bgs) do\n        local trimmedName = gsub(name, \"%-[^|]+\", \"\")\n        if (bgTotal[bg] == nil) then\n            bgTotal[bg] = 0; \n            bgNames[bg] = {};\n            \n        end\n        bgTotal[bg] = bgTotal[bg] + 1;\n        bgNames[bg][trimmedName] = true\n    end \n    \n    for bg, count in pairs(bgTotal) do\n        if (aura_env.config.names) then\n            local names = \"\"\n            for name, _ in pairs(bgNames[bg]) do\n                names = names .. name .. \", \";\n            end\n            \n            if (names ~= \"\") then\n                names = names:sub(1, -3);\n            end\n            \n            str = string.format(\"%s%s (%s) [%d]\\n\", str, bg, names, count);\n        else\n            str = string.format(\"%s%s (%d)\\n\", str, bg, count);\n        end\n        \n    end\n    \n    return str;\nend\n\naura_env.emitMessage = function(msg)\n    if (UnitInParty(\"player\")) then\n        C_ChatInfo.SendAddonMessage(aura_env.prefix, msg, \"PARTY\")\n    end\n    if (IsInRaid()) then\n        C_ChatInfo.SendAddonMessage(aura_env.prefix, msg, \"RAID\") \n    end\n    if (IsInGuild()) then\n        C_ChatInfo.SendAddonMessage(aura_env.prefix, msg, \"GUILD\") \n    end\nend\n\naura_env.emitPlayerWithBG = function(bg)\n    aura_env.emitMessage(bg);\nend\n\naura_env.emitPlayerWithoutBG = function()\n    aura_env.emitMessage(\"NoBG\");\nend\n\naura_env.channelEnabled = function(channel)\n    return ((channel == \"PARTY\" and aura_env.config.party) or (channel == \"RAID\" and aura_env.config.raid) or (channel == \"GUILD\" and aura_env.config.guild))\nend",
  3730.                     ["do_custom"] = true,
  3731.                 },
  3732.                 ["finish"] = {
  3733.                 },
  3734.             },
  3735.             ["triggers"] = {
  3736.                 {
  3737.                     ["trigger"] = {
  3738.                         ["type"] = "custom",
  3739.                         ["subeventSuffix"] = "_CAST_START",
  3740.                         ["custom_hide"] = "custom",
  3741.                         ["event"] = "Health",
  3742.                         ["subeventPrefix"] = "SPELL",
  3743.                         ["unit"] = "player",
  3744.                         ["events"] = "UPDATE_BATTLEFIELD_STATUS, CHAT_MSG_ADDON, PLAYER_ENTERING_WORLD",
  3745.                         ["custom"] = "function(e, ...)\n    if (e == \"UPDATE_BATTLEFIELD_STATUS\" or e == \"PLAYER_ENTERING_WORLD\") then\n        if (StaticPopup1 and StaticPopup1:IsVisible() and StaticPopup1.text) then\n            -- Player Has Queue\n            -- Emit BG Info To Guild\n            aura_env.emitPlayerWithBG(StaticPopup1.text.text_arg1);\n        else\n            -- Player Doesn't Have Queue\n            -- Emit No Queue To Guild\n            aura_env.emitPlayerWithoutBG();\n        end\n    end\n    \n    if (e == \"CHAT_MSG_ADDON\") then\n        local prefix = select(1, ...);\n        local text = select(2, ...);\n        local channel = select(3, ...);\n        local sender = select(4, ...);\n        if (prefix == aura_env.prefix and aura_env.channelEnabled(channel)) then\n            -- Update BGs Table\n            if (text == \"NoBG\") then\n                aura_env.removePlayerFromBGs(sender);\n            else\n                aura_env.addPlayerToBGs(sender, text);\n            end\n        end\n    end\n    \n    aura_env.text = aura_env.createText(aura_env.bgs);\n    \n    return aura_env.text ~= \"\";\nend",
  3746.                         ["names"] = {
  3747.                         },
  3748.                         ["check"] = "event",
  3749.                         ["spellIds"] = {
  3750.                         },
  3751.                         ["custom_type"] = "status",
  3752.                         ["debuffType"] = "HELPFUL",
  3753.                     },
  3754.                     ["untrigger"] = {
  3755.                         ["custom"] = "function()\n   return aura_env.text == \"\"; \nend",
  3756.                     },
  3757.                 }, -- [1]
  3758.                 ["activeTriggerMode"] = -10,
  3759.             },
  3760.             ["internalVersion"] = 26,
  3761.             ["animation"] = {
  3762.                 ["start"] = {
  3763.                     ["type"] = "none",
  3764.                     ["duration_type"] = "seconds",
  3765.                 },
  3766.                 ["main"] = {
  3767.                     ["type"] = "none",
  3768.                     ["duration_type"] = "seconds",
  3769.                 },
  3770.                 ["finish"] = {
  3771.                     ["type"] = "none",
  3772.                     ["duration_type"] = "seconds",
  3773.                 },
  3774.             },
  3775.             ["font"] = "Friz Quadrata TT",
  3776.             ["version"] = 4,
  3777.             ["subRegions"] = {
  3778.             },
  3779.             ["load"] = {
  3780.                 ["class"] = {
  3781.                     ["multi"] = {
  3782.                     },
  3783.                 },
  3784.                 ["spec"] = {
  3785.                     ["multi"] = {
  3786.                     },
  3787.                 },
  3788.                 ["use_never"] = true,
  3789.                 ["size"] = {
  3790.                     ["multi"] = {
  3791.                     },
  3792.                 },
  3793.             },
  3794.             ["fontSize"] = 12,
  3795.             ["regionType"] = "text",
  3796.             ["uid"] = "L1r5LB3W3og",
  3797.             ["selfPoint"] = "TOPLEFT",
  3798.             ["semver"] = "1.0.3",
  3799.             ["tocversion"] = 11303,
  3800.             ["id"] = "BG Announcer",
  3801.             ["authorOptions"] = {
  3802.                 {
  3803.                     ["type"] = "toggle",
  3804.                     ["key"] = "party",
  3805.                     ["default"] = true,
  3806.                     ["useDesc"] = false,
  3807.                     ["name"] = "Party",
  3808.                     ["width"] = 1,
  3809.                 }, -- [1]
  3810.                 {
  3811.                     ["type"] = "toggle",
  3812.                     ["key"] = "raid",
  3813.                     ["default"] = true,
  3814.                     ["useDesc"] = false,
  3815.                     ["name"] = "Raid",
  3816.                     ["width"] = 1,
  3817.                 }, -- [2]
  3818.                 {
  3819.                     ["type"] = "toggle",
  3820.                     ["key"] = "guild",
  3821.                     ["default"] = true,
  3822.                     ["useDesc"] = false,
  3823.                     ["name"] = "Guild",
  3824.                     ["width"] = 1,
  3825.                 }, -- [3]
  3826.                 {
  3827.                     ["type"] = "toggle",
  3828.                     ["key"] = "names",
  3829.                     ["default"] = false,
  3830.                     ["useDesc"] = false,
  3831.                     ["name"] = "Show Names",
  3832.                     ["width"] = 1,
  3833.                 }, -- [4]
  3834.             },
  3835.             ["frameStrata"] = 1,
  3836.             ["anchorFrameType"] = "SCREEN",
  3837.             ["fixedWidth"] = 200,
  3838.             ["config"] = {
  3839.                 ["party"] = true,
  3840.                 ["raid"] = true,
  3841.                 ["guild"] = true,
  3842.                 ["names"] = false,
  3843.             },
  3844.             ["wordWrap"] = "WordWrap",
  3845.             ["color"] = {
  3846.                 1, -- [1]
  3847.                 1, -- [2]
  3848.                 1, -- [3]
  3849.                 1, -- [4]
  3850.             },
  3851.             ["conditions"] = {
  3852.             },
  3853.             ["justify"] = "LEFT",
  3854.             ["automaticWidth"] = "Auto",
  3855.         },
  3856.         ["UNIT_SPELLCAST_FAILED_QUIET timer"] = {
  3857.             ["sparkWidth"] = 10,
  3858.             ["sparkOffsetX"] = 0,
  3859.             ["xOffset"] = 14,
  3860.             ["yOffset"] = -188,
  3861.             ["anchorPoint"] = "CENTER",
  3862.             ["sparkRotation"] = 0,
  3863.             ["sparkRotationMode"] = "AUTO",
  3864.             ["backgroundColor"] = {
  3865.                 0, -- [1]
  3866.                 0, -- [2]
  3867.                 0, -- [3]
  3868.                 0.5, -- [4]
  3869.             },
  3870.             ["triggers"] = {
  3871.                 {
  3872.                     ["trigger"] = {
  3873.                         ["type"] = "custom",
  3874.                         ["subeventSuffix"] = "_CAST_START",
  3875.                         ["duration"] = "0.5",
  3876.                         ["event"] = "Health",
  3877.                         ["subeventPrefix"] = "SPELL",
  3878.                         ["debuffType"] = "HELPFUL",
  3879.                         ["unit"] = "player",
  3880.                         ["custom"] = "function(event, arg1, arg2, arg3)\nif arg3 == 75 then return true else return false end\nend",
  3881.                         ["names"] = {
  3882.                         },
  3883.                         ["custom_type"] = "event",
  3884.                         ["events"] = "UNIT_SPELLCAST_FAILED_QUIET",
  3885.                         ["spellIds"] = {
  3886.                         },
  3887.                         ["custom_hide"] = "timed",
  3888.                     },
  3889.                     ["untrigger"] = {
  3890.                     },
  3891.                 }, -- [1]
  3892.                 ["activeTriggerMode"] = -10,
  3893.             },
  3894.             ["icon_color"] = {
  3895.                 1, -- [1]
  3896.                 1, -- [2]
  3897.                 1, -- [3]
  3898.                 1, -- [4]
  3899.             },
  3900.             ["internalVersion"] = 26,
  3901.             ["selfPoint"] = "CENTER",
  3902.             ["barColor"] = {
  3903.                 1, -- [1]
  3904.                 0, -- [2]
  3905.                 0, -- [3]
  3906.                 1, -- [4]
  3907.             },
  3908.             ["desaturate"] = false,
  3909.             ["sparkOffsetY"] = 0,
  3910.             ["subRegions"] = {
  3911.                 {
  3912.                     ["type"] = "aurabar_bar",
  3913.                 }, -- [1]
  3914.                 {
  3915.                     ["text_shadowXOffset"] = 1,
  3916.                     ["type"] = "subtext",
  3917.                     ["text_text"] = "%p",
  3918.                     ["text_color"] = {
  3919.                         1, -- [1]
  3920.                         1, -- [2]
  3921.                         1, -- [3]
  3922.                         1, -- [4]
  3923.                     },
  3924.                     ["text_font"] = "Friz Quadrata TT",
  3925.                     ["text_shadowColor"] = {
  3926.                         0, -- [1]
  3927.                         0, -- [2]
  3928.                         0, -- [3]
  3929.                         1, -- [4]
  3930.                     },
  3931.                     ["text_shadowYOffset"] = -1,
  3932.                     ["text_selfPoint"] = "AUTO",
  3933.                     ["text_visible"] = false,
  3934.                     ["text_fontType"] = "None",
  3935.                     ["text_anchorPoint"] = "INNER_LEFT",
  3936.                     ["anchorYOffset"] = 0,
  3937.                     ["text_justify"] = "CENTER",
  3938.                     ["rotateText"] = "NONE",
  3939.                     ["anchorXOffset"] = 0,
  3940.                     ["text_fontSize"] = 12,
  3941.                 }, -- [2]
  3942.                 {
  3943.                     ["text_shadowXOffset"] = 1,
  3944.                     ["type"] = "subtext",
  3945.                     ["text_text"] = "%n",
  3946.                     ["text_color"] = {
  3947.                         1, -- [1]
  3948.                         1, -- [2]
  3949.                         1, -- [3]
  3950.                         1, -- [4]
  3951.                     },
  3952.                     ["text_font"] = "Friz Quadrata TT",
  3953.                     ["text_shadowColor"] = {
  3954.                         0, -- [1]
  3955.                         0, -- [2]
  3956.                         0, -- [3]
  3957.                         1, -- [4]
  3958.                     },
  3959.                     ["text_shadowYOffset"] = -1,
  3960.                     ["text_selfPoint"] = "AUTO",
  3961.                     ["text_visible"] = false,
  3962.                     ["text_fontType"] = "None",
  3963.                     ["text_anchorPoint"] = "INNER_RIGHT",
  3964.                     ["anchorYOffset"] = 0,
  3965.                     ["text_justify"] = "CENTER",
  3966.                     ["rotateText"] = "NONE",
  3967.                     ["anchorXOffset"] = 0,
  3968.                     ["text_fontSize"] = 12,
  3969.                 }, -- [3]
  3970.             },
  3971.             ["height"] = 4,
  3972.             ["load"] = {
  3973.                 ["spec"] = {
  3974.                     ["multi"] = {
  3975.                     },
  3976.                 },
  3977.                 ["class"] = {
  3978.                     ["multi"] = {
  3979.                     },
  3980.                 },
  3981.                 ["size"] = {
  3982.                     ["multi"] = {
  3983.                     },
  3984.                 },
  3985.             },
  3986.             ["sparkBlendMode"] = "ADD",
  3987.             ["useAdjustededMax"] = false,
  3988.             ["auto"] = true,
  3989.             ["authorOptions"] = {
  3990.             },
  3991.             ["smoothProgress"] = false,
  3992.             ["useAdjustededMin"] = false,
  3993.             ["regionType"] = "aurabar",
  3994.             ["animation"] = {
  3995.                 ["start"] = {
  3996.                     ["duration_type"] = "seconds",
  3997.                     ["type"] = "none",
  3998.                 },
  3999.                 ["main"] = {
  4000.                     ["duration_type"] = "seconds",
  4001.                     ["type"] = "none",
  4002.                 },
  4003.                 ["finish"] = {
  4004.                     ["duration_type"] = "seconds",
  4005.                     ["type"] = "none",
  4006.                 },
  4007.             },
  4008.             ["actions"] = {
  4009.                 ["start"] = {
  4010.                 },
  4011.                 ["finish"] = {
  4012.                 },
  4013.                 ["init"] = {
  4014.                     ["do_custom"] = false,
  4015.                     ["custom"] = "\n\n",
  4016.                 },
  4017.             },
  4018.             ["icon_side"] = "RIGHT",
  4019.             ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
  4020.             ["sparkHeight"] = 30,
  4021.             ["texture"] = "flat",
  4022.             ["sparkHidden"] = "NEVER",
  4023.             ["zoom"] = 0,
  4024.             ["spark"] = false,
  4025.             ["sparkColor"] = {
  4026.                 1, -- [1]
  4027.                 1, -- [2]
  4028.                 1, -- [3]
  4029.                 1, -- [4]
  4030.             },
  4031.             ["id"] = "UNIT_SPELLCAST_FAILED_QUIET timer",
  4032.             ["alpha"] = 1,
  4033.             ["frameStrata"] = 1,
  4034.             ["anchorFrameType"] = "SCREEN",
  4035.             ["width"] = 172,
  4036.             ["uid"] = "E9K(7MZ2ERx",
  4037.             ["inverse"] = true,
  4038.             ["config"] = {
  4039.             },
  4040.             ["orientation"] = "HORIZONTAL",
  4041.             ["conditions"] = {
  4042.             },
  4043.             ["icon"] = false,
  4044.             ["parent"] = "g1",
  4045.         },
  4046.         ["Main Hand"] = {
  4047.             ["sparkWidth"] = 10,
  4048.             ["borderBackdrop"] = "Blizzard Tooltip",
  4049.             ["authorOptions"] = {
  4050.             },
  4051.             ["yOffset"] = 0,
  4052.             ["anchorPoint"] = "CENTER",
  4053.             ["sparkRotation"] = 0,
  4054.             ["customTextUpdate"] = "update",
  4055.             ["url"] = "https://wago.io/fpdm12tUX/1",
  4056.             ["icon"] = true,
  4057.             ["triggers"] = {
  4058.                 {
  4059.                     ["trigger"] = {
  4060.                         ["type"] = "status",
  4061.                         ["unevent"] = "auto",
  4062.                         ["unit"] = "player",
  4063.                         ["duration"] = "1",
  4064.                         ["event"] = "Swing Timer",
  4065.                         ["use_unit"] = true,
  4066.                         ["subeventPrefix"] = "SPELL",
  4067.                         ["subeventSuffix"] = "_CAST_START",
  4068.                         ["spellIds"] = {
  4069.                         },
  4070.                         ["use_hand"] = true,
  4071.                         ["names"] = {
  4072.                         },
  4073.                         ["use_inverse"] = false,
  4074.                         ["hand"] = "main",
  4075.                         ["debuffType"] = "HELPFUL",
  4076.                     },
  4077.                     ["untrigger"] = {
  4078.                     },
  4079.                 }, -- [1]
  4080.                 ["activeTriggerMode"] = -10,
  4081.             },
  4082.             ["icon_color"] = {
  4083.                 1, -- [1]
  4084.                 1, -- [2]
  4085.                 1, -- [3]
  4086.                 1, -- [4]
  4087.             },
  4088.             ["internalVersion"] = 26,
  4089.             ["spark"] = false,
  4090.             ["selfPoint"] = "CENTER",
  4091.             ["backdropInFront"] = false,
  4092.             ["barColor"] = {
  4093.                 0.66666666666667, -- [1]
  4094.                 0.66666666666667, -- [2]
  4095.                 0.66666666666667, -- [3]
  4096.                 1, -- [4]
  4097.             },
  4098.             ["desaturate"] = false,
  4099.             ["progressPrecision"] = 1,
  4100.             ["sparkOffsetX"] = 0,
  4101.             ["sparkOffsetY"] = 0,
  4102.             ["subRegions"] = {
  4103.                 {
  4104.                     ["type"] = "aurabar_bar",
  4105.                 }, -- [1]
  4106.                 {
  4107.                     ["text_shadowXOffset"] = 1,
  4108.                     ["type"] = "subtext",
  4109.                     ["text_text"] = "%p",
  4110.                     ["text_color"] = {
  4111.                         1, -- [1]
  4112.                         1, -- [2]
  4113.                         1, -- [3]
  4114.                         1, -- [4]
  4115.                     },
  4116.                     ["text_font"] = "Friz Quadrata TT",
  4117.                     ["text_shadowColor"] = {
  4118.                         0, -- [1]
  4119.                         0, -- [2]
  4120.                         0, -- [3]
  4121.                         1, -- [4]
  4122.                     },
  4123.                     ["text_shadowYOffset"] = -1,
  4124.                     ["text_selfPoint"] = "AUTO",
  4125.                     ["text_fontType"] = "None",
  4126.                     ["text_visible"] = true,
  4127.                     ["text_anchorPoint"] = "INNER_RIGHT",
  4128.                     ["anchorYOffset"] = 0,
  4129.                     ["text_justify"] = "CENTER",
  4130.                     ["rotateText"] = "NONE",
  4131.                     ["anchorXOffset"] = 0,
  4132.                     ["text_fontSize"] = 8,
  4133.                 }, -- [2]
  4134.                 {
  4135.                     ["text_shadowXOffset"] = 1,
  4136.                     ["type"] = "subtext",
  4137.                     ["text_text"] = "Main Hand",
  4138.                     ["text_color"] = {
  4139.                         1, -- [1]
  4140.                         1, -- [2]
  4141.                         1, -- [3]
  4142.                         1, -- [4]
  4143.                     },
  4144.                     ["text_font"] = "Friz Quadrata TT",
  4145.                     ["text_shadowColor"] = {
  4146.                         0, -- [1]
  4147.                         0, -- [2]
  4148.                         0, -- [3]
  4149.                         1, -- [4]
  4150.                     },
  4151.                     ["text_shadowYOffset"] = -1,
  4152.                     ["text_selfPoint"] = "AUTO",
  4153.                     ["text_fontType"] = "None",
  4154.                     ["text_visible"] = true,
  4155.                     ["text_anchorPoint"] = "INNER_LEFT",
  4156.                     ["anchorYOffset"] = 0,
  4157.                     ["text_justify"] = "CENTER",
  4158.                     ["rotateText"] = "NONE",
  4159.                     ["anchorXOffset"] = 0,
  4160.                     ["text_fontSize"] = 8,
  4161.                 }, -- [3]
  4162.                 {
  4163.                     ["text_shadowXOffset"] = 1,
  4164.                     ["type"] = "subtext",
  4165.                     ["text_text"] = "%s",
  4166.                     ["text_color"] = {
  4167.                         1, -- [1]
  4168.                         1, -- [2]
  4169.                         1, -- [3]
  4170.                         1, -- [4]
  4171.                     },
  4172.                     ["text_font"] = "Friz Quadrata TT",
  4173.                     ["text_shadowColor"] = {
  4174.                         0, -- [1]
  4175.                         0, -- [2]
  4176.                         0, -- [3]
  4177.                         1, -- [4]
  4178.                     },
  4179.                     ["text_shadowYOffset"] = -1,
  4180.                     ["text_selfPoint"] = "AUTO",
  4181.                     ["text_fontType"] = "None",
  4182.                     ["text_visible"] = true,
  4183.                     ["text_anchorPoint"] = "ICON_CENTER",
  4184.                     ["anchorYOffset"] = 0,
  4185.                     ["text_justify"] = "CENTER",
  4186.                     ["rotateText"] = "NONE",
  4187.                     ["anchorXOffset"] = 0,
  4188.                     ["text_fontSize"] = 12,
  4189.                 }, -- [4]
  4190.                 {
  4191.                     ["type"] = "subborder",
  4192.                     ["border_anchor"] = "bar",
  4193.                     ["border_offset"] = 5,
  4194.                     ["border_color"] = {
  4195.                         1, -- [1]
  4196.                         1, -- [2]
  4197.                         1, -- [3]
  4198.                         0.5, -- [4]
  4199.                     },
  4200.                     ["border_visible"] = false,
  4201.                     ["border_edge"] = "None",
  4202.                     ["border_size"] = 16,
  4203.                 }, -- [5]
  4204.             },
  4205.             ["height"] = 10,
  4206.             ["stickyDuration"] = false,
  4207.             ["load"] = {
  4208.                 ["spec"] = {
  4209.                     ["multi"] = {
  4210.                     },
  4211.                 },
  4212.                 ["class"] = {
  4213.                     ["multi"] = {
  4214.                     },
  4215.                 },
  4216.                 ["size"] = {
  4217.                     ["multi"] = {
  4218.                     },
  4219.                 },
  4220.             },
  4221.             ["sparkBlendMode"] = "ADD",
  4222.             ["useAdjustededMax"] = false,
  4223.             ["actions"] = {
  4224.                 ["start"] = {
  4225.                 },
  4226.                 ["init"] = {
  4227.                     ["do_custom"] = false,
  4228.                 },
  4229.                 ["finish"] = {
  4230.                 },
  4231.             },
  4232.             ["sparkRotationMode"] = "AUTO",
  4233.             ["backdropColor"] = {
  4234.                 1, -- [1]
  4235.                 1, -- [2]
  4236.                 1, -- [3]
  4237.                 0.5, -- [4]
  4238.             },
  4239.             ["config"] = {
  4240.             },
  4241.             ["sparkColor"] = {
  4242.                 1, -- [1]
  4243.                 1, -- [2]
  4244.                 1, -- [3]
  4245.                 1, -- [4]
  4246.             },
  4247.             ["xOffset"] = 0,
  4248.             ["useAdjustededMin"] = false,
  4249.             ["regionType"] = "aurabar",
  4250.             ["borderInFront"] = true,
  4251.             ["width"] = 165,
  4252.             ["icon_side"] = "RIGHT",
  4253.             ["frameStrata"] = 1,
  4254.             ["sparkHeight"] = 30,
  4255.             ["texture"] = "Blizzard",
  4256.             ["id"] = "Main Hand",
  4257.             ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
  4258.             ["auto"] = true,
  4259.             ["tocversion"] = 11302,
  4260.             ["sparkHidden"] = "NEVER",
  4261.             ["zoom"] = 0,
  4262.             ["alpha"] = 1,
  4263.             ["anchorFrameType"] = "SCREEN",
  4264.             ["backgroundColor"] = {
  4265.                 0, -- [1]
  4266.                 0, -- [2]
  4267.                 0, -- [3]
  4268.                 0.5, -- [4]
  4269.             },
  4270.             ["uid"] = "bv7d0Eti5pa",
  4271.             ["inverse"] = true,
  4272.             ["version"] = 1,
  4273.             ["orientation"] = "HORIZONTAL",
  4274.             ["conditions"] = {
  4275.             },
  4276.             ["animation"] = {
  4277.                 ["start"] = {
  4278.                     ["type"] = "none",
  4279.                     ["duration_type"] = "seconds",
  4280.                 },
  4281.                 ["main"] = {
  4282.                     ["type"] = "none",
  4283.                     ["duration_type"] = "seconds",
  4284.                 },
  4285.                 ["finish"] = {
  4286.                     ["type"] = "none",
  4287.                     ["duration_type"] = "seconds",
  4288.                 },
  4289.             },
  4290.             ["parent"] = "Swing Timers",
  4291.         },
  4292.         ["Autoshot"] = {
  4293.             ["sparkWidth"] = 10,
  4294.             ["sparkOffsetX"] = 0,
  4295.             ["authorOptions"] = {
  4296.                 {
  4297.                     ["type"] = "toggle",
  4298.                     ["key"] = "autoShot",
  4299.                     ["width"] = 1,
  4300.                     ["name"] = "Auto Shot",
  4301.                     ["useDesc"] = true,
  4302.                     ["default"] = false,
  4303.                     ["desc"] = "Display Auto Shot castbar",
  4304.                 }, -- [1]
  4305.                 {
  4306.                     ["type"] = "toggle",
  4307.                     ["key"] = "meleeWeave",
  4308.                     ["width"] = 1,
  4309.                     ["name"] = "Melee Weave",
  4310.                     ["useDesc"] = true,
  4311.                     ["default"] = false,
  4312.                     ["desc"] = "Display colour change for Melee Weave",
  4313.                 }, -- [2]
  4314.             },
  4315.             ["adjustedMax"] = 3,
  4316.             ["adjustedMin"] = 0.5,
  4317.             ["yOffset"] = 0,
  4318.             ["anchorPoint"] = "CENTER",
  4319.             ["sparkRotation"] = 0,
  4320.             ["sparkRotationMode"] = "AUTO",
  4321.             ["url"] = "https://wago.io/92y4H96_t/16",
  4322.             ["actions"] = {
  4323.                 ["start"] = {
  4324.                 },
  4325.                 ["finish"] = {
  4326.                 },
  4327.                 ["init"] = {
  4328.                 },
  4329.             },
  4330.             ["triggers"] = {
  4331.                 {
  4332.                     ["trigger"] = {
  4333.                         ["duration"] = "3",
  4334.                         ["use_spell"] = true,
  4335.                         ["names"] = {
  4336.                         },
  4337.                         ["use_inverse"] = false,
  4338.                         ["subeventPrefix"] = "SPELL",
  4339.                         ["use_hand"] = true,
  4340.                         ["use_cloneId"] = false,
  4341.                         ["debuffType"] = "HELPFUL",
  4342.                         ["hand"] = "ranged",
  4343.                         ["spellName"] = "Aimed Shot",
  4344.                         ["buffShowOn"] = "showOnActive",
  4345.                         ["spell"] = "aimed shot",
  4346.                         ["spellIds"] = {
  4347.                         },
  4348.                         ["unevent"] = "auto",
  4349.                         ["type"] = "status",
  4350.                         ["subeventSuffix"] = "_CAST_START",
  4351.                         ["event"] = "Swing Timer",
  4352.                         ["unit"] = "player",
  4353.                         ["custom_type"] = "status",
  4354.                         ["use_spellName"] = true,
  4355.                         ["events"] = "",
  4356.                         ["use_sourceUnit"] = true,
  4357.                         ["check"] = "event",
  4358.                         ["custom_hide"] = "timed",
  4359.                         ["sourceUnit"] = "player",
  4360.                         ["use_unit"] = true,
  4361.                     },
  4362.                     ["untrigger"] = {
  4363.                         ["hand"] = "ranged",
  4364.                     },
  4365.                 }, -- [1]
  4366.                 {
  4367.                     ["trigger"] = {
  4368.                         ["type"] = "status",
  4369.                         ["unevent"] = "auto",
  4370.                         ["duration"] = "1",
  4371.                         ["event"] = "Unit Characteristics",
  4372.                         ["use_unit"] = true,
  4373.                         ["use_unitisunit"] = true,
  4374.                         ["subeventPrefix"] = "SPELL",
  4375.                         ["unitisunit"] = "target",
  4376.                         ["subeventSuffix"] = "_CAST_START",
  4377.                         ["custom_type"] = "event",
  4378.                         ["unit"] = "target",
  4379.                         ["custom_hide"] = "timed",
  4380.                     },
  4381.                     ["untrigger"] = {
  4382.                         ["unit"] = "target",
  4383.                     },
  4384.                 }, -- [2]
  4385.                 {
  4386.                     ["trigger"] = {
  4387.                         ["track"] = "auto",
  4388.                         ["type"] = "status",
  4389.                         ["unevent"] = "auto",
  4390.                         ["genericShowOn"] = "showAlways",
  4391.                         ["use_genericShowOn"] = true,
  4392.                         ["event"] = "Cooldown Progress (Spell)",
  4393.                         ["unit"] = "player",
  4394.                         ["realSpellName"] = "Aimed Shot",
  4395.                         ["use_spellName"] = true,
  4396.                         ["subeventSuffix"] = "_CAST_START",
  4397.                         ["duration"] = "1",
  4398.                         ["use_unit"] = true,
  4399.                         ["subeventPrefix"] = "SPELL",
  4400.                         ["use_track"] = true,
  4401.                         ["spellName"] = 20904,
  4402.                     },
  4403.                     ["untrigger"] = {
  4404.                         ["genericShowOn"] = "showAlways",
  4405.                     },
  4406.                 }, -- [3]
  4407.                 {
  4408.                     ["trigger"] = {
  4409.                         ["type"] = "status",
  4410.                         ["subeventSuffix"] = "_CAST_START",
  4411.                         ["genericShowOn"] = "showAlways",
  4412.                         ["use_genericShowOn"] = true,
  4413.                         ["event"] = "Cooldown Progress (Spell)",
  4414.                         ["subeventPrefix"] = "SPELL",
  4415.                         ["realSpellName"] = "Multi-Shot",
  4416.                         ["use_spellName"] = true,
  4417.                         ["unevent"] = "auto",
  4418.                         ["duration"] = "1",
  4419.                         ["unit"] = "player",
  4420.                         ["use_unit"] = true,
  4421.                         ["use_track"] = true,
  4422.                         ["spellName"] = 14290,
  4423.                     },
  4424.                     ["untrigger"] = {
  4425.                         ["genericShowOn"] = "showAlways",
  4426.                     },
  4427.                 }, -- [4]
  4428.                 {
  4429.                     ["trigger"] = {
  4430.                         ["subeventPrefix"] = "SPELL",
  4431.                         ["type"] = "custom",
  4432.                         ["events"] = "COMBAT_LOG_EVENT_UNFILTERED",
  4433.                         ["custom_type"] = "event",
  4434.                         ["subeventSuffix"] = "_CAST_START",
  4435.                         ["custom"] = "function()\n    if aura_env.config[\"autoShot\"] then\n        return true\n    end\nend\n\n\n",
  4436.                         ["event"] = "Health",
  4437.                         ["custom_hide"] = "timed",
  4438.                     },
  4439.                     ["untrigger"] = {
  4440.                     },
  4441.                 }, -- [5]
  4442.                 {
  4443.                     ["trigger"] = {
  4444.                         ["type"] = "custom",
  4445.                         ["custom_type"] = "event",
  4446.                         ["event"] = "Health",
  4447.                         ["subeventPrefix"] = "SPELL",
  4448.                         ["events"] = "COMBAT_LOG_EVENT_UNFILTERED",
  4449.                         ["check"] = "event",
  4450.                         ["subeventSuffix"] = "_CAST_START",
  4451.                         ["custom"] = "function()\n    if aura_env.config[\"meleeWeave\"] then\n        return true\n    end\nend\n\n\n\n\n",
  4452.                         ["custom_hide"] = "timed",
  4453.                     },
  4454.                     ["untrigger"] = {
  4455.                     },
  4456.                 }, -- [6]
  4457.                 ["disjunctive"] = "custom",
  4458.                 ["customTriggerLogic"] = "function(trigger)\n    return trigger[1] and trigger[2]\nend",
  4459.                 ["activeTriggerMode"] = 1,
  4460.             },
  4461.             ["icon_color"] = {
  4462.                 1, -- [1]
  4463.                 1, -- [2]
  4464.                 1, -- [3]
  4465.                 1, -- [4]
  4466.             },
  4467.             ["internalVersion"] = 26,
  4468.             ["animation"] = {
  4469.                 ["start"] = {
  4470.                     ["duration_type"] = "seconds",
  4471.                     ["type"] = "none",
  4472.                 },
  4473.                 ["main"] = {
  4474.                     ["duration_type"] = "seconds",
  4475.                     ["type"] = "none",
  4476.                 },
  4477.                 ["finish"] = {
  4478.                     ["duration_type"] = "seconds",
  4479.                     ["type"] = "none",
  4480.                 },
  4481.             },
  4482.             ["spark"] = false,
  4483.             ["barColor"] = {
  4484.                 0.090196078431373, -- [1]
  4485.                 0.79607843137255, -- [2]
  4486.                 0, -- [3]
  4487.                 1, -- [4]
  4488.             },
  4489.             ["desaturate"] = false,
  4490.             ["parent"] = "Hunter Castbar",
  4491.             ["version"] = 16,
  4492.             ["subRegions"] = {
  4493.                 {
  4494.                     ["type"] = "aurabar_bar",
  4495.                 }, -- [1]
  4496.                 {
  4497.                     ["text_shadowXOffset"] = 0,
  4498.                     ["type"] = "subtext",
  4499.                     ["text_text"] = "%n",
  4500.                     ["text_color"] = {
  4501.                         1, -- [1]
  4502.                         1, -- [2]
  4503.                         1, -- [3]
  4504.                         1, -- [4]
  4505.                     },
  4506.                     ["text_font"] = "DorisPP",
  4507.                     ["text_shadowColor"] = {
  4508.                         0, -- [1]
  4509.                         0, -- [2]
  4510.                         0, -- [3]
  4511.                         1, -- [4]
  4512.                     },
  4513.                     ["text_shadowYOffset"] = -1,
  4514.                     ["text_selfPoint"] = "AUTO",
  4515.                     ["text_fontType"] = "OUTLINE",
  4516.                     ["text_visible"] = false,
  4517.                     ["text_anchorPoint"] = "INNER_LEFT",
  4518.                     ["anchorYOffset"] = 0,
  4519.                     ["text_justify"] = "CENTER",
  4520.                     ["text_fontSize"] = 12,
  4521.                     ["anchorXOffset"] = 0,
  4522.                     ["rotateText"] = "NONE",
  4523.                 }, -- [2]
  4524.                 {
  4525.                     ["text_shadowXOffset"] = 1,
  4526.                     ["type"] = "subtext",
  4527.                     ["text_text"] = "%p / %c",
  4528.                     ["text_color"] = {
  4529.                         1, -- [1]
  4530.                         1, -- [2]
  4531.                         1, -- [3]
  4532.                         1, -- [4]
  4533.                     },
  4534.                     ["text_font"] = "DorisPP",
  4535.                     ["text_shadowColor"] = {
  4536.                         0, -- [1]
  4537.                         0, -- [2]
  4538.                         0, -- [3]
  4539.                         1, -- [4]
  4540.                     },
  4541.                     ["text_shadowYOffset"] = -1,
  4542.                     ["text_selfPoint"] = "AUTO",
  4543.                     ["text_fontType"] = "None",
  4544.                     ["text_visible"] = true,
  4545.                     ["text_anchorPoint"] = "INNER_RIGHT",
  4546.                     ["anchorYOffset"] = 0,
  4547.                     ["text_justify"] = "CENTER",
  4548.                     ["text_fontSize"] = 12,
  4549.                     ["anchorXOffset"] = 0,
  4550.                     ["rotateText"] = "NONE",
  4551.                 }, -- [3]
  4552.                 {
  4553.                     ["type"] = "subborder",
  4554.                     ["border_anchor"] = "bar",
  4555.                     ["border_offset"] = 1,
  4556.                     ["border_color"] = {
  4557.                         0, -- [1]
  4558.                         0, -- [2]
  4559.                         0, -- [3]
  4560.                         1, -- [4]
  4561.                     },
  4562.                     ["border_visible"] = true,
  4563.                     ["border_edge"] = "1 Pixel",
  4564.                     ["border_size"] = 1,
  4565.                 }, -- [4]
  4566.             },
  4567.             ["height"] = 28,
  4568.             ["xOffset"] = -0.0003662109375,
  4569.             ["load"] = {
  4570.                 ["use_class"] = true,
  4571.                 ["use_never"] = true,
  4572.                 ["class"] = {
  4573.                     ["single"] = "HUNTER",
  4574.                     ["multi"] = {
  4575.                     },
  4576.                 },
  4577.                 ["spec"] = {
  4578.                     ["multi"] = {
  4579.                     },
  4580.                 },
  4581.                 ["size"] = {
  4582.                     ["multi"] = {
  4583.                     },
  4584.                 },
  4585.             },
  4586.             ["sparkBlendMode"] = "ADD",
  4587.             ["useAdjustededMax"] = false,
  4588.             ["customText"] = "function()\n    realTime = aura_env.state.duration - 0.5\n    return string.format(\"%.1f\", realTime)\nend\n\n\n",
  4589.             ["backgroundColor"] = {
  4590.                 0.13725490196078, -- [1]
  4591.                 0.13725490196078, -- [2]
  4592.                 0.13725490196078, -- [3]
  4593.                 1, -- [4]
  4594.             },
  4595.             ["sparkColor"] = {
  4596.                 1, -- [1]
  4597.                 1, -- [2]
  4598.                 1, -- [3]
  4599.                 1, -- [4]
  4600.             },
  4601.             ["anchorFrameFrame"] = "WeakAuras:Hunter Castbar",
  4602.             ["uid"] = "pGIV6slKMtd",
  4603.             ["smoothProgress"] = false,
  4604.             ["useAdjustededMin"] = true,
  4605.             ["regionType"] = "aurabar",
  4606.             ["zoom"] = 0,
  4607.             ["anchorFrameType"] = "SCREEN",
  4608.             ["icon_side"] = "RIGHT",
  4609.             ["frameStrata"] = 1,
  4610.             ["anchorFrameParent"] = false,
  4611.             ["texture"] = "Flat",
  4612.             ["id"] = "Autoshot",
  4613.             ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
  4614.             ["semver"] = "2.0.7-16",
  4615.             ["tocversion"] = 11302,
  4616.             ["sparkHidden"] = "NEVER",
  4617.             ["auto"] = true,
  4618.             ["alpha"] = 1,
  4619.             ["width"] = 245,
  4620.             ["sparkHeight"] = 30,
  4621.             ["config"] = {
  4622.                 ["autoShot"] = false,
  4623.                 ["meleeWeave"] = false,
  4624.             },
  4625.             ["inverse"] = false,
  4626.             ["icon"] = false,
  4627.             ["orientation"] = "HORIZONTAL",
  4628.             ["conditions"] = {
  4629.                 {
  4630.                     ["check"] = {
  4631.                         ["trigger"] = -2,
  4632.                         ["variable"] = "AND",
  4633.                         ["checks"] = {
  4634.                             {
  4635.                                 ["trigger"] = 3,
  4636.                                 ["variable"] = "onCooldown",
  4637.                                 ["value"] = 1,
  4638.                             }, -- [1]
  4639.                             {
  4640.                                 ["trigger"] = 4,
  4641.                                 ["variable"] = "onCooldown",
  4642.                                 ["value"] = 1,
  4643.                             }, -- [2]
  4644.                             {
  4645.                                 ["trigger"] = 6,
  4646.                                 ["variable"] = "show",
  4647.                                 ["value"] = 1,
  4648.                             }, -- [3]
  4649.                         },
  4650.                     },
  4651.                     ["changes"] = {
  4652.                         {
  4653.                             ["value"] = {
  4654.                                 0.090196078431373, -- [1]
  4655.                                 0.79607843137255, -- [2]
  4656.                                 0, -- [3]
  4657.                                 1, -- [4]
  4658.                             },
  4659.                             ["property"] = "barColor",
  4660.                         }, -- [1]
  4661.                         {
  4662.                         }, -- [2]
  4663.                     },
  4664.                 }, -- [1]
  4665.                 {
  4666.                     ["check"] = {
  4667.                         ["trigger"] = -2,
  4668.                         ["variable"] = "AND",
  4669.                         ["checks"] = {
  4670.                             {
  4671.                                 ["trigger"] = -2,
  4672.                                 ["variable"] = "OR",
  4673.                                 ["checks"] = {
  4674.                                     {
  4675.                                         ["trigger"] = 3,
  4676.                                         ["variable"] = "onCooldown",
  4677.                                         ["value"] = 0,
  4678.                                     }, -- [1]
  4679.                                     {
  4680.                                         ["trigger"] = 4,
  4681.                                         ["variable"] = "onCooldown",
  4682.                                         ["value"] = 0,
  4683.                                     }, -- [2]
  4684.                                 },
  4685.                             }, -- [1]
  4686.                             {
  4687.                                 ["trigger"] = 6,
  4688.                                 ["variable"] = "show",
  4689.                                 ["value"] = 1,
  4690.                             }, -- [2]
  4691.                         },
  4692.                     },
  4693.                     ["changes"] = {
  4694.                         {
  4695.                             ["value"] = {
  4696.                                 0.7921568627451, -- [1]
  4697.                                 0.79607843137255, -- [2]
  4698.                                 0.75294117647059, -- [3]
  4699.                                 1, -- [4]
  4700.                             },
  4701.                             ["property"] = "barColor",
  4702.                         }, -- [1]
  4703.                     },
  4704.                 }, -- [2]
  4705.             },
  4706.             ["selfPoint"] = "CENTER",
  4707.             ["sparkOffsetY"] = 0,
  4708.         },
  4709.     },
  4710.     ["lastArchiveClear"] = 1581486214,
  4711.     ["minimap"] = {
  4712.         ["minimapPos"] = 198.733304093041,
  4713.         ["hide"] = false,
  4714.     },
  4715.     ["lastUpgrade"] = 1579741741,
  4716.     ["dbVersion"] = 26,
  4717.     ["clearOldHistory"] = 30,
  4718.     ["registered"] = {
  4719.     },
  4720.     ["login_squelch_time"] = 10,
  4721.     ["frame"] = {
  4722.         ["xOffset"] = -69.0916748046875,
  4723.         ["yOffset"] = -116.035400390625,
  4724.         ["height"] = 664.999938964844,
  4725.         ["width"] = 829.999755859375,
  4726.     },
  4727.     ["instanceHistoryDb"] = {
  4728.         ["sess"] = {
  4729.             ["histOldest"] = "n/a",
  4730.             ["enterLoc"] = {
  4731.                 ["instance"] = -1,
  4732.             },
  4733.             ["delayUpdate"] = 1583495896,
  4734.             ["histLiveCount"] = 0,
  4735.         },
  4736.         ["History"] = {
  4737.         },
  4738.         ["lastLoc"] = {
  4739.             ["instance"] = -1,
  4740.         },
  4741.         ["histGeneration"] = 553,
  4742.         ["config"] = {
  4743.             ["displayMin"] = 2,
  4744.             ["debug"] = false,
  4745.             ["updateInterval"] = 5,
  4746.             ["ShowServer"] = false,
  4747.             ["ReportResets"] = false,
  4748.         },
  4749.         ["Instances"] = {
  4750.         },
  4751.     },
  4752.     ["editor_theme"] = "Monokai",
  4753. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement