2020-09-22 19:56:50 +02:00
|
|
|
{
|
|
|
|
"m": "d",
|
2020-11-21 11:55:51 +01:00
|
|
|
"s": "3.0.5",
|
2020-09-22 19:56:50 +02:00
|
|
|
"d": {
|
|
|
|
"yOffset": 292.99993896484,
|
|
|
|
"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,
|
2020-11-21 11:55:51 +01:00
|
|
|
"uid": "4hcvGTqvOx8",
|
2020-09-22 19:56:50 +02:00
|
|
|
"arcLength": 360,
|
|
|
|
"useLimit": false,
|
|
|
|
"borderColor": [
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"borderEdge": "Square Full White",
|
|
|
|
"animate": false,
|
2020-11-21 11:55:51 +01:00
|
|
|
"subRegions": [],
|
|
|
|
"selfPoint": "TOPLEFT",
|
2020-09-22 19:56:50 +02:00
|
|
|
"actions": {
|
|
|
|
"init": [],
|
|
|
|
"start": [],
|
|
|
|
"finish": []
|
|
|
|
},
|
2020-11-21 11:55:51 +01:00
|
|
|
"gridType": "RD",
|
|
|
|
"config": [],
|
|
|
|
"xOffset": -533.00021362305,
|
2020-09-22 19:56:50 +02:00
|
|
|
"scale": 1,
|
2020-11-21 11:55:51 +01:00
|
|
|
"ignoreOptionsEventErrors": true,
|
2020-09-22 19:56:50 +02:00
|
|
|
"groupIcon": 136163,
|
2020-11-21 11:55:51 +01:00
|
|
|
"borderInset": 1,
|
|
|
|
"radius": 200,
|
2020-09-22 19:56:50 +02:00
|
|
|
"grow": "DOWN",
|
2020-11-21 11:55:51 +01:00
|
|
|
"internalVersion": 38,
|
2020-09-22 19:56:50 +02:00
|
|
|
"border": false,
|
|
|
|
"anchorFrameType": "SCREEN",
|
|
|
|
"frameStrata": 1,
|
2020-11-21 11:55:51 +01:00
|
|
|
"borderBackdrop": "Blizzard Tooltip",
|
|
|
|
"gridWidth": 5,
|
2020-09-22 19:56:50 +02:00
|
|
|
"borderOffset": 4,
|
|
|
|
"constantFactor": "RADIUS",
|
|
|
|
"id": "AQ40 Anubisath Helper",
|
|
|
|
"sort": "none",
|
|
|
|
"stagger": 0,
|
2020-11-21 11:55:51 +01:00
|
|
|
"tocversion": 11305,
|
|
|
|
"rowSpace": 1,
|
2020-09-22 19:56:50 +02:00
|
|
|
"conditions": [],
|
2020-11-21 11:55:51 +01:00
|
|
|
"authorOptions": [],
|
|
|
|
"anchorPoint": "CENTER",
|
|
|
|
"fullCircle": true,
|
|
|
|
"backdropColor": [
|
|
|
|
1,
|
|
|
|
1,
|
|
|
|
1,
|
|
|
|
0.5
|
|
|
|
],
|
2020-09-22 19:56:50 +02:00
|
|
|
"load": {
|
|
|
|
"class": {
|
|
|
|
"multi": []
|
|
|
|
},
|
|
|
|
"size": {
|
|
|
|
"multi": []
|
|
|
|
},
|
|
|
|
"spec": {
|
|
|
|
"multi": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"align": "LEFT",
|
|
|
|
"triggers": [
|
|
|
|
{
|
|
|
|
"untrigger": [],
|
|
|
|
"trigger": {
|
|
|
|
"spellIds": [],
|
|
|
|
"subeventPrefix": "SPELL",
|
|
|
|
"unit": "player",
|
|
|
|
"event": "Health",
|
|
|
|
"debuffType": "HELPFUL",
|
|
|
|
"subeventSuffix": "_CAST_START",
|
|
|
|
"names": [],
|
|
|
|
"type": "aura2"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2020-11-21 11:55:51 +01:00
|
|
|
"columnSpace": 1,
|
|
|
|
"borderSize": 2,
|
2020-09-22 19:56:50 +02:00
|
|
|
"space": 2,
|
2020-11-21 11:55:51 +01:00
|
|
|
"rotation": 0
|
2020-09-22 19:56:50 +02:00
|
|
|
},
|
|
|
|
"v": 1421,
|
|
|
|
"c": [
|
|
|
|
{
|
2020-11-21 11:55:51 +01:00
|
|
|
"icon_side": "LEFT",
|
2020-09-22 19:56:50 +02:00
|
|
|
"outline": "OUTLINE",
|
|
|
|
"desaturate": false,
|
2020-11-21 11:55:51 +01:00
|
|
|
"shadowYOffset": -1,
|
|
|
|
"regionType": "text",
|
|
|
|
"texture": "Blizzard",
|
|
|
|
"tocversion": 11305,
|
|
|
|
"shadowXOffset": 1,
|
|
|
|
"width": 200,
|
|
|
|
"orientation": "HORIZONTAL",
|
|
|
|
"sparkBlendMode": "ADD",
|
|
|
|
"sparkHidden": "NEVER",
|
|
|
|
"internalVersion": 38,
|
|
|
|
"barColor": [
|
|
|
|
1,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"useTooltip": true,
|
|
|
|
"shadowColor": [
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"auto": true,
|
2020-09-22 19:56:50 +02:00
|
|
|
"icon": true,
|
2020-11-21 11:55:51 +01:00
|
|
|
"conditions": [],
|
|
|
|
"inverse": false,
|
|
|
|
"automaticWidth": "Auto",
|
|
|
|
"triggers": {
|
|
|
|
"1": {
|
|
|
|
"untrigger": [],
|
|
|
|
"trigger": {
|
|
|
|
"unit": "player",
|
|
|
|
"debuffType": "HELPFUL",
|
|
|
|
"spellIds": [],
|
|
|
|
"custom_type": "stateupdate",
|
|
|
|
"custom": "function(allStates, event, ...)\n return aura_env.eventHandlers[event](allStates, ...)\nend",
|
|
|
|
"type": "custom",
|
|
|
|
"events": "PLAYER_REGEN_ENABLED UPDATE_MOUSEOVER_UNIT COMBAT_LOG_EVENT_UNFILTERED:SPELL_MISSED",
|
|
|
|
"event": "Health",
|
|
|
|
"names": [],
|
|
|
|
"subeventSuffix": "_CAST_START",
|
|
|
|
"subeventPrefix": "SPELL",
|
|
|
|
"check": "event"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"activeTriggerMode": -10
|
|
|
|
},
|
|
|
|
"sparkColor": [
|
|
|
|
1,
|
|
|
|
1,
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"fontSize": 16,
|
|
|
|
"yOffset": 0,
|
2020-09-22 19:56:50 +02:00
|
|
|
"font": "Friz Quadrata TT",
|
|
|
|
"useAdjustededMin": false,
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"selfPoint": "BOTTOM",
|
|
|
|
"xOffset": 0,
|
2020-11-21 11:55:51 +01:00
|
|
|
"subRegions": [],
|
2020-09-22 19:56:50 +02:00
|
|
|
"actions": {
|
|
|
|
"init": {
|
2020-11-21 11:55:51 +01:00
|
|
|
"custom": "-- Config\naura_env.buffPriorities = {\n [2147] = 1, --Mending\n [19595] = 2, --Shaodw and Frost Reflect\n [13022] = 3, --Fire and Arcane Reflect\n [21737] = 4, --Knock Away\n [9347] = 5, --Mortal Strike\n [2834] = 6, --Thunderclap \n [25777] = 7, --Thorns\n [812] = 8, --Mana Burn\n [2148] = 9, --Shadow Storm\n}\n\n\n\n-- Helpers\nlocal RaidIconMaskToIndex = {\n [COMBATLOG_OBJECT_RAIDTARGET1] = 1,\n [COMBATLOG_OBJECT_RAIDTARGET2] = 2,\n [COMBATLOG_OBJECT_RAIDTARGET3] = 3,\n [COMBATLOG_OBJECT_RAIDTARGET4] = 4,\n [COMBATLOG_OBJECT_RAIDTARGET5] = 5,\n [COMBATLOG_OBJECT_RAIDTARGET6] = 6,\n [COMBATLOG_OBJECT_RAIDTARGET7] = 7,\n [COMBATLOG_OBJECT_RAIDTARGET8] = 8\n}\n\n\nlocal function addState(allStates, guid, mark, auraSpellId, auraName)\n local priority = (auraSpellId and aura_env.buffPriorities[auraSpellId]) or math.huge\n if allStates[guid] ~= nil and auraSpellId == nil then -- dont overwrite detected buffs with \"?\"\n return false\n end\n allStates[guid] = {\n show = true,\n changed = true,\n name = ICON_LIST[mark] .. \":0|t \" .. (auraName or \"?\"),\n index = priority\n }\nend\n\n\n\n-- Events\naura_env.eventHandlers = {}\n\nfunction aura_env.eventHandlers.PLAYER_REGEN_ENABLED(allStates)\n for _, state in pairs(allStates) do\n state.show = false\n state.changed = true\n end\n return true\nend\n\n\nfunction aura_env.eventHandlers.UPDATE_MOUSEOVER_UNIT(allStates)\n local guid = UnitGUID(\"mouseover\")\n if guid == nil then\n return false\n end\n \n local _, _, _, _, _, npcId = strsplit(\"-\", guid)\n if npcId ~= \"15264\" then -- 15264 = Anubisath Sentinel\n return false\n end\n \n local mark = GetRaidTargetIndex(\"mouseover\")\n if mark == nil then\n return false\n end\n \n local auraName, _, _, _, _, _, _, _, _, auraSpellId = UnitAura(\"mouseover\", 1)\n addState(allStates, guid, mark, auraSpellId, auraName)\n return true\nend\n\n\nfunction aura_env.eventHandlers.COMBAT_LOG_EVENT_UNFILTERED(allStates)\n local _, event, _, _, _, _, _, guid, _, _, raidFlags, _, spellName, _, missType = CombatLogGetCurrentEventInfo()\n if event ~= \"SPELL_MISSED\" then\n return false\n end\n if spellName ~= \"Detect Magic\" then\n return false\n end\n if missType ~= \"REFLECT\" then\n return false\n end\n local mark = RaidIconMaskToIndex[bit.band(raidFlags, COMBATLOG_OBJECT_RAIDTARGET_MASK)]\n addState(allStates, guid, mark, 13022, \"Fire and Arcane Reflect\")\n return true\nend\n\n\n\n",
|
2020-09-22 19:56:50 +02:00
|
|
|
"do_custom": true
|
|
|
|
},
|
|
|
|
"start": [],
|
|
|
|
"finish": []
|
|
|
|
},
|
|
|
|
"config": [],
|
2020-11-21 11:55:51 +01:00
|
|
|
"sparkOffsetY": 0,
|
2020-09-22 19:56:50 +02:00
|
|
|
"wordWrap": "WordWrap",
|
2020-11-21 11:55:51 +01:00
|
|
|
"sparkOffsetX": 0,
|
2020-09-22 19:56:50 +02:00
|
|
|
"spark": false,
|
2020-11-21 11:55:51 +01:00
|
|
|
"useAdjustededMax": false,
|
|
|
|
"customTextUpdate": "event",
|
|
|
|
"displayText_format_n_format": "none",
|
|
|
|
"uid": "kr9RZWqE(bH",
|
2020-09-22 19:56:50 +02:00
|
|
|
"backgroundColor": [
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0.5
|
|
|
|
],
|
2020-11-21 11:55:51 +01:00
|
|
|
"load": {
|
|
|
|
"spec": {
|
|
|
|
"multi": []
|
|
|
|
},
|
|
|
|
"size": {
|
|
|
|
"multi": []
|
|
|
|
},
|
|
|
|
"class": {
|
|
|
|
"multi": []
|
|
|
|
},
|
|
|
|
"zone": "Ahn'Qiraj",
|
|
|
|
"use_zone": true
|
|
|
|
},
|
|
|
|
"sparkTexture": "Interface\\CastingBar\\UI-CastingBar-Spark",
|
|
|
|
"anchorPoint": "CENTER",
|
|
|
|
"justify": "LEFT",
|
|
|
|
"fixedWidth": 200,
|
|
|
|
"displayText_format_p_format": "timed",
|
2020-09-22 19:56:50 +02:00
|
|
|
"zoom": 0.25,
|
2020-11-21 11:55:51 +01:00
|
|
|
"displayText_format_p_time_dynamic": false,
|
2020-09-22 19:56:50 +02:00
|
|
|
"frameStrata": 1,
|
|
|
|
"displayText": "%n",
|
2020-11-21 11:55:51 +01:00
|
|
|
"alpha": 1,
|
|
|
|
"sparkRotationMode": "AUTO",
|
2020-09-22 19:56:50 +02:00
|
|
|
"icon_color": [
|
|
|
|
1,
|
|
|
|
1,
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
2020-11-21 11:55:51 +01:00
|
|
|
"authorOptions": [],
|
|
|
|
"color": [
|
|
|
|
1,
|
|
|
|
1,
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
2020-09-22 19:56:50 +02:00
|
|
|
"sparkHeight": 30,
|
2020-11-21 11:55:51 +01:00
|
|
|
"sparkRotation": 0,
|
|
|
|
"height": 20,
|
|
|
|
"displayText_format_p_time_precision": 1,
|
|
|
|
"ignoreOptionsEventErrors": true,
|
2020-09-22 19:56:50 +02:00
|
|
|
"sparkWidth": 10,
|
2020-11-21 11:55:51 +01:00
|
|
|
"id": "AQ40 Anubisath Helper Text",
|
|
|
|
"anchorFrameType": "SCREEN"
|
2020-09-22 19:56:50 +02:00
|
|
|
}
|
2020-11-21 11:55:51 +01:00
|
|
|
]
|
2020-09-22 19:56:50 +02:00
|
|
|
}
|