wow-addons/WA-VerboseThreat/VerboseThreat.table
2020-11-21 11:55:51 +01:00

356 lines
9.5 KiB
Plaintext
Executable file

{
"m": "d",
"s": "3.0.5",
"d": {
"yOffset": 212.00048828125,
"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": 15,
"selfPoint": "TOPLEFT",
"arcLength": 360,
"useLimit": true,
"borderColor": [
0,
0,
0,
1
],
"columnSpace": 1,
"animate": false,
"subRegions": [],
"rotation": 0,
"actions": {
"init": [],
"start": [],
"finish": []
},
"config": [],
"internalVersion": 38,
"scale": 1,
"tocversion": 11305,
"groupIcon": 132270,
"xOffset": -874.00021362305,
"grow": "DOWN",
"backdropColor": [
0,
0,
0,
0.80718515813351
],
"fullCircle": true,
"border": true,
"borderInset": 0,
"gridType": "RD",
"anchorPoint": "CENTER",
"anchorFrameType": "SCREEN",
"borderOffset": 5,
"constantFactor": "RADIUS",
"frameStrata": 1,
"sort": "none",
"stagger": 0,
"gridWidth": 5,
"id": "VerboseThreat",
"conditions": [],
"uid": "3ajLPJdMZoi",
"rowSpace": 1,
"radius": 200,
"authorOptions": [],
"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"
}
}
],
"borderBackdrop": "Solid",
"borderEdge": "None",
"borderSize": 1,
"space": 2
},
"v": 1421,
"c": [
{
"yOffset": 0,
"outline": "OUTLINE",
"font": "Fira Mono Medium",
"anchorFrameType": "SCREEN",
"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
}
},
"uid": "r)eDKTz0VK0",
"xOffset": 0,
"displayText_format_c1._format": "none",
"subRegions": [],
"actions": {
"init": [],
"start": [],
"finish": []
},
"tocversion": 11305,
"displayText_format_p_time_precision": 1,
"wordWrap": "WordWrap",
"color": [
1,
1,
1,
1
],
"selfPoint": "BOTTOM",
"customTextUpdate": "update",
"internalVersion": 38,
"fixedWidth": 200,
"displayText_format_c3_format": "none",
"config": [],
"anchorPoint": "CENTER",
"justify": "LEFT",
"shadowColor": [
0,
0,
0,
1
],
"regionType": "text",
"id": "VerboseThreat_Header",
"displayText_format_p_format": "timed",
"frameStrata": 1,
"displayText": "Target: %{c1}. Update: %c2 (+%c3)\n---------------------------------------------------\nName || threat || tank || s || thr%% || raw%%",
"authorOptions": [],
"conditions": [],
"customText": "function()\n if aura_env.unitName == nil or aura_env.updateTime == nil then\n return \"None\", 0, 0\n end\n return aura_env.unitName, aura_env.updateTime, string.format(\"%.3f\", GetTime() - aura_env.updateTime)\nend",
"automaticWidth": "Auto",
"displayText_format_c2s_format": "none",
"displayText_format_c2_format": "none",
"load": {
"use_never": true,
"use_ingroup": false,
"use_combat": true,
"size": {
"multi": []
},
"class": {
"multi": []
},
"ingroup": {
"multi": {
"raid": true,
"group": true
}
},
"spec": {
"multi": []
}
},
"shadowXOffset": 1,
"triggers": {
"1": {
"untrigger": [],
"trigger": {
"use_alwaystrue": true,
"debuffType": "HELPFUL",
"unit": "player",
"unevent": "auto",
"spellIds": [],
"names": [],
"duration": "1",
"event": "Conditions",
"subeventPrefix": "SPELL",
"subeventSuffix": "_CAST_START",
"use_unit": true,
"type": "status"
}
},
"2": {
"untrigger": [],
"trigger": {
"custom": "function(event, unitName, updateTime)\n aura_env.unitName = unitName\n aura_env.updateTime = updateTime\nend",
"events": "WA_VerboseThreatUpdate",
"unit": "player",
"type": "custom",
"custom_type": "event",
"debuffType": "HELPFUL",
"custom_hide": "timed"
}
},
"disjunctive": "any",
"activeTriggerMode": -10
},
"displayText_format_c1_format": "none",
"displayText_format_p_time_dynamic": false,
"shadowYOffset": -1,
"fontSize": 12
},
{
"yOffset": 0,
"outline": "None",
"font": "Fira Mono Medium",
"regionType": "text",
"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
}
},
"uid": "Pw8JGrJEGYz",
"xOffset": 0,
"subRegions": [],
"actions": {
"init": [],
"start": [],
"finish": []
},
"tocversion": 11305,
"displayText_format_p_time_precision": 1,
"wordWrap": "WordWrap",
"displayText_format_c1_format": "none",
"id": "VerboseThreat_Unit",
"fixedWidth": 200,
"displayText_format_c5_format": "none",
"customTextUpdate": "event",
"internalVersion": 38,
"config": [],
"shadowYOffset": -1,
"displayText_format_c3_format": "none",
"anchorPoint": "CENTER",
"justify": "LEFT",
"shadowColor": [
0,
0,
0,
1
],
"anchorFrameType": "SCREEN",
"displayText_format_p_time_dynamic": false,
"authorOptions": [],
"frameStrata": 1,
"displayText": "%c",
"displayText_format_p_format": "timed",
"conditions": [],
"customText": "function(...)\n local s = aura_env.state\n if s.name then\n return string.format(\"%-12s | %10i | %5s | %i | %3i%% | %3i%%\", s.name, s.threatValue, tostring(s.isTanking), s.status, s.scaledPercentage, s.rawPercentage)\n end \nend",
"displayText_format_c4_format": "none",
"automaticWidth": "Auto",
"color": [
1,
1,
1,
1
],
"load": {
"use_never": true,
"use_ingroup": false,
"use_combat": true,
"size": {
"multi": []
},
"class": {
"multi": []
},
"ingroup": {
"multi": {
"raid": true,
"group": true
}
},
"spec": {
"multi": []
}
},
"shadowXOffset": 1,
"triggers": {
"1": {
"untrigger": [],
"trigger": {
"unit": "player",
"customVariables": "",
"debuffType": "HELPFUL",
"custom_hide": "timed",
"names": [],
"custom_type": "stateupdate",
"custom": "function(allStates, event, mobUnit)\n if mobUnit ~= \"target\" then\n return false\n end\n for unit in WA_IterateGroupMembers() do\n isTanking, status, scaledPercentage, rawPercentage, threatValue = UnitDetailedThreatSituation(unit, mobUnit)\n allStates[unit] = {\n show = true,\n changed = true,\n name = UnitName(unit),\n index = -(threatValue or 0),\n isTanking = isTanking,\n status = status,\n scaledPercentage = scaledPercentage,\n rawPercentage = rawPercentage,\n threatValue = threatValue,\n }\n end\n WeakAuras.ScanEvents(\"WA_VerboseThreatUpdate\", UnitName(mobUnit), GetTime())\n return true\nend",
"type": "custom",
"events": "UNIT_THREAT_LIST_UPDATE",
"event": "Health",
"subeventPrefix": "SPELL",
"subeventSuffix": "_CAST_START",
"spellIds": [],
"check": "event"
}
},
"activeTriggerMode": -10
},
"displayText_format_c6_format": "none",
"selfPoint": "BOTTOM",
"displayText_format_c2_format": "none",
"fontSize": 12
}
]
}