wow-addons/WA-WCBHO_Tracker/WCBHO_Tracker.table
2021-05-26 22:29:43 +02:00

665 lines
19 KiB
Plaintext

{
"c": [
{
"actions": {
"finish": [],
"init": {
"custom": "aura_env.lastUpdate = 0",
"do_custom": true
},
"start": []
},
"alpha": 1,
"anchorFrameType": "SCREEN",
"anchorPoint": "CENTER",
"animation": {
"finish": {
"duration_type": "seconds",
"easeStrength": 3,
"easeType": "none",
"type": "none"
},
"main": {
"alpha": 0,
"colorA": 1,
"colorB": 1,
"colorFunc": "function(progress, r1, g1, b1, a1, r2, g2, b2, a2)\n return r1 + (progress * (r2 - r1)), g1 + (progress * (g2 - g1)), b1 + (progress * (b2 - b1)), a1 + (progress * (a2 - a1))\nend\n",
"colorG": 1,
"colorR": 1,
"colorType": "custom",
"duration_type": "seconds",
"easeStrength": 3,
"easeType": "none",
"preset": "alphaPulse",
"rotate": 0,
"scalex": 1,
"scaley": 1,
"type": "none",
"use_color": false,
"x": 0,
"y": 0
},
"start": {
"alpha": 0,
"alphaFunc": "function(progress, start, delta)\n return start + (progress * delta)\nend\n",
"alphaType": "straight",
"colorA": 1,
"colorB": 1,
"colorFunc": "function(progress, r1, g1, b1, a1, r2, g2, b2, a2)\n return WeakAuras.GetHSVTransition(progress, r1, g1, b1, a1, r2, g2, b2, a2)\nend\n",
"colorG": 1,
"colorR": 1,
"colorType": "straightHSV",
"duration": "5",
"duration_type": "seconds",
"easeStrength": 3,
"easeType": "easeOut",
"preset": "starShakeDecay",
"rotate": 0,
"scalex": 1,
"scaley": 1,
"translateFunc": "function(progress, startX, startY, deltaX, deltaY)\n return startX + (progress * deltaX), startY + (progress * deltaY)\nend\n",
"translateType": "straightTranslate",
"type": "none",
"use_alpha": false,
"use_color": true,
"use_translate": false,
"x": 0,
"y": 0
}
},
"authorOptions": [],
"automaticWidth": "Auto",
"backgroundColor": [
0,
0,
0,
0
],
"barColor": [
0,
0,
0,
0
],
"color": [
1,
1,
1,
1
],
"conditions": [
{
"changes": [
{
"property": "alpha",
"value": 0.5
}
],
"check": {
"trigger": 1,
"value": 0,
"variable": "isOnline"
}
},
{
"changes": [
{
"property": "sub.4.text_color",
"value": [
1,
0,
0.035294117647059,
1
]
}
],
"check": {
"checks": [
{
"op": "==",
"trigger": 1,
"value": "Orgrimmar",
"variable": "area"
},
{
"op": "==",
"trigger": 1,
"value": "Durotar",
"variable": "area"
}
],
"op": "==",
"trigger": -2,
"variable": "OR"
}
},
{
"changes": [
{
"property": "sub.4.text_color",
"value": [
0.10588235294118,
1,
0,
1
]
}
],
"check": {
"op": "==",
"trigger": 1,
"value": "Felwood",
"variable": "area"
},
"linked": true
},
{
"changes": [
{
"property": "sub.4.text_color",
"value": [
1,
0.77254901960784,
0,
1
]
}
],
"check": {
"op": "==",
"trigger": 1,
"value": "The Barrens",
"variable": "area"
},
"linked": true
},
{
"changes": [
{
"property": "sub.4.text_color",
"value": [
1,
1,
1,
1
]
}
],
"check": {
"checks": [
{
"op": "==",
"trigger": 1,
"value": "Dire Maul",
"variable": "area"
},
{
"op": "==",
"trigger": 1,
"value": "Feralas",
"variable": "area"
}
],
"op": "==",
"trigger": -2,
"variable": "OR"
}
},
{
"changes": [
{
"property": "sub.4.text_color",
"value": [
0,
0.98823529411765,
1,
1
]
}
],
"check": {
"checks": [
{
"op": "==",
"trigger": 1,
"value": "Stormwind City",
"variable": "area"
},
{
"op": "==",
"trigger": 1,
"value": "Elwynn Forest",
"variable": "area"
}
],
"trigger": -2,
"variable": "OR"
}
}
],
"config": [],
"customText": "function(...)\n if aura_env.state.isOnline then\n return \"|cFF00FFFFOnline|r\"\n end\n return date(\"-%M:%S\", GetTime() - aura_env.state.lastSeen)\nend",
"customTextUpdate": "event",
"desaturate": false,
"displayText": "%c1 || %1.area || %1.guid || %1.notes",
"displayText_format_.area_format": "none",
"displayText_format_1.area_abbreviate": false,
"displayText_format_1.area_abbreviate_max": 8,
"displayText_format_1.area_format": "none",
"displayText_format_1.area_time_dynamic": false,
"displayText_format_1.area_time_precision": 1,
"displayText_format_1.guid_abbreviate": false,
"displayText_format_1.guid_abbreviate_max": 8,
"displayText_format_1.guid_color": "class",
"displayText_format_1.guid_format": "guid",
"displayText_format_1.guid_realm_name": "never",
"displayText_format_1.lastSeen_decimal_precision": 1,
"displayText_format_1.lastSeen_format": "none",
"displayText_format_1.lastSeen_gcd_cast": false,
"displayText_format_1.lastSeen_gcd_channel": false,
"displayText_format_1.lastSeen_gcd_gcd": true,
"displayText_format_1.lastSeen_gcd_hide_zero": false,
"displayText_format_1.lastSeen_time_dynamic": false,
"displayText_format_1.lastSeen_time_precision": 1,
"displayText_format_1.name_format": "none",
"displayText_format_1.notes_abbreviate": false,
"displayText_format_1.notes_abbreviate_max": 8,
"displayText_format_1.notes_format": "none",
"displayText_format_c1_format": "none",
"displayText_format_n_format": "none",
"displayText_format_p_format": "timed",
"displayText_format_p_time_dynamic": false,
"displayText_format_p_time_precision": 1,
"fixedWidth": 200,
"font": "Friz Quadrata TT",
"fontSize": 12,
"frameStrata": 1,
"height": 13,
"icon": false,
"iconSource": -1,
"icon_color": [
1,
1,
1,
1
],
"icon_side": "RIGHT",
"id": "WCBHO_Tracker_Entry",
"information": [],
"internalVersion": 45,
"inverse": false,
"justify": "LEFT",
"load": {
"class": {
"multi": []
},
"namerealm": "Mesg",
"size": {
"multi": []
},
"spec": {
"multi": []
},
"talent": {
"multi": []
},
"use_namerealm": true,
"zoneIds": ""
},
"orientation": "HORIZONTAL",
"outline": "OUTLINE",
"regionType": "aurabar",
"selfPoint": "BOTTOM",
"semver": "1.0.0",
"shadowColor": [
0,
0,
0,
1
],
"shadowXOffset": 1,
"shadowYOffset": -1,
"spark": false,
"sparkBlendMode": "ADD",
"sparkColor": [
1,
1,
1,
1
],
"sparkHeight": 30,
"sparkHidden": "NEVER",
"sparkOffsetX": 0,
"sparkOffsetY": 0,
"sparkRotation": 0,
"sparkRotationMode": "AUTO",
"sparkTexture": "Interface\\CastingBar\\UI-CastingBar-Spark",
"sparkWidth": 10,
"subRegions": [
{
"type": "aurabar_bar"
},
{
"anchorXOffset": 0,
"anchorYOffset": 0,
"rotateText": "NONE",
"text_anchorPoint": "INNER_LEFT",
"text_automaticWidth": "Auto",
"text_color": [
1,
0,
0,
1
],
"text_fixedWidth": 64,
"text_font": "Fira Mono Medium",
"text_fontSize": 11,
"text_fontType": "None",
"text_justify": "CENTER",
"text_selfPoint": "LEFT",
"text_shadowColor": [
0,
0,
0,
1
],
"text_shadowXOffset": 1,
"text_shadowYOffset": -1,
"text_text": "%c1",
"text_text_format_1.lastSeen_decimal_precision": 0,
"text_text_format_1.lastSeen_format": "timed",
"text_text_format_1.lastSeen_round_type": "floor",
"text_text_format_1.lastSeen_time_dynamic_threshold": 0,
"text_text_format_1.lastSeen_time_format": 0,
"text_text_format_1.lastSeen_time_precision": 1,
"text_text_format_c1_format": "none",
"text_text_format_n_decimal_precision": 1,
"text_text_format_n_format": "none",
"text_text_format_n_time_precision": 1,
"text_visible": true,
"text_wordWrap": "WordWrap",
"type": "subtext"
},
{
"anchorXOffset": 0,
"anchorYOffset": 0,
"rotateText": "NONE",
"text_anchorPoint": "INNER_LEFT",
"text_anchorXOffset": 50,
"text_automaticWidth": "Auto",
"text_color": [
1,
1,
1,
1
],
"text_fixedWidth": 64,
"text_font": "Friz Quadrata TT",
"text_fontSize": 12,
"text_fontType": "None",
"text_justify": "CENTER",
"text_selfPoint": "LEFT",
"text_shadowColor": [
0,
0,
0,
1
],
"text_shadowXOffset": 1,
"text_shadowYOffset": -1,
"text_text": "%1.guid",
"text_text_format_1.area_abbreviate": true,
"text_text_format_1.area_abbreviate_max": 30,
"text_text_format_1.area_format": "none",
"text_text_format_1.guid_abbreviate": false,
"text_text_format_1.guid_abbreviate_max": 8,
"text_text_format_1.guid_color": "class",
"text_text_format_1.guid_format": "guid",
"text_text_format_1.guid_realm_name": "never",
"text_text_format_n_format": "none",
"text_visible": true,
"text_wordWrap": "WordWrap",
"type": "subtext"
},
{
"anchorXOffset": 0,
"anchorYOffset": 0,
"rotateText": "NONE",
"text_anchorPoint": "INNER_LEFT",
"text_anchorXOffset": 145,
"text_automaticWidth": "Auto",
"text_color": [
0.75686274509804,
0.75686274509804,
0.75686274509804,
1
],
"text_fixedWidth": 64,
"text_font": "Friz Quadrata TT",
"text_fontSize": 12,
"text_fontType": "None",
"text_justify": "CENTER",
"text_selfPoint": "LEFT",
"text_shadowColor": [
0,
0,
0,
1
],
"text_shadowXOffset": 1,
"text_shadowYOffset": -1,
"text_text": "%1.area",
"text_text_format_1.area_abbreviate": true,
"text_text_format_1.area_abbreviate_max": 30,
"text_text_format_1.area_format": "none",
"text_text_format_n_format": "none",
"text_visible": true,
"text_wordWrap": "WordWrap",
"type": "subtext"
},
{
"anchorXOffset": 0,
"anchorYOffset": 0,
"rotateText": "NONE",
"text_anchorPoint": "INNER_LEFT",
"text_anchorXOffset": 280,
"text_automaticWidth": "Auto",
"text_color": [
1,
1,
1,
1
],
"text_fixedWidth": 64,
"text_font": "Friz Quadrata TT",
"text_fontSize": 12,
"text_fontType": "None",
"text_justify": "CENTER",
"text_selfPoint": "LEFT",
"text_shadowColor": [
0,
0,
0,
1
],
"text_shadowXOffset": 1,
"text_shadowYOffset": -1,
"text_text": "%1.notes",
"text_text_format_1.area_abbreviate": true,
"text_text_format_1.area_abbreviate_max": 30,
"text_text_format_1.area_format": "none",
"text_text_format_1.notes_format": "none",
"text_text_format_n_format": "none",
"text_visible": true,
"text_wordWrap": "WordWrap",
"type": "subtext"
}
],
"texture": "Flat",
"tocversion": 11307,
"triggers": {
"1": {
"trigger": {
"check": "event",
"custom": "function(allStates, event, ...)\n C_FriendList.ShowFriends()\n local now = GetTime()\n for i = 1, C_FriendList.GetNumOnlineFriends() do\n local friend = C_FriendList.GetFriendInfoByIndex(i)\n if friend.notes ~= nil and friend.notes:find(\"WCBHO\") then\n allStates[friend.guid] = {\n show = true,\n changed = true,\n progressType = \"static\",\n value = 1,\n total = 1,\n index = table.concat({friend.area, friend.className, friend.name}, \"-\"),\n name = friend.name,\n guid = friend.guid,\n area = friend.area,\n notes = friend.notes:gsub(\"%s?WCBHO%s?\", \"\", 1),\n lastSeen = now,\n }\n end\n end\n for guid, state in pairs(allStates) do\n state.show = state.lastSeen > now - 3600 -- remove offline after an hour\n state.changed = true\n state.isOnline = state.lastSeen == now\n end\n return true\nend",
"customVariables": "{\n guid = \"string\",\n area = \"string\",\n notes = \"string\",\n lastSeen = \"number\",\n isOnline = \"bool\",\n}",
"custom_hide": "timed",
"custom_type": "stateupdate",
"debuffType": "HELPFUL",
"event": "Health",
"events": "WA_WCBHO_TRACKER_UPDATE",
"names": [],
"spellIds": [],
"subeventPrefix": "SPELL",
"subeventSuffix": "_CAST_START",
"type": "custom",
"unit": "player"
},
"untrigger": []
},
"2": {
"trigger": {
"check": "update",
"custom": "function()\n local time = GetTime()\n if time > aura_env.lastUpdate + 1 then\n WeakAuras.ScanEvents(\"WA_WCBHO_TRACKER_UPDATE\")\n aura_env.lastUpdate = time\n return true\n end\n return false\nend",
"custom_type": "status",
"debuffType": "HELPFUL",
"type": "custom",
"unit": "player"
},
"untrigger": []
},
"activeTriggerMode": 1,
"disjunctive": "any"
},
"uid": "MdGeaBjPi13",
"url": "https://wago.io/0oPnWDk7l/1",
"useAdjustededMax": false,
"useAdjustededMin": false,
"version": 1,
"wagoID": "0oPnWDk7l",
"width": 400,
"wordWrap": "WordWrap",
"xOffset": 0,
"yOffset": 0,
"zoom": 0
}
],
"d": {
"actions": {
"finish": [],
"init": [],
"start": []
},
"align": "LEFT",
"anchorFrameType": "SCREEN",
"anchorPoint": "CENTER",
"animate": true,
"animation": {
"finish": {
"duration_type": "seconds",
"easeStrength": 3,
"easeType": "none",
"type": "none"
},
"main": {
"duration_type": "seconds",
"easeStrength": 3,
"easeType": "none",
"type": "none"
},
"start": {
"duration_type": "seconds",
"easeStrength": 3,
"easeType": "none",
"type": "none"
}
},
"arcLength": 360,
"authorOptions": [],
"backdropColor": [
0,
0,
0,
0.74276608228684
],
"border": true,
"borderBackdrop": "Solid",
"borderColor": [
0,
0,
0,
1
],
"borderEdge": "Square Full White",
"borderInset": 0,
"borderOffset": 2,
"borderSize": 1,
"columnSpace": 1,
"conditions": [],
"config": [],
"constantFactor": "RADIUS",
"frameStrata": 1,
"fullCircle": true,
"gridType": "RD",
"gridWidth": 5,
"groupIcon": 136075,
"grow": "DOWN",
"id": "WCBHO_Tracker",
"information": [],
"internalVersion": 45,
"limit": 5,
"load": {
"class": {
"multi": []
},
"size": {
"multi": []
},
"spec": {
"multi": []
},
"talent": {
"multi": []
},
"zoneIds": ""
},
"radius": 200,
"regionType": "dynamicgroup",
"rotation": 0,
"rowSpace": 1,
"scale": 1,
"selfPoint": "TOPLEFT",
"semver": "1.0.0",
"sort": "none",
"space": 1,
"stagger": 0,
"subRegions": [],
"tocversion": 11307,
"triggers": [
{
"trigger": {
"debuffType": "HELPFUL",
"event": "Health",
"names": [],
"spellIds": [],
"subeventPrefix": "SPELL",
"subeventSuffix": "_CAST_START",
"type": "aura2",
"unit": "player"
},
"untrigger": []
}
],
"uid": "ogvWIaFoJ)e",
"url": "https://wago.io/0oPnWDk7l/1",
"useLimit": false,
"version": 1,
"wagoID": "0oPnWDk7l",
"xOffset": 370,
"yOffset": -50
},
"m": "d",
"s": "3.3.0",
"v": 1421,
"wagoID": "0oPnWDk7l"
}