{ "m": "d", "s": "3.3.0", "d": { "yOffset": 538.00085449219, "information": { "ignoreOptionsEventErrors": true }, "regionType": "dynamicgroup", "animation": { "main": { "type": "none", "duration_type": "seconds", "easeType": "none", "easeStrength": 3 }, "start": { "type": "none", "duration_type": "seconds", "easeType": "none", "easeStrength": 3 }, "finish": { "type": "none", "duration_type": "seconds", "easeType": "none", "easeStrength": 3 } }, "limit": 5, "uid": "m8artOu3UVD", "arcLength": 360, "useLimit": false, "xOffset": -582, "borderEdge": "Square Full White", "animate": true, "subRegions": [], "radius": 200, "actions": { "init": [], "start": [], "finish": [] }, "config": [], "tocversion": 11307, "scale": 1, "authorOptions": [], "groupIcon": "136041", "gridType": "RD", "selfPoint": "TOP", "grow": "DOWN", "internalVersion": 45, "border": false, "borderInset": 1, "rowSpace": 1, "borderBackdrop": "Blizzard Tooltip", "anchorFrameType": "SCREEN", "borderOffset": 4, "constantFactor": "RADIUS", "frameStrata": 1, "sort": "none", "stagger": 0, "gridWidth": 5, "id": "Raid Healer Mana", "conditions": [], "anchorPoint": "CENTER", "columnSpace": 1, "borderColor": [ 0, 0, 0, 1 ], "backdropColor": [ 1, 1, 1, 0.5 ], "load": { "zoneIds": "", "spec": { "multi": [] }, "size": { "multi": [] }, "class": { "multi": [] }, "talent": { "multi": [] }, "use_class": false }, "align": "CENTER", "triggers": [ { "untrigger": [], "trigger": { "spellIds": [], "subeventPrefix": "SPELL", "unit": "player", "event": "Health", "debuffType": "HELPFUL", "subeventSuffix": "_CAST_START", "names": [], "type": "aura2" } } ], "borderSize": 2, "space": 0, "rotation": 0, "fullCircle": true }, "v": 1421, "c": [ { "yOffset": 0, "desaturate": false, "information": { "ignoreOptionsEventErrors": true }, "sparkTexture": "Interface\\CastingBar\\UI-CastingBar-Spark", "anchorFrameType": "SCREEN", "animation": { "main": { "colorA": 1, "x": 0, "y": 0, "colorType": "custom", "alpha": 0, "colorG": 1, "colorR": 1, "colorB": 1, "scalex": 1, "easeStrength": 3, "scaley": 1, "type": "custom", "use_color": true, "rotate": 0, "duration_type": "seconds", "easeType": "none", "colorFunc": "function(progress, r1, g1, b1, a1, r2, g2, b2, a2)\n return unpack(aura_env.state.barColor)\nend" }, "start": { "colorFunc": " function(progress, r1, g1, b1, a1, r2, g2, b2, a2)\n return WeakAuras.GetHSVTransition(progress, r1, g1, b1, a1, r2, g2, b2, a2)\n end\n ", "x": 0, "y": 0, "colorType": "straightHSV", "alpha": 0, "colorG": 0, "colorR": 1, "colorB": 0.15294117647059, "scalex": 1, "duration": "", "easeStrength": 3, "scaley": 1, "colorA": 1, "use_color": false, "rotate": 0, "duration_type": "seconds", "easeType": "none", "type": "none" }, "finish": { "type": "none", "duration_type": "seconds", "easeType": "none", "easeStrength": 3 } }, "selfPoint": "CENTER", "texture": "Details Flat", "iconSource": -1, "xOffset": 0, "regionType": "aurabar", "orientation": "HORIZONTAL", "authorOptions": [ { "width": 2, "useLength": false, "length": 10, "desc": "One per line", "useDesc": true, "key": "blacklist", "type": "input", "multiline": true, "name": "Blacklist", "default": "" }, { "width": 2, "useLength": false, "length": 10, "desc": "One per line", "name": "Regeneration Buffs", "useDesc": true, "type": "input", "multiline": true, "key": "regenBuffs", "default": "" } ], "sparkOffsetX": 0, "inverse": false, "sparkColor": [ 1, 1, 1, 1 ], "spark": false, "actions": { "init": { "custom": "-- config\naura_env.blacklist = {}\nfor _, name in ipairs({strsplit(\"\\n\", aura_env.config[\"blacklist\"])}) do\n aura_env.blacklist[name] = true\nend\naura_env.regenBuffs = {strsplit(\"\\n\", aura_env.config[\"regenBuffs\"])}\n\naura_env.healerClasses = { -- the classic API doesn't support role-identification\n [\"DRUID\"] = true,\n [\"PRIEST\"] = true,\n [\"PALADIN\"] = true\n}\n\n\n-- event handlers\n-- GROUP_ROSTER_UPDATE UNIT_POWER_UPDATE UNIT_AURA\naura_env.eventHandlers = {}\n\naura_env.eventHandlers.GROUP_ROSTER_UPDATE = function(allStates)\n -- clear out all current clones, in case a player left the group\n for _, state in pairs(allStates) do\n state.show = false;\n state.changed = true;\n end\n -- add players from group\n for unit in WA_IterateGroupMembers() do\n local unitName = UnitName(unit)\n local unitClass, unitClassId = UnitClassBase(unit)\n if aura_env.healerClasses[unitClass] and not aura_env.blacklist[unitName] then\n local subGroup = IsInRaid() and select(3, GetRaidRosterInfo(UnitInRaid(unit))) or \"\"\n allStates[unit] = {\n show = true,\n changed = true,\n name = \"|cffcccccc\" .. subGroup .. \"|r \" .. unitName .. (unitName == \"Grep\" and \" |cffff0000<3|r\" or \"\"),\n index = unitClass .. unitName,\n progressType = \"static\",\n value = 0,\n total = 1,\n icon = 0,\n barColor = {RAID_CLASS_COLORS[unitClass]:GetRGB()},\n }\n aura_env.eventHandlers.UNIT_POWER_UPDATE(allStates, unit)\n end\n end\n return true\nend\n\n\naura_env.eventHandlers.UNIT_POWER_UPDATE = function(allStates, unit, ...)\n local unitState = allStates[unit]\n if not unitState then\n return false -- not tracking unit\n end\n unitState.changed = true\n unitState.value = UnitPower(unit, Enum.PowerType.Mana, false)\n unitState.total = UnitPowerMax(unit, Enum.PowerType.Mana)\n unitState.manaPercent = Round((unitState.value / unitState.total) * 100)\n return true\nend\n\n\naura_env.eventHandlers.UNIT_AURA = function(allStates, unit)\n local unitState = allStates[unit]\n if not unitState then\n return false -- not tracking unit\n end\n unitState.changed = true\n for _, regenBuff in ipairs(aura_env.regenBuffs) do\n local buffName, shouldGlow = strsplit(\"+\", regenBuff)\n local buff = {WA_GetUnitBuff(unit, buffName)}\n if #buff ~= 0 then\n unitState.icon = GetSpellTexture(buff[10])\n unitState.glow = shouldGlow ~= nil\n unitState.buffExpirationTime = buff[6]\n return true\n end\n end\n unitState.icon = 0\n unitState.glow = false\n unitState.buffExpirationTime = nil\n return true\nend\n\n\naura_env.eventHandlers.OPTIONS = function(allStates)\n return false\nend", "do_custom": true }, "start": { "do_custom": false }, "finish": [] }, "config": { "blacklist": "Borahk\nEzeriel\nKrigerkyling\nLoodt\nMagad\nRalfe\nZyaler\nSaxec\nAshrat\nFlashlight\nDraenyx\nMoonsis", "regenBuffs": "Innervate+\nAura of the Blue Dragon\nDrink\nDim Sum\nFood" }, "sparkOffsetY": 0, "width": 150, "sparkRotation": 0, "id": "Raid Healer Manabar", "sparkBlendMode": "ADD", "alpha": 1, "customTextUpdate": "update", "internalVersion": 45, "backgroundColor": [ 0, 0, 0, 0.5 ], "barColor": [ 1, 1, 1, 1 ], "sparkHidden": "NEVER", "anchorPoint": "CENTER", "tocversion": 11307, "auto": true, "subRegions": [ { "type": "aurabar_bar" }, { "text_visible": true, "text_automaticWidth": "Auto", "rotateText": "NONE", "anchorXOffset": 0, "text_fontType": "OUTLINE", "text_shadowYOffset": -1, "text_fixedWidth": 64, "text_font": "Friz Quadrata TT", "text_justify": "CENTER", "text_wordWrap": "WordWrap", "text_selfPoint": "CENTER", "text_text": "%c", "anchorYOffset": 0, "text_shadowColor": [ 0, 0, 0, 1 ], "text_anchorPoint": "ICON_CENTER", "text_color": [ 1, 1, 1, 1 ], "type": "subtext", "text_fontSize": 12, "text_shadowXOffset": 1 }, { "text_text_format_n_format": "none", "text_automaticWidth": "Auto", "rotateText": "NONE", "anchorXOffset": 0, "text_fontType": "None", "text_shadowYOffset": -1, "text_fixedWidth": 64, "text_font": "Friz Quadrata TT", "text_justify": "CENTER", "text_wordWrap": "WordWrap", "text_selfPoint": "AUTO", "text_text": "%n", "anchorYOffset": 0, "text_shadowColor": [ 0, 0, 0, 1 ], "text_anchorPoint": "INNER_LEFT", "text_color": [ 1, 1, 1, 1 ], "type": "subtext", "text_visible": true, "text_fontSize": 12, "text_shadowXOffset": 1 }, { "text_visible": true, "text_automaticWidth": "Auto", "rotateText": "NONE", "anchorXOffset": 0, "text_fontType": "None", "text_shadowYOffset": -1, "text_fixedWidth": 64, "text_font": "Friz Quadrata TT", "text_justify": "CENTER", "text_wordWrap": "WordWrap", "text_selfPoint": "AUTO", "text_text": "%manaPercent%%", "anchorYOffset": 0, "text_shadowColor": [ 0, 0, 0, 1 ], "text_anchorPoint": "INNER_RIGHT", "text_color": [ 1, 1, 1, 1 ], "type": "subtext", "text_fontSize": 12, "text_text_format_manaPercent_format": "none", "text_shadowXOffset": 1 }, { "glowColor": [ 1, 1, 1, 1 ], "glowScale": 1, "glowLines": 15, "glow": false, "glowXOffset": 0, "glowYOffset": 0, "glowThickness": 1, "glow_anchor": "bg", "glowLength": 10, "glowBorder": false, "type": "subglow", "glowType": "Pixel", "glowFrequency": 0.25, "useGlowColor": false } ], "zoom": 0.3, "height": 20, "frameStrata": 1, "icon": true, "displayIcon": "", "conditions": [ { "changes": [ { "property": "alpha", "value": 0.6 } ], "check": { "op": ">=", "trigger": 1, "variable": "manaPercent", "value": "100" } }, { "changes": [ { "property": "backgroundColor", "value": [ 0.7843137254902, 0, 0, 1 ] } ], "check": { "op": "<=", "trigger": 1, "value": "0", "variable": "value" } }, { "changes": [ { "property": "sub.5.glow", "value": true } ], "check": { "trigger": 1, "value": 1, "variable": "glow" } } ], "customText": "function()\n local expirationTime = aura_env.state.buffExpirationTime\n if expirationTime ~= 0 and expirationTime ~= nil then\n return Round(expirationTime - GetTime())\n end\n return nil\nend", "icon_color": [ 1, 1, 1, 1 ], "useAdjustededMax": false, "sparkHeight": 30, "load": { "zoneIds": "", "use_never": false, "size": { "multi": [] }, "use_ingroup": false, "spec": { "multi": [] }, "class": { "multi": [] }, "talent": { "multi": [] }, "ingroup": { "single": "group", "multi": { "raid": true, "group": true } } }, "sparkRotationMode": "AUTO", "triggers": { "1": { "untrigger": [], "trigger": { "custom_hide": "timed", "customVariables": "{\n value = true,\n total = true,\n \n glow = \"bool\",\n manaPercent = \"number\"\n}\n\n\n", "debuffType": "HELPFUL", "custom_type": "stateupdate", "names": [], "subeventPrefix": "SPELL", "custom": "function(allStates, event, ...)\n return aura_env.eventHandlers[event](allStates, ...)\nend", "unit": "player", "events": "GROUP_ROSTER_UPDATE UNIT_POWER_UPDATE UNIT_AURA", "event": "Health", "type": "custom", "subeventSuffix": "_CAST_START", "spellIds": [], "check": "event" } }, "disjunctive": "any", "activeTriggerMode": -10 }, "useAdjustededMin": false, "sparkWidth": 10, "uid": "ESDF3HQnfL9", "icon_side": "LEFT" } ] }