wow-addons/WA-RaidHealerMana/RaidHealerMana.table
Casper V. Kristensen 88a470d81a
Add WAs:
- AQ40 Anubisath Helper.
  - Fury Warrior.
  - Master Loot Helper
  - Raid Healer Mana.
  - AQ40 Skeram Helper.
  - World Buffs on Nameplates.
2020-09-22 19:56:50 +02:00

481 lines
14 KiB
Plaintext
Executable file

{
"m": "d",
"s": "2.18.2",
"d": {
"yOffset": 538.00085449219,
"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,
"selfPoint": "TOP",
"arcLength": 360,
"useLimit": false,
"borderColor": [
0,
0,
0,
1
],
"columnSpace": 1,
"animate": true,
"subRegions": [],
"radius": 200,
"config": [],
"frameStrata": 1,
"scale": 1,
"tocversion": 11305,
"groupIcon": "136041",
"authorOptions": [],
"grow": "DOWN",
"backdropColor": [
1,
1,
1,
0.5
],
"internalVersion": 33,
"border": false,
"rotation": 0,
"borderInset": 1,
"borderBackdrop": "Blizzard Tooltip",
"uid": "m8artOu3UVD",
"borderOffset": 4,
"constantFactor": "RADIUS",
"anchorFrameType": "SCREEN",
"sort": "none",
"stagger": 0,
"gridWidth": 5,
"id": "Raid Healer Mana",
"conditions": [],
"rowSpace": 1,
"gridType": "RD",
"xOffset": -740,
"actions": {
"init": [],
"start": [],
"finish": []
},
"load": {
"size": {
"multi": []
},
"spec": {
"multi": []
},
"use_class": false,
"class": {
"multi": []
}
},
"align": "CENTER",
"triggers": [
{
"untrigger": [],
"trigger": {
"spellIds": [],
"subeventPrefix": "SPELL",
"unit": "player",
"event": "Health",
"debuffType": "HELPFUL",
"subeventSuffix": "_CAST_START",
"names": [],
"type": "aura2"
}
}
],
"borderEdge": "Square Full White",
"borderSize": 2,
"anchorPoint": "CENTER",
"space": 2,
"url": "https://wago.io/XYufQKE3r/1",
"version": 1,
"semver": "1.0.0"
},
"v": 1421,
"c": [
{
"yOffset": 0,
"desaturate": false,
"sparkTexture": "Interface\\CastingBar\\UI-CastingBar-Spark",
"regionType": "aurabar",
"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",
"xOffset": 0,
"id": "Raid Healer Manabar",
"sparkRotationMode": "AUTO",
"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": ""
}
],
"height": 20,
"orientation": "HORIZONTAL",
"sparkColor": [
1,
1,
1,
1
],
"inverse": 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 allStates[unit] = {\n show = true,\n changed = true,\n name = 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",
"do_custom": true
},
"start": {
"do_custom": false
},
"finish": []
},
"config": {
"blacklist": "Borahk\nEzeriel\nKrigerkylling\nLoodt\nMagad\nRalfe\nZyaler",
"regenBuffs": "Innervate+\nAura of the Blue Dragon\nDrink\nDim Sum\nFood"
},
"sparkOffsetY": 0,
"width": 150,
"sparkRotation": 0,
"spark": false,
"sparkBlendMode": "ADD",
"uid": "ESDF3HQnfL9",
"customTextUpdate": "update",
"internalVersion": 33,
"backgroundColor": [
0,
0,
0,
0.5
],
"barColor": [
1,
1,
1,
1
],
"alpha": 1,
"anchorPoint": "CENTER",
"anchorFrameType": "SCREEN",
"sparkHidden": "NEVER",
"tocversion": 11305,
"auto": true,
"zoom": 0.3,
"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"
}
}
],
"icon_color": [
1,
1,
1,
1
],
"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",
"sparkOffsetX": 0,
"sparkHeight": 30,
"load": {
"use_never": false,
"use_ingroup": false,
"size": {
"multi": []
},
"class": {
"multi": []
},
"ingroup": {
"single": "group",
"multi": {
"raid": true,
"group": true
}
},
"spec": {
"multi": []
}
},
"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
}
],
"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
},
"useAdjustededMax": false,
"sparkWidth": 10,
"useAdjustededMin": false,
"icon_side": "LEFT",
"url": "https://wago.io/XYufQKE3r/1",
"version": 1,
"semver": "1.0.0"
}
],
"wagoID": "XYufQKE3r"
}