Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WeakAurasSaved = {
- ["dynamicIconCache"] = {
- },
- ["displays"] = {
- ["Instance History"] = {
- ["sparkWidth"] = 15,
- ["sparkOffsetX"] = 0,
- ["authorOptions"] = {
- {
- ["type"] = "toggle",
- ["key"] = "debug",
- ["default"] = false,
- ["useDesc"] = false,
- ["name"] = "Debug Mode",
- ["width"] = 1,
- }, -- [1]
- {
- ["type"] = "toggle",
- ["key"] = "ReportResets",
- ["default"] = false,
- ["useDesc"] = false,
- ["name"] = "Report Resets to Chat",
- ["width"] = 1,
- }, -- [2]
- {
- ["type"] = "toggle",
- ["key"] = "ShowServer",
- ["default"] = false,
- ["useDesc"] = false,
- ["name"] = "Show Server Name",
- ["width"] = 1,
- }, -- [3]
- {
- ["type"] = "range",
- ["useDesc"] = false,
- ["max"] = 10,
- ["step"] = 0.05,
- ["width"] = 1,
- ["min"] = 0.5,
- ["name"] = "Display Update Interval",
- ["key"] = "updateInterval",
- ["default"] = 5,
- }, -- [4]
- {
- ["type"] = "range",
- ["useDesc"] = true,
- ["max"] = 5,
- ["step"] = 1,
- ["width"] = 1,
- ["min"] = 0,
- ["name"] = "Display Threshold",
- ["desc"] = "Minimum number of instances before display appears",
- ["key"] = "displayMin",
- ["default"] = 2,
- }, -- [5]
- },
- ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
- ["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",
- ["yOffset"] = -434.722108840942,
- ["anchorPoint"] = "CENTER",
- ["borderBackdrop"] = "Blizzard Tooltip",
- ["xOffset"] = -678.826232910156,
- ["sparkRotation"] = 0,
- ["sparkRotationMode"] = "AUTO",
- ["url"] = "https://wago.io/OXlZupyKm/6",
- ["icon"] = false,
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["custom_type"] = "stateupdate",
- ["custom_hide"] = "timed",
- ["event"] = "Health",
- ["unit"] = "player",
- ["subeventPrefix"] = "SPELL",
- ["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",
- ["events"] = "",
- ["names"] = {
- },
- ["check"] = "update",
- ["spellIds"] = {
- },
- ["subeventSuffix"] = "_CAST_START",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["event"] = "Health",
- ["unit"] = "player",
- ["debuffType"] = "HELPFUL",
- ["spellIds"] = {
- },
- ["custom"] = "function(event, ...)\n if aura_env[event] then\n aura_env[event](...) \n end\nend",
- ["names"] = {
- },
- ["subeventPrefix"] = "SPELL",
- ["custom_type"] = "event",
- ["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",
- ["custom_hide"] = "timed",
- },
- ["untrigger"] = {
- },
- }, -- [2]
- ["disjunctive"] = "any",
- ["activeTriggerMode"] = -10,
- },
- ["icon_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["internalVersion"] = 26,
- ["spark"] = false,
- ["selfPoint"] = "CENTER",
- ["backdropInFront"] = false,
- ["uid"] = "162dhv8uGuh",
- ["barColor"] = {
- 0.30588235294118, -- [1]
- 0.30588235294118, -- [2]
- 0.30588235294118, -- [3]
- 1, -- [4]
- },
- ["desaturate"] = false,
- ["discrete_rotation"] = 0,
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.75, -- [4]
- },
- ["version"] = 6,
- ["subRegions"] = {
- {
- ["type"] = "aurabar_bar",
- }, -- [1]
- {
- ["text_shadowXOffset"] = 0,
- ["text_text"] = "%c1",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_selfPoint"] = "BOTTOM",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["type"] = "subtext",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.6059664785862, -- [4]
- },
- ["text_font"] = "PT Sans Narrow",
- ["text_anchorYOffset"] = 3,
- ["text_fontType"] = "OUTLINE",
- ["text_anchorPoint"] = "TOP",
- ["text_visible"] = true,
- ["text_fontSize"] = 10,
- ["anchorXOffset"] = 0,
- ["text_shadowYOffset"] = 0,
- }, -- [2]
- {
- ["text_shadowXOffset"] = 0,
- ["text_text"] = "%c2",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_selfPoint"] = "BOTTOMLEFT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["type"] = "subtext",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.6059664785862, -- [4]
- },
- ["text_font"] = "PT Sans Narrow",
- ["text_anchorYOffset"] = 3,
- ["text_fontType"] = "OUTLINE",
- ["text_anchorPoint"] = "TOPLEFT",
- ["text_visible"] = false,
- ["text_fontSize"] = 12,
- ["anchorXOffset"] = 0,
- ["text_shadowYOffset"] = 0,
- }, -- [3]
- {
- ["type"] = "subborder",
- ["border_anchor"] = "bar",
- ["border_size"] = 1,
- ["border_color"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["border_visible"] = true,
- ["border_edge"] = "ElvUI GlowBorder",
- ["border_offset"] = 0,
- }, -- [4]
- },
- ["height"] = 7.00000095367432,
- ["rotate"] = true,
- ["load"] = {
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["use_never"] = false,
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["sparkBlendMode"] = "ADD",
- ["backdropColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["customTextUpdate"] = "update",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["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",
- ["do_custom"] = true,
- },
- ["finish"] = {
- },
- },
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["frameStrata"] = 1,
- ["stickyDuration"] = false,
- ["mirror"] = false,
- ["useAdjustededMin"] = false,
- ["regionType"] = "aurabar",
- ["borderInFront"] = true,
- ["blendMode"] = "BLEND",
- ["icon_side"] = "LEFT",
- ["rotation"] = 0,
- ["sparkOffsetY"] = 0,
- ["sparkHeight"] = 30,
- ["texture"] = "ElvUI Norm",
- ["useAdjustededMax"] = false,
- ["zoom"] = 0,
- ["auto"] = true,
- ["tocversion"] = 11302,
- ["id"] = "Instance History",
- ["config"] = {
- ["displayMin"] = 2,
- ["debug"] = false,
- ["updateInterval"] = 5,
- ["ShowServer"] = false,
- ["ReportResets"] = false,
- },
- ["alpha"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["width"] = 322.999969482422,
- ["sparkColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["inverse"] = false,
- ["backgroundColor"] = {
- 0.10196078431373, -- [1]
- 0.10196078431373, -- [2]
- 0.10196078431373, -- [3]
- 1, -- [4]
- },
- ["orientation"] = "HORIZONTAL",
- ["conditions"] = {
- },
- ["sparkHidden"] = "NEVER",
- ["semver"] = "1.0.5",
- },
- ["Hunter Castbar"] = {
- ["controlledChildren"] = {
- "Autoshot", -- [1]
- "Ability Cast", -- [2]
- },
- ["borderBackdrop"] = "Blizzard Tooltip",
- ["authorOptions"] = {
- },
- ["yOffset"] = -321.99899291992,
- ["anchorPoint"] = "CENTER",
- ["borderColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["url"] = "https://wago.io/92y4H96_t/16",
- ["actions"] = {
- ["start"] = {
- },
- ["finish"] = {
- },
- ["init"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["unit"] = "player",
- ["type"] = "aura2",
- ["spellIds"] = {
- },
- ["subeventSuffix"] = "_CAST_START",
- ["subeventPrefix"] = "SPELL",
- ["names"] = {
- },
- ["event"] = "Health",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- },
- ["internalVersion"] = 26,
- ["selfPoint"] = "BOTTOMLEFT",
- ["version"] = 16,
- ["subRegions"] = {
- },
- ["load"] = {
- ["use_class"] = "true",
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["single"] = "HUNTER",
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["backdropColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["scale"] = 1,
- ["border"] = false,
- ["borderEdge"] = "Square Full White",
- ["regionType"] = "group",
- ["borderSize"] = 2,
- ["borderOffset"] = 4,
- ["semver"] = "2.0.7-16",
- ["tocversion"] = 11302,
- ["id"] = "Hunter Castbar",
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["uid"] = "apVwF5fbWA1",
- ["xOffset"] = -1,
- ["config"] = {
- },
- ["conditions"] = {
- },
- ["animation"] = {
- ["start"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["main"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["finish"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- },
- ["borderInset"] = 1,
- },
- ["Energy Bar"] = {
- ["sparkWidth"] = 10,
- ["sparkOffsetX"] = 0,
- ["xOffset"] = 0,
- ["preferToUpdate"] = false,
- ["yOffset"] = 0,
- ["anchorPoint"] = "CENTER",
- ["sparkHidden"] = "NEVER",
- ["sparkRotation"] = 0,
- ["sparkRotationMode"] = "AUTO",
- ["url"] = "https://wago.io/1oyFuioYU/1",
- ["actions"] = {
- ["start"] = {
- },
- ["finish"] = {
- },
- ["init"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["event"] = "Health",
- ["unit"] = "player",
- ["names"] = {
- },
- ["subeventPrefix"] = "SPELL",
- ["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",
- ["custom_type"] = "stateupdate",
- ["check"] = "event",
- ["events"] = "UNIT_POWER_FREQUENT:player ENERGYTICK",
- ["spellIds"] = {
- },
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["icon_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["internalVersion"] = 26,
- ["animation"] = {
- ["start"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["main"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["finish"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- },
- ["backdropInFront"] = false,
- ["icon"] = false,
- ["barColor"] = {
- 1, -- [1]
- 1, -- [2]
- 0.066666666666667, -- [3]
- 1, -- [4]
- },
- ["stickyDuration"] = false,
- ["borderBackdrop"] = "Blizzard Dialog Background",
- ["desaturate"] = false,
- ["sparkOffsetY"] = 0,
- ["subRegions"] = {
- {
- ["text_color"] = {
- },
- ["type"] = "aurabar_bar",
- }, -- [1]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "Energy",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_visible"] = true,
- ["text_fontType"] = "None",
- ["text_anchorPoint"] = "INNER_BOTTOM",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 12,
- }, -- [2]
- {
- ["border_size"] = 15,
- ["type"] = "subborder",
- ["border_anchor"] = "bar",
- ["text_color"] = {
- },
- ["border_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["border_visible"] = true,
- ["border_edge"] = "Blizzard Dialog",
- ["border_offset"] = 5,
- }, -- [3]
- },
- ["height"] = 15,
- ["selfPoint"] = "CENTER",
- ["load"] = {
- ["use_class"] = true,
- ["class"] = {
- ["single"] = "ROGUE",
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["sparkBlendMode"] = "ADD",
- ["backdropColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 0, -- [4]
- },
- ["config"] = {
- },
- ["anchorFrameFrame"] = "PlayerFrame",
- ["sparkColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["sparkDesaturate"] = false,
- ["customAnchor"] = "\n\n",
- ["anchorFrameType"] = "SCREEN",
- ["useAdjustededMin"] = false,
- ["regionType"] = "aurabar",
- ["borderInFront"] = true,
- ["frameStrata"] = 2,
- ["icon_side"] = "RIGHT",
- ["useAdjustededMax"] = false,
- ["sparkHeight"] = 20,
- ["texture"] = "Blizzard",
- ["spark"] = true,
- ["zoom"] = 0,
- ["auto"] = true,
- ["tocversion"] = 11302,
- ["id"] = "Energy Bar",
- ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
- ["alpha"] = 1,
- ["width"] = 60,
- ["anchorFrameParent"] = true,
- ["uid"] = "oWRPPWnBsZW",
- ["inverse"] = true,
- ["version"] = 1,
- ["orientation"] = "HORIZONTAL",
- ["conditions"] = {
- },
- ["backgroundColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 0.70277798175812, -- [4]
- },
- ["authorOptions"] = {
- },
- },
- ["screech"] = {
- ["xOffset"] = -90.692626953125,
- ["yOffset"] = -78.2995300292969,
- ["anchorPoint"] = "CENTER",
- ["cooldownSwipe"] = true,
- ["url"] = "https://wago.io/VJDWPky5-/2",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["do_custom"] = false,
- ["custom"] = "\n\n",
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["event"] = "Health",
- ["unit"] = "player",
- ["genericShowOn"] = "showOnActive",
- ["names"] = {
- },
- ["spellIds"] = {
- },
- ["subeventPrefix"] = "SPELL",
- ["check"] = "update",
- ["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",
- ["custom_type"] = "status",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- ["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",
- },
- }, -- [1]
- ["activeTriggerMode"] = 1,
- },
- ["internalVersion"] = 26,
- ["keepAspectRatio"] = false,
- ["selfPoint"] = "CENTER",
- ["desc"] = "Version 1.0 - 08/26/2016",
- ["version"] = 2,
- ["subRegions"] = {
- {
- ["text_shadowXOffset"] = 0,
- ["type"] = "subtext",
- ["text_text"] = "TURN OFF GROWL!",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = 0,
- ["text_selfPoint"] = "AUTO",
- ["text_fontSize"] = 20,
- ["text_fontType"] = "OUTLINE",
- ["text_anchorPoint"] = "CENTER",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_visible"] = false,
- }, -- [1]
- },
- ["height"] = 30,
- ["load"] = {
- ["affixes"] = {
- ["multi"] = {
- },
- },
- ["ingroup"] = {
- ["multi"] = {
- },
- },
- ["class_and_spec"] = {
- ["multi"] = {
- },
- },
- ["talent"] = {
- ["multi"] = {
- },
- },
- ["use_role"] = true,
- ["class"] = {
- ["single"] = "HUNTER",
- ["multi"] = {
- },
- },
- ["talent2"] = {
- ["multi"] = {
- },
- },
- ["role"] = {
- ["single"] = "DAMAGER",
- ["multi"] = {
- },
- },
- ["difficulty"] = {
- ["multi"] = {
- },
- },
- ["race"] = {
- ["multi"] = {
- },
- },
- ["talent3"] = {
- ["multi"] = {
- },
- },
- ["pvptalent"] = {
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["faction"] = {
- ["multi"] = {
- },
- },
- ["use_class"] = true,
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["authorOptions"] = {
- },
- ["regionType"] = "icon",
- ["displayIcon"] = 132150,
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["cooldownEdge"] = false,
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["preset"] = "bounce",
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["semver"] = "1.0.0",
- ["uid"] = "u4CFUihLjER",
- ["cooldownTextDisabled"] = false,
- ["auto"] = true,
- ["alpha"] = 1,
- ["id"] = "screech",
- ["width"] = 30,
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["zoom"] = 0,
- ["config"] = {
- },
- ["inverse"] = false,
- ["desaturate"] = true,
- ["conditions"] = {
- },
- ["icon"] = true,
- ["parent"] = "g1",
- },
- ["range"] = {
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["yOffset"] = -64.9035339355469,
- ["anchorPoint"] = "CENTER",
- ["cooldownSwipe"] = true,
- ["cooldownEdge"] = false,
- ["icon"] = true,
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["debuffType"] = "HELPFUL",
- ["unevent"] = "auto",
- ["subeventPrefix"] = "SPELL",
- ["duration"] = "1",
- ["event"] = "Health",
- ["unit"] = "player",
- ["names"] = {
- },
- ["spellIds"] = {
- },
- ["custom"] = "function()\nif IsSpellInRange(\"Auto Shot\",\"target\") == 1 and UnitExists(\"target\") then return true else return false end\nend",
- ["use_unit"] = true,
- ["check"] = "update",
- ["custom_type"] = "status",
- ["subeventSuffix"] = "_CAST_START",
- ["custom_hide"] = "timed",
- },
- ["untrigger"] = {
- ["custom"] = "function()\nif not (IsSpellInRange(\"Auto Shot\",\"target\") == 1 and UnitExists(\"target\")) then return true else return false end\nend",
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["internalVersion"] = 26,
- ["keepAspectRatio"] = false,
- ["animation"] = {
- ["start"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["main"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["finish"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- },
- ["desaturate"] = false,
- ["subRegions"] = {
- {
- ["text_shadowXOffset"] = 0,
- ["type"] = "subtext",
- ["text_text"] = "%s",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = 0,
- ["text_selfPoint"] = "AUTO",
- ["text_visible"] = true,
- ["text_fontType"] = "OUTLINE",
- ["text_anchorPoint"] = "INNER_BOTTOMRIGHT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["text_fontSize"] = 12,
- ["anchorXOffset"] = 0,
- ["rotateText"] = "NONE",
- }, -- [1]
- },
- ["height"] = 30,
- ["load"] = {
- ["use_class"] = true,
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["single"] = "HUNTER",
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["regionType"] = "icon",
- ["xOffset"] = 59.2769775390625,
- ["zoom"] = 0,
- ["parent"] = "range check",
- ["conditions"] = {
- },
- ["cooldownTextDisabled"] = false,
- ["auto"] = true,
- ["frameStrata"] = 1,
- ["id"] = "range",
- ["width"] = 30,
- ["alpha"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["uid"] = "V(yuSxj78)X",
- ["config"] = {
- },
- ["inverse"] = false,
- ["selfPoint"] = "CENTER",
- ["displayIcon"] = 132271,
- ["authorOptions"] = {
- },
- ["actions"] = {
- ["start"] = {
- },
- ["finish"] = {
- },
- ["init"] = {
- },
- },
- },
- ["Swing Timers"] = {
- ["grow"] = "DOWN",
- ["controlledChildren"] = {
- "Main Hand", -- [1]
- "Off Hand", -- [2]
- "Ranged", -- [3]
- },
- ["borderBackdrop"] = "Blizzard Tooltip",
- ["xOffset"] = -0.87994384765625,
- ["yOffset"] = 271.704406738281,
- ["anchorPoint"] = "BOTTOM",
- ["borderColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["space"] = 2,
- ["url"] = "https://wago.io/fpdm12tUX/1",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["unit"] = "player",
- ["type"] = "aura2",
- ["spellIds"] = {
- },
- ["subeventSuffix"] = "_CAST_START",
- ["subeventPrefix"] = "SPELL",
- ["names"] = {
- },
- ["event"] = "Health",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- },
- ["columnSpace"] = 1,
- ["internalVersion"] = 26,
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["align"] = "CENTER",
- ["rotation"] = 0,
- ["version"] = 1,
- ["load"] = {
- ["class"] = {
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["backdropColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["animate"] = true,
- ["gridType"] = "RD",
- ["scale"] = 1,
- ["stagger"] = 0,
- ["border"] = false,
- ["borderEdge"] = "Square Full White",
- ["regionType"] = "dynamicgroup",
- ["borderSize"] = 2,
- ["sort"] = "none",
- ["selfPoint"] = "TOP",
- ["rowSpace"] = 1,
- ["constantFactor"] = "RADIUS",
- ["authorOptions"] = {
- },
- ["borderOffset"] = 16,
- ["gridWidth"] = 5,
- ["tocversion"] = 11302,
- ["id"] = "Swing Timers",
- ["uid"] = "h90hJC1QDXk",
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["config"] = {
- },
- ["borderInset"] = 0,
- ["radius"] = 200,
- ["arcLength"] = 360,
- ["conditions"] = {
- },
- ["limit"] = 5,
- ["useLimit"] = false,
- },
- ["Server time"] = {
- ["outline"] = "OUTLINE",
- ["fontSize"] = 11,
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["displayText"] = "%c",
- ["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",
- ["yOffset"] = -434.18493270874,
- ["anchorPoint"] = "CENTER",
- ["wordWrap"] = "WordWrap",
- ["regionType"] = "text",
- ["authorOptions"] = {
- },
- ["customTextUpdate"] = "update",
- ["automaticWidth"] = "Fixed",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "status",
- ["use_alwaystrue"] = true,
- ["subeventSuffix"] = "_CAST_START",
- ["duration"] = "1",
- ["event"] = "Conditions",
- ["subeventPrefix"] = "SPELL",
- ["buffShowOn"] = "showOnActive",
- ["custom_type"] = "status",
- ["spellIds"] = {
- },
- ["use_unit"] = true,
- ["unevent"] = "auto",
- ["names"] = {
- },
- ["unit"] = "player",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- ["disjunctive"] = "any",
- ["activeTriggerMode"] = -10,
- },
- ["fixedWidth"] = 70,
- ["internalVersion"] = 26,
- ["justify"] = "LEFT",
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["id"] = "Server time",
- ["selfPoint"] = "BOTTOM",
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["font"] = "Friz Quadrata TT",
- ["uid"] = "ZBYcFRH5V7G",
- ["config"] = {
- },
- ["subRegions"] = {
- },
- ["conditions"] = {
- },
- ["load"] = {
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["xOffset"] = -805.326282501221,
- },
- ["range 2"] = {
- ["xOffset"] = 59.2769775390625,
- ["yOffset"] = -64.9035339355469,
- ["anchorPoint"] = "CENTER",
- ["cooldownSwipe"] = true,
- ["cooldownEdge"] = false,
- ["icon"] = true,
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["custom_hide"] = "timed",
- ["subeventSuffix"] = "_CAST_START",
- ["unevent"] = "auto",
- ["duration"] = "1",
- ["event"] = "Health",
- ["subeventPrefix"] = "SPELL",
- ["custom_type"] = "status",
- ["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",
- ["spellIds"] = {
- },
- ["use_unit"] = true,
- ["check"] = "update",
- ["names"] = {
- },
- ["unit"] = "player",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- ["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",
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["internalVersion"] = 26,
- ["keepAspectRatio"] = false,
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["desaturate"] = false,
- ["subRegions"] = {
- {
- ["text_shadowXOffset"] = 0,
- ["type"] = "subtext",
- ["text_text"] = "%s",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = 0,
- ["text_selfPoint"] = "AUTO",
- ["rotateText"] = "NONE",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_BOTTOMRIGHT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["text_fontSize"] = 12,
- ["anchorXOffset"] = 0,
- ["text_fontType"] = "OUTLINE",
- }, -- [1]
- },
- ["height"] = 30,
- ["load"] = {
- ["use_class"] = true,
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["single"] = "HUNTER",
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["regionType"] = "icon",
- ["selfPoint"] = "CENTER",
- ["parent"] = "range check",
- ["authorOptions"] = {
- },
- ["displayIcon"] = 132222,
- ["cooldownTextDisabled"] = false,
- ["auto"] = true,
- ["alpha"] = 1,
- ["id"] = "range 2",
- ["anchorFrameType"] = "SCREEN",
- ["frameStrata"] = 1,
- ["width"] = 30,
- ["config"] = {
- },
- ["uid"] = "OQ)pR1ZP(Gh",
- ["inverse"] = false,
- ["zoom"] = 0,
- ["conditions"] = {
- },
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- },
- ["finish"] = {
- },
- },
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- },
- ["Mana 5SecondRule + Ticks"] = {
- ["sparkWidth"] = 10,
- ["borderBackdrop"] = "Blizzard Tooltip",
- ["color"] = {
- },
- ["yOffset"] = 375.551239877939,
- ["anchorPoint"] = "CENTER",
- ["sparkRotation"] = 0,
- ["sparkRotationMode"] = "AUTO",
- ["url"] = "https://wago.io/8jnpoLFyU/1",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["custom"] = "aura_env.lastMana = UnitPower(\"player\" , 0)",
- ["do_custom"] = true,
- },
- ["finish"] = {
- ["custom"] = "WeakAuras.ScanEvents(\"TICKUPDATE\", true)",
- ["do_custom"] = false,
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["duration"] = "2",
- ["names"] = {
- },
- ["debuffType"] = "HELPFUL",
- ["type"] = "custom",
- ["unit"] = "player",
- ["unevent"] = "auto",
- ["subeventSuffix"] = "_ENERGIZE",
- ["custom_type"] = "stateupdate",
- ["event"] = "Health",
- ["use_unit"] = true,
- ["events"] = "UNIT_SPELLCAST_SUCCEEDED:player UNIT_POWER_FREQUENT:player UNIT_SPELLCAST_SUCCEEDED:player",
- ["spellIds"] = {
- },
- ["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",
- ["use_sourceUnit"] = true,
- ["check"] = "event",
- ["subeventPrefix"] = "SPELL",
- ["sourceUnit"] = "player",
- ["customVariables"] = "{\n duration = true\n}",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- ["disjunctive"] = "any",
- ["activeTriggerMode"] = -10,
- },
- ["icon_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["internalVersion"] = 26,
- ["spark"] = true,
- ["selfPoint"] = "CENTER",
- ["backdropInFront"] = false,
- ["barColor"] = {
- 0, -- [1]
- 0.23529411764706, -- [2]
- 1, -- [3]
- 0, -- [4]
- },
- ["desaturate"] = false,
- ["sparkOffsetX"] = 0,
- ["xOffset"] = -462.880065917969,
- ["sparkOffsetY"] = 0,
- ["subRegions"] = {
- {
- ["type"] = "aurabar_bar",
- }, -- [1]
- {
- ["text_shadowXOffset"] = 1,
- ["text_text"] = "%p",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_selfPoint"] = "AUTO",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["type"] = "subtext",
- ["text_anchorXOffset"] = 15,
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Accidental Presidency",
- ["text_anchorYOffset"] = -10,
- ["text_visible"] = false,
- ["text_anchorPoint"] = "SPARK",
- ["text_fontType"] = "None",
- ["text_fontSize"] = 20,
- ["anchorXOffset"] = 0,
- ["text_shadowYOffset"] = -1,
- }, -- [2]
- {
- ["type"] = "subborder",
- ["border_anchor"] = "bar",
- ["border_offset"] = 5,
- ["border_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["border_visible"] = false,
- ["border_edge"] = "None",
- ["border_size"] = 16,
- }, -- [3]
- },
- ["height"] = 0.999994575977326,
- ["authorOptions"] = {
- },
- ["load"] = {
- ["use_class"] = false,
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["single"] = "ROGUE",
- ["multi"] = {
- ["HUNTER"] = true,
- ["WARLOCK"] = true,
- ["SHAMAN"] = true,
- ["MAGE"] = true,
- ["DRUID"] = true,
- ["PALADIN"] = true,
- ["PRIEST"] = true,
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["sparkBlendMode"] = "ADD",
- ["backdropColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["backgroundColor"] = {
- 0, -- [1]
- 0.22352941176471, -- [2]
- 1, -- [3]
- 0, -- [4]
- },
- ["stickyDuration"] = false,
- ["sparkColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["config"] = {
- },
- ["version"] = 1,
- ["smoothProgress"] = false,
- ["useAdjustededMin"] = false,
- ["regionType"] = "aurabar",
- ["borderInFront"] = true,
- ["width"] = 117.402137756348,
- ["icon_side"] = "RIGHT",
- ["alpha"] = 1,
- ["sparkHeight"] = 30,
- ["texture"] = "ElvUI Blank",
- ["sparkHidden"] = "NEVER",
- ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
- ["auto"] = true,
- ["tocversion"] = 11302,
- ["id"] = "Mana 5SecondRule + Ticks",
- ["semver"] = "1.0.1",
- ["frameStrata"] = 4,
- ["anchorFrameType"] = "SCREEN",
- ["zoom"] = 0,
- ["uid"] = "dvZawXAyrxC",
- ["inverse"] = false,
- ["useAdjustededMax"] = false,
- ["orientation"] = "HORIZONTAL",
- ["conditions"] = {
- {
- ["check"] = {
- ["trigger"] = 1,
- ["op"] = "<",
- ["variable"] = "duration",
- ["value"] = "5",
- },
- ["changes"] = {
- {
- ["value"] = true,
- ["property"] = "inverse",
- }, -- [1]
- },
- }, -- [1]
- },
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["icon"] = false,
- },
- ["FDResist"] = {
- ["outline"] = "OUTLINE",
- ["color"] = {
- 1, -- [1]
- 0.22745098039216, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["preferToUpdate"] = false,
- ["yOffset"] = 230,
- ["anchorPoint"] = "CENTER",
- ["customTextUpdate"] = "update",
- ["automaticWidth"] = "Auto",
- ["actions"] = {
- ["start"] = {
- ["sound_path"] = "Interface\\AddOns\\SndFrWA\\FeignDeathSound\\BADMRLE.wav",
- ["sound"] = " custom",
- ["do_message"] = false,
- ["do_sound"] = true,
- },
- ["init"] = {
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["duration"] = "2",
- ["use_unit"] = true,
- ["debuffType"] = "HELPFUL",
- ["type"] = "custom",
- ["unevent"] = "auto",
- ["custom_hide"] = "timed",
- ["custom_type"] = "event",
- ["event"] = "Health",
- ["events"] = "UI_ERROR_MESSAGE",
- ["customDuration"] = "",
- ["spellIds"] = {
- },
- ["custom"] = "function(errorType, message)\n if message == 513 then\n return true\n end\nend\n\n\n",
- ["names"] = {
- },
- ["check"] = "update",
- ["subeventSuffix"] = "_CAST_START",
- ["subeventPrefix"] = "SPELL",
- ["unit"] = "player",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["internalVersion"] = 26,
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "preset",
- ["preset"] = "alphaPulse",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["alphaType"] = "straight",
- ["type"] = "none",
- ["duration"] = "1",
- ["duration_type"] = "seconds",
- ["use_alpha"] = false,
- },
- },
- ["font"] = "Friz Quadrata TT",
- ["version"] = 1,
- ["subRegions"] = {
- },
- ["load"] = {
- ["use_class"] = true,
- ["class"] = {
- ["single"] = "HUNTER",
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["fontSize"] = 30,
- ["regionType"] = "text",
- ["selfPoint"] = "BOTTOM",
- ["wordWrap"] = "WordWrap",
- ["justify"] = "LEFT",
- ["tocversion"] = 11302,
- ["id"] = "FDResist",
- ["url"] = "https://wago.io/MXJwzhQcg/1",
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["xOffset"] = 0,
- ["uid"] = "ZUHTPbFiSgn",
- ["displayText"] = "Feign Death Resisted!",
- ["conditions"] = {
- },
- ["fixedWidth"] = 200,
- ["config"] = {
- },
- ["authorOptions"] = {
- },
- },
- ["Off Hand"] = {
- ["sparkWidth"] = 10,
- ["sparkOffsetX"] = 0,
- ["authorOptions"] = {
- },
- ["yOffset"] = 0,
- ["anchorPoint"] = "CENTER",
- ["sparkRotation"] = 0,
- ["sparkRotationMode"] = "AUTO",
- ["url"] = "https://wago.io/fpdm12tUX/1",
- ["icon"] = true,
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "status",
- ["unevent"] = "auto",
- ["unit"] = "player",
- ["duration"] = "1",
- ["event"] = "Swing Timer",
- ["names"] = {
- },
- ["use_unit"] = true,
- ["subeventSuffix"] = "_CAST_START",
- ["spellIds"] = {
- },
- ["use_hand"] = true,
- ["subeventPrefix"] = "SPELL",
- ["use_inverse"] = false,
- ["hand"] = "off",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- ["hand"] = "off",
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["icon_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["internalVersion"] = 26,
- ["selfPoint"] = "CENTER",
- ["backdropInFront"] = false,
- ["spark"] = false,
- ["barColor"] = {
- 0.66666666666667, -- [1]
- 0.66666666666667, -- [2]
- 0.66666666666667, -- [3]
- 1, -- [4]
- },
- ["desaturate"] = false,
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["do_custom"] = false,
- },
- ["finish"] = {
- },
- },
- ["sparkOffsetY"] = 0,
- ["subRegions"] = {
- {
- ["type"] = "aurabar_bar",
- }, -- [1]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "%p",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_RIGHT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 8,
- }, -- [2]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "Off Hand",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_LEFT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 8,
- }, -- [3]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "%s",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "ICON_CENTER",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 12,
- }, -- [4]
- {
- ["type"] = "subborder",
- ["border_anchor"] = "bar",
- ["border_offset"] = 5,
- ["border_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["border_visible"] = false,
- ["border_edge"] = "None",
- ["border_size"] = 16,
- }, -- [5]
- },
- ["height"] = 10,
- ["stickyDuration"] = false,
- ["load"] = {
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["sparkBlendMode"] = "ADD",
- ["useAdjustededMax"] = false,
- ["xOffset"] = 0,
- ["borderBackdrop"] = "Blizzard Tooltip",
- ["backgroundColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 0.5, -- [4]
- },
- ["config"] = {
- },
- ["sparkColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["customTextUpdate"] = "update",
- ["useAdjustededMin"] = false,
- ["regionType"] = "aurabar",
- ["borderInFront"] = true,
- ["anchorFrameType"] = "SCREEN",
- ["icon_side"] = "RIGHT",
- ["frameStrata"] = 1,
- ["sparkHeight"] = 30,
- ["texture"] = "Blizzard",
- ["id"] = "Off Hand",
- ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
- ["auto"] = true,
- ["tocversion"] = 11302,
- ["sparkHidden"] = "NEVER",
- ["zoom"] = 0,
- ["alpha"] = 1,
- ["width"] = 165,
- ["backdropColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["uid"] = "(1XnfyKcJl3",
- ["inverse"] = true,
- ["version"] = 1,
- ["orientation"] = "HORIZONTAL",
- ["conditions"] = {
- },
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["parent"] = "Swing Timers",
- },
- ["Mana/HP tick"] = {
- ["sparkWidth"] = 10,
- ["borderBackdrop"] = "Blizzard Tooltip",
- ["xOffset"] = -462.880065917969,
- ["yOffset"] = 386.551239877939,
- ["anchorPoint"] = "CENTER",
- ["sparkRotation"] = 0,
- ["sparkRotationMode"] = "AUTO",
- ["url"] = "https://wago.io/8jnpoLFyU/1",
- ["actions"] = {
- ["start"] = {
- },
- ["finish"] = {
- ["custom"] = "WeakAuras.ScanEvents(\"TICKUPDATE\", true)",
- ["do_custom"] = false,
- },
- ["init"] = {
- ["custom"] = "aura_env.lastMana = UnitPower(\"player\" , 0)\naura_env.lastHP = UnitHealth(\"player\")\naura_env.tickTimer = GetTime()",
- ["do_custom"] = true,
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["duration"] = "2",
- ["unit"] = "player",
- ["debuffType"] = "HELPFUL",
- ["type"] = "custom",
- ["subeventPrefix"] = "SPELL",
- ["subeventSuffix"] = "_ENERGIZE",
- ["names"] = {
- },
- ["custom_type"] = "stateupdate",
- ["event"] = "Health",
- ["use_unit"] = true,
- ["spellIds"] = {
- },
- ["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",
- ["events"] = "UNIT_SPELLCAST_SUCCEEDED:player UNIT_POWER_FREQUENT:player UNIT_HEALTH_FREQUENT:player UNIT_SPELLCAST_SUCCEEDED:player",
- ["use_sourceUnit"] = true,
- ["check"] = "event",
- ["unevent"] = "auto",
- ["sourceUnit"] = "player",
- ["customVariables"] = "{\n duration = true\n}",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- ["disjunctive"] = "any",
- ["activeTriggerMode"] = -10,
- },
- ["icon_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["internalVersion"] = 26,
- ["semver"] = "1.0.1",
- ["selfPoint"] = "CENTER",
- ["backdropInFront"] = false,
- ["barColor"] = {
- 0, -- [1]
- 0.23529411764706, -- [2]
- 1, -- [3]
- 0, -- [4]
- },
- ["desaturate"] = false,
- ["icon"] = false,
- ["sparkOffsetX"] = 0,
- ["sparkOffsetY"] = 0,
- ["subRegions"] = {
- {
- ["type"] = "aurabar_bar",
- }, -- [1]
- {
- ["text_shadowXOffset"] = 1,
- ["text_text"] = "%p",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_selfPoint"] = "AUTO",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["type"] = "subtext",
- ["text_anchorXOffset"] = 15,
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Accidental Presidency",
- ["text_anchorYOffset"] = -10,
- ["text_fontType"] = "None",
- ["text_anchorPoint"] = "SPARK",
- ["text_shadowYOffset"] = -1,
- ["text_fontSize"] = 20,
- ["anchorXOffset"] = 0,
- ["text_visible"] = false,
- }, -- [2]
- {
- ["border_offset"] = 5,
- ["border_anchor"] = "bar",
- ["border_size"] = 16,
- ["border_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["border_visible"] = false,
- ["border_edge"] = "None",
- ["type"] = "subborder",
- }, -- [3]
- },
- ["height"] = 0.999994575977326,
- ["stickyDuration"] = false,
- ["load"] = {
- ["use_class"] = false,
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["single"] = "ROGUE",
- ["multi"] = {
- ["HUNTER"] = true,
- ["WARLOCK"] = true,
- ["SHAMAN"] = true,
- ["MAGE"] = true,
- ["DRUID"] = true,
- ["PALADIN"] = true,
- ["PRIEST"] = true,
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["sparkBlendMode"] = "ADD",
- ["backdropColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["version"] = 1,
- ["animation"] = {
- ["start"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["main"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["finish"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- },
- ["uid"] = "pT4cxPhiDMe",
- ["sparkColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["color"] = {
- },
- ["smoothProgress"] = false,
- ["useAdjustededMin"] = false,
- ["regionType"] = "aurabar",
- ["borderInFront"] = true,
- ["width"] = 117.402137756348,
- ["icon_side"] = "RIGHT",
- ["frameStrata"] = 4,
- ["sparkHeight"] = 30,
- ["texture"] = "ElvUI Blank",
- ["id"] = "Mana/HP tick",
- ["zoom"] = 0,
- ["spark"] = true,
- ["tocversion"] = 11302,
- ["sparkHidden"] = "NEVER",
- ["auto"] = true,
- ["alpha"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
- ["config"] = {
- },
- ["inverse"] = false,
- ["useAdjustededMax"] = false,
- ["orientation"] = "HORIZONTAL",
- ["conditions"] = {
- {
- ["check"] = {
- ["trigger"] = 1,
- ["op"] = "<",
- ["value"] = "5",
- ["variable"] = "duration",
- },
- ["changes"] = {
- {
- ["value"] = true,
- ["property"] = "inverse",
- }, -- [1]
- },
- }, -- [1]
- },
- ["backgroundColor"] = {
- 0, -- [1]
- 0.22352941176471, -- [2]
- 1, -- [3]
- 0, -- [4]
- },
- ["authorOptions"] = {
- },
- },
- ["XP/hr tracker"] = {
- ["outline"] = "OUTLINE",
- ["fontSize"] = 11,
- ["xOffset"] = -740.326286315918,
- ["displayText"] = "%c",
- ["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",
- ["yOffset"] = -364.226631164551,
- ["regionType"] = "text",
- ["wordWrap"] = "WordWrap",
- ["authorOptions"] = {
- },
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["customTextUpdate"] = "update",
- ["automaticWidth"] = "Fixed",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["do_custom"] = true,
- ["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",
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["custom_hide"] = "custom",
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["unevent"] = "timed",
- ["names"] = {
- },
- ["duration"] = "1",
- ["event"] = "Chat Message",
- ["subeventPrefix"] = "SPELL",
- ["custom_type"] = "status",
- ["spellIds"] = {
- },
- ["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",
- ["events"] = "PLAYER_XP_UPDATE, PLAYER_LEVEL_UP",
- ["check"] = "event",
- ["dynamicDuration"] = false,
- ["unit"] = "player",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- ["custom"] = "\n\n\n",
- },
- }, -- [1]
- ["disjunctive"] = "any",
- ["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",
- ["activeTriggerMode"] = -10,
- },
- ["fixedWidth"] = 200,
- ["internalVersion"] = 26,
- ["justify"] = "LEFT",
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["id"] = "XP/hr tracker",
- ["selfPoint"] = "BOTTOM",
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["config"] = {
- },
- ["font"] = "Friz Quadrata TT",
- ["uid"] = "2eOb5Ideo2I",
- ["subRegions"] = {
- },
- ["conditions"] = {
- },
- ["load"] = {
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["use_level"] = true,
- ["faction"] = {
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["level_operator"] = "<",
- ["level"] = "60",
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["anchorPoint"] = "CENTER",
- },
- ["[WoW Classic] Map Coords"] = {
- ["outline"] = "OUTLINE",
- ["xOffset"] = 759.243835449219,
- ["displayText"] = "%n",
- ["customText"] = "",
- ["yOffset"] = 265.692138671875,
- ["anchorPoint"] = "CENTER",
- ["customTextUpdate"] = "update",
- ["automaticWidth"] = "Auto",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["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",
- ["do_custom"] = true,
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["custom_hide"] = "timed",
- ["subeventSuffix"] = "_CAST_START",
- ["custom_type"] = "status",
- ["spellIds"] = {
- },
- ["event"] = "Health",
- ["unit"] = "player",
- ["customDuration"] = "",
- ["customName"] = "function()\n return aura_env.update_coords()\nend",
- ["custom"] = "function()\n return true\nend",
- ["subeventPrefix"] = "SPELL",
- ["check"] = "update",
- ["events"] = "",
- ["names"] = {
- },
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["internalVersion"] = 26,
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["desc"] = "Map Coords in WeakAura Text Form. Move wherever you want it. Based on MapCoords Classic (https://www.wowinterface.com/downloads/info24920-MapCoordsClassic.html)",
- ["font"] = "Friz Quadrata TT",
- ["version"] = 2,
- ["load"] = {
- ["class"] = {
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["fontSize"] = 10,
- ["regionType"] = "text",
- ["selfPoint"] = "BOTTOM",
- ["justify"] = "LEFT",
- ["authorOptions"] = {
- },
- ["id"] = "[WoW Classic] Map Coords",
- ["semver"] = "1.0.1",
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["uid"] = "a8SeLpXNx6F",
- ["conditions"] = {
- },
- ["url"] = "https://wago.io/7pjnohU80/2",
- ["fixedWidth"] = 200,
- ["config"] = {
- },
- ["wordWrap"] = "WordWrap",
- },
- ["melee"] = {
- ["parent"] = "range check",
- ["yOffset"] = -64.9035339355469,
- ["anchorPoint"] = "CENTER",
- ["cooldownSwipe"] = true,
- ["cooldownEdge"] = false,
- ["icon"] = true,
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["custom_hide"] = "timed",
- ["unevent"] = "auto",
- ["subeventSuffix"] = "_CAST_START",
- ["duration"] = "1",
- ["event"] = "Health",
- ["subeventPrefix"] = "SPELL",
- ["custom_type"] = "status",
- ["custom"] = "function()\nif IsSpellInRange(\"Wing Clip\",\"target\") == 1 and UnitExists(\"target\") then return true else return false end\nend",
- ["spellIds"] = {
- },
- ["use_unit"] = true,
- ["check"] = "update",
- ["names"] = {
- },
- ["unit"] = "player",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- ["custom"] = "function()\nif not (IsSpellInRange(\"Wing Clip\",\"target\") == 1 and UnitExists(\"target\")) then return true else return false end\nend",
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["internalVersion"] = 26,
- ["keepAspectRatio"] = false,
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["desaturate"] = false,
- ["subRegions"] = {
- {
- ["text_shadowXOffset"] = 0,
- ["type"] = "subtext",
- ["text_text"] = "%s",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = 0,
- ["text_selfPoint"] = "AUTO",
- ["rotateText"] = "NONE",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_BOTTOMRIGHT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["text_fontSize"] = 12,
- ["anchorXOffset"] = 0,
- ["text_fontType"] = "OUTLINE",
- }, -- [1]
- },
- ["height"] = 30,
- ["load"] = {
- ["use_class"] = true,
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["single"] = "HUNTER",
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["regionType"] = "icon",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- },
- ["finish"] = {
- },
- },
- ["selfPoint"] = "CENTER",
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["displayIcon"] = 132223,
- ["cooldownTextDisabled"] = false,
- ["auto"] = true,
- ["alpha"] = 1,
- ["id"] = "melee",
- ["anchorFrameType"] = "SCREEN",
- ["frameStrata"] = 1,
- ["width"] = 30,
- ["config"] = {
- },
- ["uid"] = "t1znHsl7XhW",
- ["inverse"] = false,
- ["zoom"] = 0,
- ["conditions"] = {
- },
- ["xOffset"] = 59.2769775390625,
- ["authorOptions"] = {
- },
- },
- ["range check"] = {
- ["backdropColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["controlledChildren"] = {
- "range 2", -- [1]
- "range", -- [2]
- "melee", -- [3]
- },
- ["borderBackdrop"] = "Blizzard Tooltip",
- ["authorOptions"] = {
- },
- ["border"] = false,
- ["borderEdge"] = "1 Pixel",
- ["regionType"] = "group",
- ["borderSize"] = 2,
- ["xOffset"] = 0,
- ["borderColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["debuffType"] = "HELPFUL",
- ["type"] = "aura2",
- ["spellIds"] = {
- },
- ["subeventSuffix"] = "_CAST_START",
- ["unit"] = "player",
- ["subeventPrefix"] = "SPELL",
- ["event"] = "Health",
- ["names"] = {
- },
- },
- ["untrigger"] = {
- },
- }, -- [1]
- },
- ["anchorPoint"] = "CENTER",
- ["borderOffset"] = 4,
- ["yOffset"] = 0,
- ["selfPoint"] = "BOTTOMLEFT",
- ["id"] = "range check",
- ["internalVersion"] = 26,
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["borderInset"] = 1,
- ["config"] = {
- },
- ["uid"] = "gyi0lZs0JcJ",
- ["subRegions"] = {
- },
- ["conditions"] = {
- },
- ["load"] = {
- ["use_class"] = false,
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["scale"] = 1,
- },
- ["Not Attacking"] = {
- ["outline"] = "OUTLINE",
- ["xOffset"] = -105.692565917969,
- ["displayText"] = "La pet, pete",
- ["yOffset"] = -122.411865234375,
- ["anchorPoint"] = "CENTER",
- ["cooldownSwipe"] = true,
- ["customTextUpdate"] = "update",
- ["url"] = "https://wago.io/dblkLG2sC/2",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["do_custom"] = false,
- ["custom"] = "\n\n",
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["custom_type"] = "status",
- ["debuffType"] = "HELPFUL",
- ["event"] = "Health",
- ["unit"] = "player",
- ["names"] = {
- },
- ["events"] = "WA_CHECK_PET",
- ["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",
- ["subeventPrefix"] = "SPELL",
- ["check"] = "update",
- ["spellIds"] = {
- },
- ["subeventSuffix"] = "_CAST_START",
- ["custom_hide"] = "timed",
- },
- ["untrigger"] = {
- ["custom"] = "",
- },
- }, -- [1]
- ["disjunctive"] = "any",
- ["activeTriggerMode"] = -10,
- },
- ["internalVersion"] = 26,
- ["keepAspectRatio"] = false,
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["preset"] = "shake",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["desaturate"] = true,
- ["font"] = "Expressway",
- ["version"] = 2,
- ["subRegions"] = {
- },
- ["height"] = 30,
- ["load"] = {
- ["use_class"] = false,
- ["use_combat"] = true,
- ["class"] = {
- ["single"] = "WARLOCK",
- ["multi"] = {
- ["HUNTER"] = true,
- ["WARLOCK"] = true,
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["fontSize"] = 35,
- ["anchorFrameType"] = "SCREEN",
- ["zoom"] = 0,
- ["selfPoint"] = "BOTTOMLEFT",
- ["color"] = {
- 0.97647058823529, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["wordWrap"] = "WordWrap",
- ["regionType"] = "icon",
- ["fixedWidth"] = 200,
- ["icon"] = true,
- ["displayIcon"] = 132152,
- ["uid"] = "jYNLOqd6kyQ",
- ["alpha"] = 1,
- ["auto"] = true,
- ["cooldownTextDisabled"] = false,
- ["justify"] = "LEFT",
- ["tocversion"] = 11302,
- ["id"] = "Not Attacking",
- ["semver"] = "1.0.1",
- ["frameStrata"] = 1,
- ["width"] = 30,
- ["parent"] = "g1",
- ["config"] = {
- },
- ["inverse"] = false,
- ["automaticWidth"] = "Auto",
- ["conditions"] = {
- },
- ["cooldownEdge"] = false,
- ["authorOptions"] = {
- },
- },
- ["QuestLog"] = {
- ["outline"] = "OUTLINE",
- ["fontSize"] = 12,
- ["xOffset"] = 0,
- ["displayText"] = "",
- ["yOffset"] = 0,
- ["regionType"] = "text",
- ["wordWrap"] = "WordWrap",
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["anchorPoint"] = "CENTER",
- ["customTextUpdate"] = "event",
- ["automaticWidth"] = "Auto",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["do_custom"] = true,
- ["custom"] = "aura_env.lastupdate = 0",
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["custom_hide"] = "timed",
- ["duration"] = "1",
- ["event"] = "Chat Message",
- ["subeventPrefix"] = "SPELL",
- ["custom_type"] = "event",
- ["spellIds"] = {
- },
- ["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",
- ["unevent"] = "timed",
- ["names"] = {
- },
- ["events"] = "ZONE_CHANGED_NEW_AREA",
- ["unit"] = "player",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- ["disjunctive"] = "any",
- ["activeTriggerMode"] = -10,
- },
- ["fixedWidth"] = 200,
- ["internalVersion"] = 26,
- ["justify"] = "LEFT",
- ["selfPoint"] = "BOTTOM",
- ["id"] = "QuestLog",
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["font"] = "Friz Quadrata TT",
- ["uid"] = "OUavMyfn3bh",
- ["config"] = {
- },
- ["subRegions"] = {
- },
- ["conditions"] = {
- },
- ["load"] = {
- ["ingroup"] = {
- },
- ["use_level"] = true,
- ["talent"] = {
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["use_zone"] = false,
- ["use_never"] = false,
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["level"] = "60",
- ["level_operator"] = "<",
- ["size"] = {
- ["single"] = "none",
- ["multi"] = {
- ["none"] = true,
- },
- },
- },
- ["authorOptions"] = {
- },
- },
- ["Ability Cast"] = {
- ["sparkWidth"] = 10,
- ["sparkOffsetX"] = 0,
- ["authorOptions"] = {
- {
- ["type"] = "toggle",
- ["key"] = "aimedShot",
- ["width"] = 2,
- ["name"] = "Aimed Shot",
- ["useDesc"] = true,
- ["default"] = true,
- ["desc"] = "Display Aimed Shot castbar",
- }, -- [1]
- {
- ["type"] = "toggle",
- ["key"] = "multiShot",
- ["width"] = 1,
- ["name"] = "Multi-Shot",
- ["useDesc"] = true,
- ["default"] = true,
- ["desc"] = "Display Multi-Shot castbar",
- }, -- [2]
- {
- ["type"] = "toggle",
- ["key"] = "autoShot",
- ["width"] = 1,
- ["name"] = "Auto Shot",
- ["useDesc"] = true,
- ["default"] = true,
- ["desc"] = "Display Auto Shot castbar",
- }, -- [3]
- {
- ["type"] = "toggle",
- ["key"] = "volleyShot",
- ["default"] = false,
- ["name"] = "Volley",
- ["useDesc"] = false,
- ["width"] = 1,
- }, -- [4]
- },
- ["adjustedMax"] = 3,
- ["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",
- ["yOffset"] = 0,
- ["anchorPoint"] = "CENTER",
- ["sparkRotation"] = 0,
- ["customTextUpdate"] = "update",
- ["url"] = "https://wago.io/92y4H96_t/16",
- ["backgroundColor"] = {
- 0.13725490196078, -- [1]
- 0.13725490196078, -- [2]
- 0.13725490196078, -- [3]
- 1, -- [4]
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["duration"] = "3",
- ["use_spell"] = true,
- ["use_unit"] = true,
- ["subeventPrefix"] = "SPELL",
- ["debuffType"] = "HELPFUL",
- ["customIcon"] = "function()\n local _, _, spellIcon = GetSpellInfo(shotId)\n return spellIcon\nend",
- ["spellName"] = "Aimed Shot",
- ["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",
- ["use_cloneId"] = false,
- ["custom_hide"] = "timed",
- ["subeventSuffix"] = "_CAST_START",
- ["spell"] = "aimed shot",
- ["spellIds"] = {
- },
- ["custom_type"] = "status",
- ["use_spellName"] = true,
- ["unevent"] = "auto",
- ["event"] = "Cast",
- ["names"] = {
- },
- ["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",
- ["customName"] = "function()\n local spellName = GetSpellInfo(shotId)\n return spellName\nend\n\n\n",
- ["events"] = "COMBAT_LOG_EVENT_UNFILTERED, PLAYER_STARTED_MOVING",
- ["use_sourceUnit"] = true,
- ["check"] = "event",
- ["type"] = "custom",
- ["sourceUnit"] = "player",
- ["unit"] = "player",
- },
- ["untrigger"] = {
- ["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",
- },
- }, -- [1]
- ["disjunctive"] = "all",
- ["activeTriggerMode"] = 1,
- },
- ["icon_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["internalVersion"] = 26,
- ["animation"] = {
- ["start"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["main"] = {
- ["colorR"] = 1,
- ["colorA"] = 1,
- ["scaley"] = 1,
- ["colorType"] = "custom",
- ["use_color"] = true,
- ["alpha"] = 0,
- ["colorB"] = 1,
- ["y"] = 0,
- ["x"] = 0,
- ["colorG"] = 1,
- ["type"] = "none",
- ["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",
- ["rotate"] = 0,
- ["scalex"] = 1,
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- },
- ["sparkHidden"] = "NEVER",
- ["barColor"] = {
- 0, -- [1]
- 0.52549019607843, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["desaturate"] = false,
- ["parent"] = "Hunter Castbar",
- ["actions"] = {
- ["start"] = {
- },
- ["finish"] = {
- },
- ["init"] = {
- ["custom"] = "\n\n",
- ["do_custom"] = false,
- },
- },
- ["version"] = 16,
- ["subRegions"] = {
- {
- ["type"] = "aurabar_bar",
- }, -- [1]
- {
- ["text_shadowXOffset"] = 0,
- ["type"] = "subtext",
- ["text_text"] = "%n",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "DorisPP",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "OUTLINE",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_LEFT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["text_fontSize"] = 12,
- ["anchorXOffset"] = 0,
- ["rotateText"] = "NONE",
- }, -- [2]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "%c1 / %t %c2 ",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "DorisPP",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_RIGHT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["text_fontSize"] = 12,
- ["anchorXOffset"] = 0,
- ["rotateText"] = "NONE",
- }, -- [3]
- {
- ["type"] = "subborder",
- ["border_anchor"] = "bar",
- ["border_offset"] = 1,
- ["border_color"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["border_visible"] = true,
- ["border_edge"] = "1 Pixel",
- ["border_size"] = 1,
- }, -- [4]
- },
- ["height"] = 28,
- ["xOffset"] = 0,
- ["load"] = {
- ["use_class"] = true,
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["single"] = "HUNTER",
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["sparkBlendMode"] = "ADD",
- ["authorMode"] = true,
- ["useAdjustededMax"] = false,
- ["sparkRotationMode"] = "AUTO",
- ["config"] = {
- ["autoShot"] = false,
- ["aimedShot"] = true,
- ["multiShot"] = true,
- ["volleyShot"] = true,
- },
- ["sparkColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["anchorFrameParent"] = false,
- ["smoothProgress"] = true,
- ["anchorFrameFrame"] = "AceGUI30Button3",
- ["regionType"] = "aurabar",
- ["anchorFrameType"] = "SCREEN",
- ["frameStrata"] = 1,
- ["icon_side"] = "LEFT",
- ["auto"] = true,
- ["sparkHeight"] = 30,
- ["texture"] = "Flat",
- ["spark"] = false,
- ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
- ["semver"] = "2.0.7-16",
- ["tocversion"] = 11302,
- ["id"] = "Ability Cast",
- ["zoom"] = 0,
- ["alpha"] = 1,
- ["width"] = 245,
- ["useAdjustededMin"] = false,
- ["uid"] = "etk0U6Fp17o",
- ["inverse"] = true,
- ["icon"] = false,
- ["orientation"] = "HORIZONTAL",
- ["conditions"] = {
- },
- ["sparkOffsetY"] = 0,
- ["selfPoint"] = "CENTER",
- },
- ["Ranged"] = {
- ["sparkWidth"] = 10,
- ["borderBackdrop"] = "Blizzard Tooltip",
- ["authorOptions"] = {
- },
- ["yOffset"] = 0,
- ["anchorPoint"] = "CENTER",
- ["sparkRotation"] = 0,
- ["customTextUpdate"] = "update",
- ["url"] = "https://wago.io/fpdm12tUX/1",
- ["icon"] = true,
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "status",
- ["unevent"] = "auto",
- ["unit"] = "player",
- ["duration"] = "1",
- ["event"] = "Swing Timer",
- ["use_unit"] = true,
- ["subeventPrefix"] = "SPELL",
- ["subeventSuffix"] = "_CAST_START",
- ["spellIds"] = {
- },
- ["use_hand"] = true,
- ["names"] = {
- },
- ["use_inverse"] = false,
- ["hand"] = "ranged",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- ["hand"] = "ranged",
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["icon_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["internalVersion"] = 26,
- ["selfPoint"] = "CENTER",
- ["backdropInFront"] = false,
- ["spark"] = false,
- ["barColor"] = {
- 0.66666666666667, -- [1]
- 0.66666666666667, -- [2]
- 0.66666666666667, -- [3]
- 1, -- [4]
- },
- ["stickyDuration"] = false,
- ["backgroundColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 0.5, -- [4]
- },
- ["sparkOffsetY"] = 0,
- ["subRegions"] = {
- {
- ["type"] = "aurabar_bar",
- }, -- [1]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "%p",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_RIGHT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 8,
- }, -- [2]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "Ranged",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_LEFT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 8,
- }, -- [3]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "%s",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "ICON_CENTER",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 12,
- }, -- [4]
- {
- ["type"] = "subborder",
- ["border_anchor"] = "bar",
- ["border_offset"] = 5,
- ["border_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["border_visible"] = false,
- ["border_edge"] = "None",
- ["border_size"] = 16,
- }, -- [5]
- },
- ["height"] = 10,
- ["backdropColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["load"] = {
- ["use_class"] = false,
- ["use_never"] = false,
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["multi"] = {
- ["ROGUE"] = true,
- ["WARRIOR"] = true,
- ["WARLOCK"] = true,
- ["PALADIN"] = true,
- ["MAGE"] = true,
- ["DRUID"] = true,
- ["SHAMAN"] = true,
- ["PRIEST"] = true,
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["sparkBlendMode"] = "ADD",
- ["useAdjustededMax"] = false,
- ["sparkOffsetX"] = 0,
- ["xOffset"] = 0,
- ["version"] = 1,
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["uid"] = "(R3kCEqElPt",
- ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
- ["useAdjustededMin"] = false,
- ["regionType"] = "aurabar",
- ["borderInFront"] = true,
- ["width"] = 165,
- ["icon_side"] = "RIGHT",
- ["frameStrata"] = 1,
- ["sparkHeight"] = 30,
- ["texture"] = "Blizzard",
- ["id"] = "Ranged",
- ["zoom"] = 0,
- ["auto"] = true,
- ["tocversion"] = 11302,
- ["sparkHidden"] = "NEVER",
- ["sparkColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["alpha"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["desaturate"] = false,
- ["config"] = {
- },
- ["inverse"] = true,
- ["parent"] = "Swing Timers",
- ["orientation"] = "HORIZONTAL",
- ["conditions"] = {
- },
- ["sparkRotationMode"] = "AUTO",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["do_custom"] = false,
- },
- ["finish"] = {
- },
- },
- },
- ["QuestXP"] = {
- ["outline"] = "OUTLINE",
- ["fontSize"] = 11,
- ["xOffset"] = -740.326316833496,
- ["displayText"] = "Total quest XP: %c1\nQuest watch list XP: %c3\nCompleted quest XP: %c2",
- ["customText"] = "function()\n return aura_env.totalQXP, aura_env.completedQXP, aura_env.watchListQXP\nend",
- ["yOffset"] = -415.385776519775,
- ["regionType"] = "text",
- ["selfPoint"] = "BOTTOM",
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["anchorPoint"] = "CENTER",
- ["customTextUpdate"] = "update",
- ["automaticWidth"] = "Fixed",
- ["actions"] = {
- ["start"] = {
- },
- ["finish"] = {
- },
- ["init"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["debuffType"] = "HELPFUL",
- ["event"] = "Health",
- ["names"] = {
- },
- ["unit"] = "player",
- ["spellIds"] = {
- },
- ["events"] = "QUEST_LOG_UPDATE, QUEST_WATCH_LIST_CHANGED",
- ["custom_type"] = "status",
- ["check"] = "event",
- ["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",
- ["subeventPrefix"] = "SPELL",
- ["custom_hide"] = "custom",
- },
- ["untrigger"] = {
- ["custom"] = "\n\n",
- },
- }, -- [1]
- ["disjunctive"] = "any",
- ["activeTriggerMode"] = -10,
- },
- ["conditions"] = {
- },
- ["internalVersion"] = 26,
- ["justify"] = "LEFT",
- ["wordWrap"] = "WordWrap",
- ["id"] = "QuestXP",
- ["animation"] = {
- ["start"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["main"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["finish"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- },
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["font"] = "Friz Quadrata TT",
- ["config"] = {
- },
- ["uid"] = "NM9xGzNeJNm",
- ["subRegions"] = {
- },
- ["fixedWidth"] = 200,
- ["load"] = {
- ["use_level"] = true,
- ["level_operator"] = "<",
- ["class"] = {
- ["multi"] = {
- },
- },
- ["level"] = "60",
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["authorOptions"] = {
- },
- },
- ["skipBattlemasterGossip"] = {
- ["outline"] = "OUTLINE",
- ["xOffset"] = 0,
- ["displayText"] = "",
- ["yOffset"] = 0,
- ["anchorPoint"] = "CENTER",
- ["customTextUpdate"] = "update",
- ["url"] = "https://wago.io/xcYaiEY-f/3",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["event"] = "Health",
- ["unit"] = "player",
- ["subeventPrefix"] = "SPELL",
- ["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",
- ["spellIds"] = {
- },
- ["events"] = "GOSSIP_SHOW",
- ["check"] = "event",
- ["names"] = {
- },
- ["custom_type"] = "status",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- {
- ["trigger"] = {
- ["use_resting"] = true,
- ["unevent"] = "auto",
- ["duration"] = "1",
- ["event"] = "Conditions",
- ["unit"] = "player",
- ["use_unit"] = true,
- ["type"] = "status",
- ["use_alive"] = true,
- ["subeventSuffix"] = "_CAST_START",
- ["subeventPrefix"] = "SPELL",
- },
- ["untrigger"] = {
- },
- }, -- [2]
- ["activeTriggerMode"] = -10,
- },
- ["internalVersion"] = 26,
- ["selfPoint"] = "CENTER",
- ["desaturate"] = false,
- ["rotation"] = 0,
- ["font"] = "Friz Quadrata TT",
- ["version"] = 3,
- ["subRegions"] = {
- },
- ["height"] = 200,
- ["rotate"] = true,
- ["load"] = {
- ["class"] = {
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["use_never"] = false,
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["fontSize"] = 12,
- ["mirror"] = false,
- ["fixedWidth"] = 200,
- ["regionType"] = "text",
- ["wordWrap"] = "WordWrap",
- ["blendMode"] = "BLEND",
- ["desc"] = "Made by Xelectra-Arugal",
- ["discrete_rotation"] = 0,
- ["texture"] = "Interface\\Addons\\WeakAuras\\PowerAurasMedia\\Auras\\Aura3",
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.75, -- [4]
- },
- ["semver"] = "1.1.1-3",
- ["justify"] = "LEFT",
- ["tocversion"] = 11303,
- ["id"] = "skipBattlemasterGossip",
- ["config"] = {
- },
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["alpha"] = 1,
- ["uid"] = "5Xy6hBGwabh",
- ["width"] = 200,
- ["automaticWidth"] = "Auto",
- ["conditions"] = {
- },
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["authorOptions"] = {
- },
- },
- ["Unused Talent!"] = {
- ["outline"] = "THICKOUTLINE",
- ["fontSize"] = 33,
- ["regionType"] = "text",
- ["authorOptions"] = {
- },
- ["preferToUpdate"] = false,
- ["xOffset"] = 46.7964477539063,
- ["yOffset"] = 368.869689941406,
- ["anchorPoint"] = "CENTER",
- ["displayText"] = "Unused Talent Point!",
- ["config"] = {
- },
- ["color"] = {
- 1, -- [1]
- 0.011764705882353, -- [2]
- 0.14509803921569, -- [3]
- 1, -- [4]
- },
- ["customTextUpdate"] = "update",
- ["url"] = "https://wago.io/WObtGWkD3/1",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["custom_hide"] = "timed",
- ["event"] = "Health",
- ["subeventPrefix"] = "SPELL",
- ["unit"] = "player",
- ["spellIds"] = {
- },
- ["events"] = "PLAYER_ENTERING_WORLD CHARACTER_POINTS_CHANGED SPELLS_CHANGED",
- ["names"] = {
- },
- ["check"] = "event",
- ["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",
- ["custom_type"] = "status",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["automaticWidth"] = "Auto",
- ["internalVersion"] = 26,
- ["justify"] = "LEFT",
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["preset"] = "shake",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["id"] = "Unused Talent!",
- ["conditions"] = {
- },
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["semver"] = "1.0.0",
- ["uid"] = "sD0J(xtrKrj",
- ["version"] = 1,
- ["wordWrap"] = "WordWrap",
- ["selfPoint"] = "BOTTOM",
- ["fixedWidth"] = 200,
- ["load"] = {
- ["class"] = {
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["font"] = "Friz Quadrata TT",
- },
- ["g1"] = {
- ["backdropColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["controlledChildren"] = {
- "UNIT_SPELLCAST_FAILED_QUIET timer", -- [1]
- "screech", -- [2]
- "Not Attacking", -- [3]
- },
- ["borderBackdrop"] = "Blizzard Tooltip",
- ["authorOptions"] = {
- },
- ["border"] = false,
- ["borderEdge"] = "1 Pixel",
- ["regionType"] = "group",
- ["borderSize"] = 2,
- ["xOffset"] = -14.9564208984375,
- ["borderColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["yOffset"] = 12.5083312988281,
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["names"] = {
- },
- ["type"] = "aura2",
- ["spellIds"] = {
- },
- ["subeventSuffix"] = "_CAST_START",
- ["unit"] = "player",
- ["subeventPrefix"] = "SPELL",
- ["event"] = "Health",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- },
- ["anchorPoint"] = "CENTER",
- ["internalVersion"] = 26,
- ["borderOffset"] = 4,
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["id"] = "g1",
- ["selfPoint"] = "BOTTOMLEFT",
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["borderInset"] = 1,
- ["config"] = {
- },
- ["uid"] = "2BEYH7(o6ty",
- ["subRegions"] = {
- },
- ["conditions"] = {
- },
- ["load"] = {
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["scale"] = 1,
- },
- ["BG Announcer"] = {
- ["outline"] = "OUTLINE",
- ["xOffset"] = -834.444042205811,
- ["displayText"] = "%c",
- ["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",
- ["yOffset"] = -91.4436950683594,
- ["anchorPoint"] = "CENTER",
- ["customTextUpdate"] = "update",
- ["url"] = "https://wago.io/YAF9a5NlU/4",
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["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",
- ["do_custom"] = true,
- },
- ["finish"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["custom_hide"] = "custom",
- ["event"] = "Health",
- ["subeventPrefix"] = "SPELL",
- ["unit"] = "player",
- ["events"] = "UPDATE_BATTLEFIELD_STATUS, CHAT_MSG_ADDON, PLAYER_ENTERING_WORLD",
- ["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",
- ["names"] = {
- },
- ["check"] = "event",
- ["spellIds"] = {
- },
- ["custom_type"] = "status",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- ["custom"] = "function()\n return aura_env.text == \"\"; \nend",
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["internalVersion"] = 26,
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["font"] = "Friz Quadrata TT",
- ["version"] = 4,
- ["subRegions"] = {
- },
- ["load"] = {
- ["class"] = {
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["use_never"] = true,
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["fontSize"] = 12,
- ["regionType"] = "text",
- ["uid"] = "L1r5LB3W3og",
- ["selfPoint"] = "TOPLEFT",
- ["semver"] = "1.0.3",
- ["tocversion"] = 11303,
- ["id"] = "BG Announcer",
- ["authorOptions"] = {
- {
- ["type"] = "toggle",
- ["key"] = "party",
- ["default"] = true,
- ["useDesc"] = false,
- ["name"] = "Party",
- ["width"] = 1,
- }, -- [1]
- {
- ["type"] = "toggle",
- ["key"] = "raid",
- ["default"] = true,
- ["useDesc"] = false,
- ["name"] = "Raid",
- ["width"] = 1,
- }, -- [2]
- {
- ["type"] = "toggle",
- ["key"] = "guild",
- ["default"] = true,
- ["useDesc"] = false,
- ["name"] = "Guild",
- ["width"] = 1,
- }, -- [3]
- {
- ["type"] = "toggle",
- ["key"] = "names",
- ["default"] = false,
- ["useDesc"] = false,
- ["name"] = "Show Names",
- ["width"] = 1,
- }, -- [4]
- },
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["fixedWidth"] = 200,
- ["config"] = {
- ["party"] = true,
- ["raid"] = true,
- ["guild"] = true,
- ["names"] = false,
- },
- ["wordWrap"] = "WordWrap",
- ["color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["conditions"] = {
- },
- ["justify"] = "LEFT",
- ["automaticWidth"] = "Auto",
- },
- ["UNIT_SPELLCAST_FAILED_QUIET timer"] = {
- ["sparkWidth"] = 10,
- ["sparkOffsetX"] = 0,
- ["xOffset"] = 14,
- ["yOffset"] = -188,
- ["anchorPoint"] = "CENTER",
- ["sparkRotation"] = 0,
- ["sparkRotationMode"] = "AUTO",
- ["backgroundColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 0.5, -- [4]
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["duration"] = "0.5",
- ["event"] = "Health",
- ["subeventPrefix"] = "SPELL",
- ["debuffType"] = "HELPFUL",
- ["unit"] = "player",
- ["custom"] = "function(event, arg1, arg2, arg3)\nif arg3 == 75 then return true else return false end\nend",
- ["names"] = {
- },
- ["custom_type"] = "event",
- ["events"] = "UNIT_SPELLCAST_FAILED_QUIET",
- ["spellIds"] = {
- },
- ["custom_hide"] = "timed",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["icon_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["internalVersion"] = 26,
- ["selfPoint"] = "CENTER",
- ["barColor"] = {
- 1, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["desaturate"] = false,
- ["sparkOffsetY"] = 0,
- ["subRegions"] = {
- {
- ["type"] = "aurabar_bar",
- }, -- [1]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "%p",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_visible"] = false,
- ["text_fontType"] = "None",
- ["text_anchorPoint"] = "INNER_LEFT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 12,
- }, -- [2]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "%n",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_visible"] = false,
- ["text_fontType"] = "None",
- ["text_anchorPoint"] = "INNER_RIGHT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 12,
- }, -- [3]
- },
- ["height"] = 4,
- ["load"] = {
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["sparkBlendMode"] = "ADD",
- ["useAdjustededMax"] = false,
- ["auto"] = true,
- ["authorOptions"] = {
- },
- ["smoothProgress"] = false,
- ["useAdjustededMin"] = false,
- ["regionType"] = "aurabar",
- ["animation"] = {
- ["start"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["main"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["finish"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- },
- ["actions"] = {
- ["start"] = {
- },
- ["finish"] = {
- },
- ["init"] = {
- ["do_custom"] = false,
- ["custom"] = "\n\n",
- },
- },
- ["icon_side"] = "RIGHT",
- ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
- ["sparkHeight"] = 30,
- ["texture"] = "flat",
- ["sparkHidden"] = "NEVER",
- ["zoom"] = 0,
- ["spark"] = false,
- ["sparkColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["id"] = "UNIT_SPELLCAST_FAILED_QUIET timer",
- ["alpha"] = 1,
- ["frameStrata"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["width"] = 172,
- ["uid"] = "E9K(7MZ2ERx",
- ["inverse"] = true,
- ["config"] = {
- },
- ["orientation"] = "HORIZONTAL",
- ["conditions"] = {
- },
- ["icon"] = false,
- ["parent"] = "g1",
- },
- ["Main Hand"] = {
- ["sparkWidth"] = 10,
- ["borderBackdrop"] = "Blizzard Tooltip",
- ["authorOptions"] = {
- },
- ["yOffset"] = 0,
- ["anchorPoint"] = "CENTER",
- ["sparkRotation"] = 0,
- ["customTextUpdate"] = "update",
- ["url"] = "https://wago.io/fpdm12tUX/1",
- ["icon"] = true,
- ["triggers"] = {
- {
- ["trigger"] = {
- ["type"] = "status",
- ["unevent"] = "auto",
- ["unit"] = "player",
- ["duration"] = "1",
- ["event"] = "Swing Timer",
- ["use_unit"] = true,
- ["subeventPrefix"] = "SPELL",
- ["subeventSuffix"] = "_CAST_START",
- ["spellIds"] = {
- },
- ["use_hand"] = true,
- ["names"] = {
- },
- ["use_inverse"] = false,
- ["hand"] = "main",
- ["debuffType"] = "HELPFUL",
- },
- ["untrigger"] = {
- },
- }, -- [1]
- ["activeTriggerMode"] = -10,
- },
- ["icon_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["internalVersion"] = 26,
- ["spark"] = false,
- ["selfPoint"] = "CENTER",
- ["backdropInFront"] = false,
- ["barColor"] = {
- 0.66666666666667, -- [1]
- 0.66666666666667, -- [2]
- 0.66666666666667, -- [3]
- 1, -- [4]
- },
- ["desaturate"] = false,
- ["progressPrecision"] = 1,
- ["sparkOffsetX"] = 0,
- ["sparkOffsetY"] = 0,
- ["subRegions"] = {
- {
- ["type"] = "aurabar_bar",
- }, -- [1]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "%p",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_RIGHT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 8,
- }, -- [2]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "Main Hand",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_LEFT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 8,
- }, -- [3]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "%s",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "Friz Quadrata TT",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "ICON_CENTER",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["rotateText"] = "NONE",
- ["anchorXOffset"] = 0,
- ["text_fontSize"] = 12,
- }, -- [4]
- {
- ["type"] = "subborder",
- ["border_anchor"] = "bar",
- ["border_offset"] = 5,
- ["border_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["border_visible"] = false,
- ["border_edge"] = "None",
- ["border_size"] = 16,
- }, -- [5]
- },
- ["height"] = 10,
- ["stickyDuration"] = false,
- ["load"] = {
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["sparkBlendMode"] = "ADD",
- ["useAdjustededMax"] = false,
- ["actions"] = {
- ["start"] = {
- },
- ["init"] = {
- ["do_custom"] = false,
- },
- ["finish"] = {
- },
- },
- ["sparkRotationMode"] = "AUTO",
- ["backdropColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 0.5, -- [4]
- },
- ["config"] = {
- },
- ["sparkColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["xOffset"] = 0,
- ["useAdjustededMin"] = false,
- ["regionType"] = "aurabar",
- ["borderInFront"] = true,
- ["width"] = 165,
- ["icon_side"] = "RIGHT",
- ["frameStrata"] = 1,
- ["sparkHeight"] = 30,
- ["texture"] = "Blizzard",
- ["id"] = "Main Hand",
- ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
- ["auto"] = true,
- ["tocversion"] = 11302,
- ["sparkHidden"] = "NEVER",
- ["zoom"] = 0,
- ["alpha"] = 1,
- ["anchorFrameType"] = "SCREEN",
- ["backgroundColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 0.5, -- [4]
- },
- ["uid"] = "bv7d0Eti5pa",
- ["inverse"] = true,
- ["version"] = 1,
- ["orientation"] = "HORIZONTAL",
- ["conditions"] = {
- },
- ["animation"] = {
- ["start"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["main"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- ["finish"] = {
- ["type"] = "none",
- ["duration_type"] = "seconds",
- },
- },
- ["parent"] = "Swing Timers",
- },
- ["Autoshot"] = {
- ["sparkWidth"] = 10,
- ["sparkOffsetX"] = 0,
- ["authorOptions"] = {
- {
- ["type"] = "toggle",
- ["key"] = "autoShot",
- ["width"] = 1,
- ["name"] = "Auto Shot",
- ["useDesc"] = true,
- ["default"] = false,
- ["desc"] = "Display Auto Shot castbar",
- }, -- [1]
- {
- ["type"] = "toggle",
- ["key"] = "meleeWeave",
- ["width"] = 1,
- ["name"] = "Melee Weave",
- ["useDesc"] = true,
- ["default"] = false,
- ["desc"] = "Display colour change for Melee Weave",
- }, -- [2]
- },
- ["adjustedMax"] = 3,
- ["adjustedMin"] = 0.5,
- ["yOffset"] = 0,
- ["anchorPoint"] = "CENTER",
- ["sparkRotation"] = 0,
- ["sparkRotationMode"] = "AUTO",
- ["url"] = "https://wago.io/92y4H96_t/16",
- ["actions"] = {
- ["start"] = {
- },
- ["finish"] = {
- },
- ["init"] = {
- },
- },
- ["triggers"] = {
- {
- ["trigger"] = {
- ["duration"] = "3",
- ["use_spell"] = true,
- ["names"] = {
- },
- ["use_inverse"] = false,
- ["subeventPrefix"] = "SPELL",
- ["use_hand"] = true,
- ["use_cloneId"] = false,
- ["debuffType"] = "HELPFUL",
- ["hand"] = "ranged",
- ["spellName"] = "Aimed Shot",
- ["buffShowOn"] = "showOnActive",
- ["spell"] = "aimed shot",
- ["spellIds"] = {
- },
- ["unevent"] = "auto",
- ["type"] = "status",
- ["subeventSuffix"] = "_CAST_START",
- ["event"] = "Swing Timer",
- ["unit"] = "player",
- ["custom_type"] = "status",
- ["use_spellName"] = true,
- ["events"] = "",
- ["use_sourceUnit"] = true,
- ["check"] = "event",
- ["custom_hide"] = "timed",
- ["sourceUnit"] = "player",
- ["use_unit"] = true,
- },
- ["untrigger"] = {
- ["hand"] = "ranged",
- },
- }, -- [1]
- {
- ["trigger"] = {
- ["type"] = "status",
- ["unevent"] = "auto",
- ["duration"] = "1",
- ["event"] = "Unit Characteristics",
- ["use_unit"] = true,
- ["use_unitisunit"] = true,
- ["subeventPrefix"] = "SPELL",
- ["unitisunit"] = "target",
- ["subeventSuffix"] = "_CAST_START",
- ["custom_type"] = "event",
- ["unit"] = "target",
- ["custom_hide"] = "timed",
- },
- ["untrigger"] = {
- ["unit"] = "target",
- },
- }, -- [2]
- {
- ["trigger"] = {
- ["track"] = "auto",
- ["type"] = "status",
- ["unevent"] = "auto",
- ["genericShowOn"] = "showAlways",
- ["use_genericShowOn"] = true,
- ["event"] = "Cooldown Progress (Spell)",
- ["unit"] = "player",
- ["realSpellName"] = "Aimed Shot",
- ["use_spellName"] = true,
- ["subeventSuffix"] = "_CAST_START",
- ["duration"] = "1",
- ["use_unit"] = true,
- ["subeventPrefix"] = "SPELL",
- ["use_track"] = true,
- ["spellName"] = 20904,
- },
- ["untrigger"] = {
- ["genericShowOn"] = "showAlways",
- },
- }, -- [3]
- {
- ["trigger"] = {
- ["type"] = "status",
- ["subeventSuffix"] = "_CAST_START",
- ["genericShowOn"] = "showAlways",
- ["use_genericShowOn"] = true,
- ["event"] = "Cooldown Progress (Spell)",
- ["subeventPrefix"] = "SPELL",
- ["realSpellName"] = "Multi-Shot",
- ["use_spellName"] = true,
- ["unevent"] = "auto",
- ["duration"] = "1",
- ["unit"] = "player",
- ["use_unit"] = true,
- ["use_track"] = true,
- ["spellName"] = 14290,
- },
- ["untrigger"] = {
- ["genericShowOn"] = "showAlways",
- },
- }, -- [4]
- {
- ["trigger"] = {
- ["subeventPrefix"] = "SPELL",
- ["type"] = "custom",
- ["events"] = "COMBAT_LOG_EVENT_UNFILTERED",
- ["custom_type"] = "event",
- ["subeventSuffix"] = "_CAST_START",
- ["custom"] = "function()\n if aura_env.config[\"autoShot\"] then\n return true\n end\nend\n\n\n",
- ["event"] = "Health",
- ["custom_hide"] = "timed",
- },
- ["untrigger"] = {
- },
- }, -- [5]
- {
- ["trigger"] = {
- ["type"] = "custom",
- ["custom_type"] = "event",
- ["event"] = "Health",
- ["subeventPrefix"] = "SPELL",
- ["events"] = "COMBAT_LOG_EVENT_UNFILTERED",
- ["check"] = "event",
- ["subeventSuffix"] = "_CAST_START",
- ["custom"] = "function()\n if aura_env.config[\"meleeWeave\"] then\n return true\n end\nend\n\n\n\n\n",
- ["custom_hide"] = "timed",
- },
- ["untrigger"] = {
- },
- }, -- [6]
- ["disjunctive"] = "custom",
- ["customTriggerLogic"] = "function(trigger)\n return trigger[1] and trigger[2]\nend",
- ["activeTriggerMode"] = 1,
- },
- ["icon_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["internalVersion"] = 26,
- ["animation"] = {
- ["start"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["main"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["finish"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- },
- ["spark"] = false,
- ["barColor"] = {
- 0.090196078431373, -- [1]
- 0.79607843137255, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["desaturate"] = false,
- ["parent"] = "Hunter Castbar",
- ["version"] = 16,
- ["subRegions"] = {
- {
- ["type"] = "aurabar_bar",
- }, -- [1]
- {
- ["text_shadowXOffset"] = 0,
- ["type"] = "subtext",
- ["text_text"] = "%n",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "DorisPP",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "OUTLINE",
- ["text_visible"] = false,
- ["text_anchorPoint"] = "INNER_LEFT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["text_fontSize"] = 12,
- ["anchorXOffset"] = 0,
- ["rotateText"] = "NONE",
- }, -- [2]
- {
- ["text_shadowXOffset"] = 1,
- ["type"] = "subtext",
- ["text_text"] = "%p / %c",
- ["text_color"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["text_font"] = "DorisPP",
- ["text_shadowColor"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["text_shadowYOffset"] = -1,
- ["text_selfPoint"] = "AUTO",
- ["text_fontType"] = "None",
- ["text_visible"] = true,
- ["text_anchorPoint"] = "INNER_RIGHT",
- ["anchorYOffset"] = 0,
- ["text_justify"] = "CENTER",
- ["text_fontSize"] = 12,
- ["anchorXOffset"] = 0,
- ["rotateText"] = "NONE",
- }, -- [3]
- {
- ["type"] = "subborder",
- ["border_anchor"] = "bar",
- ["border_offset"] = 1,
- ["border_color"] = {
- 0, -- [1]
- 0, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["border_visible"] = true,
- ["border_edge"] = "1 Pixel",
- ["border_size"] = 1,
- }, -- [4]
- },
- ["height"] = 28,
- ["xOffset"] = -0.0003662109375,
- ["load"] = {
- ["use_class"] = true,
- ["use_never"] = true,
- ["class"] = {
- ["single"] = "HUNTER",
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["multi"] = {
- },
- },
- },
- ["sparkBlendMode"] = "ADD",
- ["useAdjustededMax"] = false,
- ["customText"] = "function()\n realTime = aura_env.state.duration - 0.5\n return string.format(\"%.1f\", realTime)\nend\n\n\n",
- ["backgroundColor"] = {
- 0.13725490196078, -- [1]
- 0.13725490196078, -- [2]
- 0.13725490196078, -- [3]
- 1, -- [4]
- },
- ["sparkColor"] = {
- 1, -- [1]
- 1, -- [2]
- 1, -- [3]
- 1, -- [4]
- },
- ["anchorFrameFrame"] = "WeakAuras:Hunter Castbar",
- ["uid"] = "pGIV6slKMtd",
- ["smoothProgress"] = false,
- ["useAdjustededMin"] = true,
- ["regionType"] = "aurabar",
- ["zoom"] = 0,
- ["anchorFrameType"] = "SCREEN",
- ["icon_side"] = "RIGHT",
- ["frameStrata"] = 1,
- ["anchorFrameParent"] = false,
- ["texture"] = "Flat",
- ["id"] = "Autoshot",
- ["sparkTexture"] = "Interface\\CastingBar\\UI-CastingBar-Spark",
- ["semver"] = "2.0.7-16",
- ["tocversion"] = 11302,
- ["sparkHidden"] = "NEVER",
- ["auto"] = true,
- ["alpha"] = 1,
- ["width"] = 245,
- ["sparkHeight"] = 30,
- ["config"] = {
- ["autoShot"] = false,
- ["meleeWeave"] = false,
- },
- ["inverse"] = false,
- ["icon"] = false,
- ["orientation"] = "HORIZONTAL",
- ["conditions"] = {
- {
- ["check"] = {
- ["trigger"] = -2,
- ["variable"] = "AND",
- ["checks"] = {
- {
- ["trigger"] = 3,
- ["variable"] = "onCooldown",
- ["value"] = 1,
- }, -- [1]
- {
- ["trigger"] = 4,
- ["variable"] = "onCooldown",
- ["value"] = 1,
- }, -- [2]
- {
- ["trigger"] = 6,
- ["variable"] = "show",
- ["value"] = 1,
- }, -- [3]
- },
- },
- ["changes"] = {
- {
- ["value"] = {
- 0.090196078431373, -- [1]
- 0.79607843137255, -- [2]
- 0, -- [3]
- 1, -- [4]
- },
- ["property"] = "barColor",
- }, -- [1]
- {
- }, -- [2]
- },
- }, -- [1]
- {
- ["check"] = {
- ["trigger"] = -2,
- ["variable"] = "AND",
- ["checks"] = {
- {
- ["trigger"] = -2,
- ["variable"] = "OR",
- ["checks"] = {
- {
- ["trigger"] = 3,
- ["variable"] = "onCooldown",
- ["value"] = 0,
- }, -- [1]
- {
- ["trigger"] = 4,
- ["variable"] = "onCooldown",
- ["value"] = 0,
- }, -- [2]
- },
- }, -- [1]
- {
- ["trigger"] = 6,
- ["variable"] = "show",
- ["value"] = 1,
- }, -- [2]
- },
- },
- ["changes"] = {
- {
- ["value"] = {
- 0.7921568627451, -- [1]
- 0.79607843137255, -- [2]
- 0.75294117647059, -- [3]
- 1, -- [4]
- },
- ["property"] = "barColor",
- }, -- [1]
- },
- }, -- [2]
- },
- ["selfPoint"] = "CENTER",
- ["sparkOffsetY"] = 0,
- },
- },
- ["lastArchiveClear"] = 1581486214,
- ["minimap"] = {
- ["minimapPos"] = 198.733304093041,
- ["hide"] = false,
- },
- ["lastUpgrade"] = 1579741741,
- ["dbVersion"] = 26,
- ["clearOldHistory"] = 30,
- ["registered"] = {
- },
- ["login_squelch_time"] = 10,
- ["frame"] = {
- ["xOffset"] = -69.0916748046875,
- ["yOffset"] = -116.035400390625,
- ["height"] = 664.999938964844,
- ["width"] = 829.999755859375,
- },
- ["instanceHistoryDb"] = {
- ["sess"] = {
- ["histOldest"] = "n/a",
- ["enterLoc"] = {
- ["instance"] = -1,
- },
- ["delayUpdate"] = 1583495896,
- ["histLiveCount"] = 0,
- },
- ["History"] = {
- },
- ["lastLoc"] = {
- ["instance"] = -1,
- },
- ["histGeneration"] = 553,
- ["config"] = {
- ["displayMin"] = 2,
- ["debug"] = false,
- ["updateInterval"] = 5,
- ["ShowServer"] = false,
- ["ReportResets"] = false,
- },
- ["Instances"] = {
- },
- },
- ["editor_theme"] = "Monokai",
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement