Загрузка данных


{
  "c": [
    {
      "actions": {
        "finish": [],
        "init": [],
        "start": []
      },
      "alpha": 1,
      "anchorFrameType": "SCREEN",
      "anchorPoint": "CENTER",
      "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"
        }
      },
      "authorOptions": [],
      "backgroundColor": [
        0.50196078431373,
        0.50196078431373,
        0.50196078431373,
        0
      ],
      "backgroundOffset": 2,
      "backgroundTexture": "Interface\\Addons\\WeakAuras\\PowerAurasMedia\\Auras\\Aura3",
      "blendMode": "BLEND",
      "color": [],
      "compress": false,
      "conditions": [
        {
          "changes": [
            {
              "property": "foregroundColor",
              "value": [
                1,
                0.83137254901961,
                0.26666666666667,
                1
              ]
            },
            {
              "property": "backgroundColor",
              "value": [
                0.46274509803922,
                0.3843137254902,
                0.12156862745098,
                0.5
              ]
            }
          ],
          "check": {
            "trigger": 1,
            "value": 1,
            "variable": "show"
          }
        }
      ],
      "config": [],
      "crop_x": 1,
      "crop_y": 0.85,
      "desaturateBackground": false,
      "desaturateForeground": false,
      "endAngle": 360,
      "font": "Friz Quadrata TT",
      "fontSize": 12,
      "foregroundColor": [
        1,
        1,
        1,
        0
      ],
      "foregroundTexture": "Interface\\Addons\\WeakAuras\\PowerAurasMedia\\Auras\\Aura21",
      "frameStrata": 2,
      "height": 97.556756756757,
      "id": "Prot Paladin Cooldown",
      "ignoreOptionsEventErrors": true,
      "internalVersion": 36,
      "inverse": false,
      "load": {
        "class": {
          "multi": [],
          "single": "PALADIN"
        },
        "size": {
          "multi": []
        },
        "spec": {
          "multi": [],
          "single": 2
        },
        "use_class": true,
        "use_never": false,
        "use_spec": true
      },
      "mirror": false,
      "orientation": "VERTICAL",
      "regionType": "progresstexture",
      "rotation": 0,
      "sameTexture": true,
      "selfPoint": "CENTER",
      "semver": "1.0.0",
      "slantMode": "INSIDE",
      "startAngle": 0,
      "subRegions": [],
      "textureWrapMode": "CLAMP",
      "tocversion": 90002,
      "triggers": {
        "1": {
          "trigger": {
            "auraspellids": [
              "642",
              "31850",
              "86659"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "names": [],
            "ownOnly": true,
            "spellIds": [],
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "activeTriggerMode": -10
      },
      "uid": "rEB6AafOh2)",
      "url": "https://wago.io/FbGX7Kljt/1",
      "useAdjustedMax": false,
      "useAdjustedMin": false,
      "useAdjustededMax": false,
      "useAdjustededMin": false,
      "user_x": 0,
      "user_y": 0,
      "version": 1,
      "wagoID": "FbGX7Kljt",
      "width": 90.24,
      "xOffset": 0,
      "yOffset": 95
    },
    {
      "actions": {
        "finish": [],
        "init": [],
        "start": []
      },
      "alpha": 1,
      "anchorFrameType": "SCREEN",
      "anchorPoint": "CENTER",
      "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"
        }
      },
      "authorOptions": [],
      "backgroundColor": [
        0.50196078431373,
        0.50196078431373,
        0.50196078431373,
        0.50316682457924
      ],
      "backgroundOffset": 2,
      "backgroundTexture": "Interface\\Addons\\WeakAuras\\PowerAurasMedia\\Auras\\Aura3",
      "blendMode": "BLEND",
      "color": [],
      "compress": false,
      "conditions": [
        {
          "changes": [
            {
              "property": "foregroundColor",
              "value": [
                1,
                0.49019607843137,
                0.03921568627451,
                1
              ]
            },
            {
              "property": "backgroundColor",
              "value": [
                0.50588235294118,
                0.24705882352941,
                0.019607843137255,
                0.5
              ]
            }
          ],
          "check": {
            "op": "==",
            "trigger": 1,
            "value": "102342",
            "variable": "spellId"
          }
        },
        {
          "changes": [
            {
              "property": "foregroundColor",
              "value": [
                0,
                1,
                0.58823529411765,
                1
              ]
            },
            {
              "property": "backgroundColor",
              "value": [
                0,
                0.49803921568627,
                0.29411764705882,
                0.5
              ]
            }
          ],
          "check": {
            "op": "==",
            "trigger": 1,
            "value": "116849",
            "variable": "spellId"
          }
        },
        {
          "changes": [
            {
              "property": "foregroundColor",
              "value": [
                0.95686274509804,
                0.54901960784314,
                0.72941176470588,
                1
              ]
            },
            {
              "property": "backgroundColor",
              "value": [
                0.47843137254902,
                0.27450980392157,
                0.36470588235294,
                0.50316682457924
              ]
            }
          ],
          "check": {
            "op": "==",
            "trigger": 1,
            "value": "6940",
            "variable": "spellId"
          }
        },
        {
          "changes": [
            {
              "property": "foregroundColor"
            },
            {
              "property": "backgroundColor",
              "value": [
                0.49803921568627,
                0.49803921568627,
                0.49803921568627,
                0.50316682457924
              ]
            }
          ],
          "check": {
            "checks": [
              {
                "op": "==",
                "trigger": 1,
                "value": "33206",
                "variable": "spellId"
              },
              {
                "op": "==",
                "trigger": 1,
                "value": "47788",
                "variable": "spellId"
              }
            ],
            "op": "==",
            "trigger": -2,
            "variable": "OR"
          }
        }
      ],
      "config": [],
      "crop_x": 1,
      "crop_y": 0.85,
      "desaturateBackground": false,
      "desaturateForeground": false,
      "endAngle": 360,
      "font": "Friz Quadrata TT",
      "fontSize": 12,
      "foregroundColor": [
        1,
        1,
        1,
        1
      ],
      "foregroundTexture": "Interface\\Addons\\WeakAuras\\PowerAurasMedia\\Auras\\Aura21",
      "frameStrata": 1,
      "height": 88.410810810811,
      "id": "External Cooldown",
      "ignoreOptionsEventErrors": true,
      "internalVersion": 36,
      "inverse": false,
      "load": {
        "class": {
          "multi": [],
          "single": "PALADIN"
        },
        "size": {
          "multi": []
        },
        "spec": {
          "multi": [],
          "single": 2
        },
        "use_class": true,
        "use_never": false,
        "use_spec": true
      },
      "mirror": false,
      "orientation": "VERTICAL",
      "regionType": "progresstexture",
      "rotation": 0,
      "sameTexture": true,
      "selfPoint": "CENTER",
      "semver": "1.0.0",
      "slantMode": "INSIDE",
      "startAngle": 0,
      "subRegions": [],
      "textureWrapMode": "CLAMP",
      "tocversion": 90002,
      "triggers": {
        "1": {
          "trigger": {
            "auraspellids": [
              "102342",
              "116849",
              "6940",
              "33206",
              "47788"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "names": [],
            "ownOnly": false,
            "spellIds": [],
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "activeTriggerMode": -10
      },
      "uid": ")F9UVA8V2Zt",
      "url": "https://wago.io/FbGX7Kljt/1",
      "useAdjustedMax": false,
      "useAdjustedMin": false,
      "useAdjustededMax": false,
      "useAdjustededMin": false,
      "user_x": 0,
      "user_y": 0,
      "version": 1,
      "wagoID": "FbGX7Kljt",
      "width": 81.78,
      "xOffset": 0,
      "yOffset": 95
    },
    {
      "actions": {
        "finish": [],
        "init": [],
        "start": []
      },
      "alpha": 1,
      "anchorFrameType": "SCREEN",
      "anchorPoint": "CENTER",
      "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"
        }
      },
      "authorOptions": [],
      "backgroundColor": [
        0.19607843137255,
        0.19607843137255,
        0.19607843137255,
        0.5
      ],
      "backgroundOffset": 2,
      "backgroundTexture": "Interface\\Addons\\WeakAuras\\PowerAurasMedia\\Auras\\Aura3",
      "blendMode": "BLEND",
      "color": [],
      "compress": false,
      "conditions": [
        {
          "changes": [
            {
              "property": "foregroundColor",
              "value": [
                0,
                1,
                0,
                1
              ]
            },
            {
              "property": "backgroundColor",
              "value": [
                0,
                0.3921568627451,
                0,
                0.5
              ]
            }
          ],
          "check": {
            "trigger": 1,
            "value": 1,
            "variable": "buffed"
          }
        },
        {
          "changes": [
            {
              "property": "foregroundColor",
              "value": [
                1,
                0,
                0,
                1
              ]
            },
            {
              "property": "backgroundColor",
              "value": [
                0.3921568627451,
                0,
                0,
                0.5
              ]
            }
          ],
          "check": {
            "checks": [
              {
                "op": "<=",
                "trigger": 1,
                "value": "2",
                "variable": "expirationTime"
              },
              {
                "checks": [
                  {
                    "trigger": -1,
                    "value": 1,
                    "variable": "incombat"
                  },
                  {
                    "trigger": 1,
                    "value": 0,
                    "variable": "buffed"
                  }
                ],
                "trigger": -2,
                "variable": "AND"
              }
            ],
            "op": "<=",
            "trigger": -2,
            "variable": "OR"
          }
        },
        {
          "changes": [
            {
              "property": "foregroundColor",
              "value": [
                0.11372549019608,
                0,
                0.5843137254902,
                0.75
              ]
            },
            {
              "property": "backgroundColor",
              "value": [
                0.07843137254902,
                0,
                0.4078431372549,
                0.35000002384186
              ]
            }
          ],
          "check": {
            "checks": [
              {
                "trigger": 1,
                "value": 1,
                "variable": "buffed"
              },
              {
                "op": ">=",
                "trigger": 1,
                "value": "9",
                "variable": "expirationTime"
              }
            ],
            "op": ">=",
            "trigger": -2,
            "variable": "AND"
          }
        }
      ],
      "config": [],
      "crop_x": 1,
      "crop_y": 0.85,
      "desaturateBackground": false,
      "desaturateForeground": false,
      "endAngle": 360,
      "font": "Friz Quadrata TT",
      "fontSize": 12,
      "foregroundColor": [
        0.19607843137255,
        0.19607843137255,
        0.19607843137255,
        0.5
      ],
      "foregroundTexture": "Interface\\Addons\\WeakAuras\\PowerAurasMedia\\Auras\\Aura21",
      "frameStrata": 1,
      "height": 76.216216216216,
      "id": "Sotr Tracker",
      "ignoreOptionsEventErrors": true,
      "internalVersion": 36,
      "inverse": false,
      "load": {
        "class": {
          "multi": [],
          "single": "PALADIN"
        },
        "size": {
          "multi": []
        },
        "spec": {
          "multi": [],
          "single": 2
        },
        "use_class": true,
        "use_never": false,
        "use_spec": true
      },
      "mirror": false,
      "orientation": "VERTICAL",
      "regionType": "progresstexture",
      "rotation": 0,
      "sameTexture": true,
      "selfPoint": "CENTER",
      "semver": "1.0.0",
      "slantMode": "INSIDE",
      "smoothProgress": false,
      "startAngle": 0,
      "subRegions": [
        {
          "anchorXOffset": 0,
          "anchorYOffset": 0,
          "rotateText": "NONE",
          "text_anchorPoint": "CENTER",
          "text_anchorYOffset": -5,
          "text_automaticWidth": "Auto",
          "text_color": [
            1,
            1,
            1,
            1
          ],
          "text_fixedWidth": 64,
          "text_font": "Friz Quadrata TT",
          "text_fontSize": 16,
          "text_fontType": "None",
          "text_justify": "CENTER",
          "text_selfPoint": "AUTO",
          "text_shadowColor": [
            0,
            0,
            0,
            1
          ],
          "text_shadowXOffset": 1,
          "text_shadowYOffset": -1,
          "text_text": "%p",
          "text_text_format_p_format": "timed",
          "text_text_format_p_time_dynamic": false,
          "text_text_format_p_time_precision": 1,
          "text_visible": true,
          "text_wordWrap": "WordWrap",
          "type": "subtext"
        }
      ],
      "textureWrapMode": "CLAMP",
      "tocversion": 90002,
      "triggers": {
        "1": {
          "trigger": {
            "auraspellids": [
              "132403"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "matchesShowOn": "showAlways",
            "names": [],
            "ownOnly": true,
            "spellIds": [],
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "activeTriggerMode": -10
      },
      "uid": "JKV)APxHyOK",
      "url": "https://wago.io/FbGX7Kljt/1",
      "useAdjustedMax": false,
      "useAdjustedMin": false,
      "useAdjustededMax": false,
      "useAdjustededMin": false,
      "user_x": 0,
      "user_y": 0,
      "version": 1,
      "wagoID": "FbGX7Kljt",
      "width": 70.5,
      "xOffset": 0,
      "yOffset": 95
    },
    {
      "actions": {
        "finish": [],
        "init": [],
        "start": []
      },
      "anchorFrameType": "SCREEN",
      "anchorPoint": "CENTER",
      "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"
        }
      },
      "authorOptions": [],
      "automaticWidth": "Auto",
      "color": [
        1,
        1,
        1,
        1
      ],
      "conditions": [],
      "config": [],
      "customTextUpdate": "event",
      "displayText": "Cheat Death",
      "fixedWidth": 200,
      "font": "Friz Quadrata TT",
      "fontSize": 12,
      "frameStrata": 1,
      "id": "Prot Paladin Cheat Death Text",
      "ignoreOptionsEventErrors": true,
      "internalVersion": 36,
      "justify": "LEFT",
      "load": {
        "class": {
          "multi": [],
          "single": "PALADIN"
        },
        "size": {
          "multi": []
        },
        "spec": {
          "multi": [],
          "single": 2
        },
        "use_class": true,
        "use_never": false,
        "use_spec": true
      },
      "outline": "OUTLINE",
      "regionType": "text",
      "selfPoint": "BOTTOM",
      "semver": "1.0.0",
      "shadowColor": [
        0,
        0,
        0,
        1
      ],
      "shadowXOffset": 1,
      "shadowYOffset": -1,
      "subRegions": [],
      "tocversion": 90002,
      "triggers": {
        "1": {
          "trigger": {
            "auraspellids": [
              "31850"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "names": [],
            "spellIds": [],
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "2": {
          "trigger": {
            "auraspellids": [
              "47788"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "activeTriggerMode": -10,
        "disjunctive": "any"
      },
      "uid": "7kFrxKRewjx",
      "url": "https://wago.io/FbGX7Kljt/1",
      "version": 1,
      "wagoID": "FbGX7Kljt",
      "wordWrap": "WordWrap",
      "xOffset": 0,
      "yOffset": 144
    },
    {
      "actions": {
        "finish": [],
        "init": [],
        "start": []
      },
      "anchorFrameType": "SCREEN",
      "anchorPoint": "CENTER",
      "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"
        }
      },
      "authorOptions": [],
      "automaticWidth": "Auto",
      "color": [
        1,
        1,
        1,
        1
      ],
      "conditions": [],
      "config": [],
      "customTextUpdate": "event",
      "displayText": "%p",
      "displayText_format_p_format": "timed",
      "displayText_format_p_time_dynamic": false,
      "displayText_format_p_time_precision": 1,
      "fixedWidth": 200,
      "font": "Friz Quadrata TT",
      "fontSize": 18,
      "frameStrata": 1,
      "id": "Prot Paladin Cooldown Timer",
      "ignoreOptionsEventErrors": true,
      "internalVersion": 36,
      "justify": "LEFT",
      "load": {
        "class": {
          "multi": [],
          "single": "PALADIN"
        },
        "size": {
          "multi": []
        },
        "spec": {
          "multi": [],
          "single": 2
        },
        "use_class": true,
        "use_never": false,
        "use_spec": true
      },
      "outline": "OUTLINE",
      "regionType": "text",
      "selfPoint": "BOTTOM",
      "semver": "1.0.0",
      "shadowColor": [
        0,
        0,
        0,
        1
      ],
      "shadowXOffset": 1,
      "shadowYOffset": -1,
      "subRegions": [],
      "tocversion": 90002,
      "triggers": {
        "1": {
          "trigger": {
            "auraspellids": [
              "642"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "names": [],
            "spellIds": [],
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "2": {
          "trigger": {
            "auraspellids": [
              "31850"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "3": {
          "trigger": {
            "auraspellids": [
              "86659"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "4": {
          "trigger": {
            "auraspellids": [
              "102342"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "5": {
          "trigger": {
            "auraspellids": [
              "116849"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "6": {
          "trigger": {
            "auraspellids": [
              "6940"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "ownOnly": false,
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "7": {
          "trigger": {
            "auraspellids": [
              "33206"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "8": {
          "trigger": {
            "auraspellids": [
              "47788"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "9": {
          "trigger": {
            "auraspellids": [
              "1022",
              "204018"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "activeTriggerMode": -10,
        "disjunctive": "any"
      },
      "uid": "xBBvgTrQsfY",
      "url": "https://wago.io/FbGX7Kljt/1",
      "version": 1,
      "wagoID": "FbGX7Kljt",
      "wordWrap": "WordWrap",
      "xOffset": 0,
      "yOffset": 111
    },
    {
      "actions": {
        "finish": [],
        "init": [],
        "start": {
          "do_message": true,
          "message_type": "WHISPER"
        }
      },
      "anchorFrameType": "SCREEN",
      "anchorPoint": "CENTER",
      "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"
        }
      },
      "authorOptions": [],
      "automaticWidth": "Auto",
      "color": [
        1,
        1,
        1,
        1
      ],
      "conditions": [
        {
          "changes": [
            []
          ],
          "check": []
        }
      ],
      "config": [],
      "customText": "function()\n    -- all the buffs that provide damage reduction, with the known (as of 8/5/2020) values they reduce.\n    -- whenever we use these buffs, we will attempt to scrape the damage reduction from the buff itself first. \n    -- however, not all buffs (*cough Guardian of Ancient Kings) seem to return this value, in which case \n    -- we will use the hardcoded tooltip value.\n    local drBuffs = {}\n    drBuffs[31850] = -20\n    drBuffs[86659] = -50\n    drBuffs[102342] = -20\n    drBuffs[6940] = -30 --effectively, kind of\n    drBuffs[33206] = -40\n    local drLocs = {}\n    drLocs[31850] = 16\n    drLocs[86659] = 16 --but actually no where\n    drLocs[102342] = 16\n    drLocs[6940] = 16\n    drLocs[33206] = 16\n    local drCoef = {}\n    drCoef[31850] = 1\n    drCoef[86659] = 1\n    drCoef[102342] = 1\n    drCoef[6940] = -1 --freaking sacrifice\n    drCoef[33206] = 1\n    local damageReduction = 0\n    for id, knownValue in pairs(drBuffs) do\n        if WA_GetUnitBuff(\"player\", id) then -- buff is present\n            local reportedDR = select(drLocs[id], WA_GetUnitBuff(\"player\", id))\n            local buffDR = reportedDR and (reportedDR * drCoef[id]) or knownValue\n            damageReduction = damageReduction + (((100+damageReduction)/100) * buffDR)\n        end\n    end\n    \n    local output = (damageReduction == 0) and \"\" or (damageReduction .. \"%\")\n    \n    if WA_GetUnitBuff(\"player\", 642) then -- Divine Shield\n        output = \"Immunity\"\n    end\n    \n    if WA_GetUnitBuff(\"player\", 1022) then -- Blessing of Protection\n        if damageReduction < 0 then\n            output = \" : \" .. output\n        end\n        output = \"Physical Immunity\" .. output\n        \n    end\n    \n    if WA_GetUnitBuff(\"player\", 204018) then -- Blessing of Spellwarding\n        if damageReduction < 0 then\n            output = \" : \" .. output\n        end\n        output = \"Magic Immunity\" .. output\n    end\n    \n    return output\nend",
      "customTextUpdate": "event",
      "displayText": "%c1",
      "displayText_format_c1_format": "none",
      "fixedWidth": 200,
      "font": "Friz Quadrata TT",
      "fontSize": 12,
      "frameStrata": 1,
      "id": "Prot Paladin Damage Reduction Text",
      "ignoreOptionsEventErrors": true,
      "internalVersion": 36,
      "justify": "LEFT",
      "load": {
        "class": {
          "multi": [],
          "single": "PALADIN"
        },
        "size": {
          "multi": []
        },
        "spec": {
          "multi": [],
          "single": 2
        },
        "use_class": true,
        "use_never": false,
        "use_spec": true
      },
      "outline": "OUTLINE",
      "regionType": "text",
      "selfPoint": "BOTTOM",
      "semver": "1.0.0",
      "shadowColor": [
        0,
        0,
        0,
        1
      ],
      "shadowXOffset": 1,
      "shadowYOffset": -1,
      "subRegions": [],
      "tocversion": 90002,
      "triggers": {
        "1": {
          "trigger": {
            "auraspellids": [
              "86659"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "matchesShowOn": "showOnActive",
            "names": [],
            "spellIds": [],
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "2": {
          "trigger": {
            "auraspellids": [
              "31850"
            ],
            "debuffType": "HELPFUL",
            "duration": "1",
            "event": "Health",
            "names": [],
            "spellIds": [],
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unevent": "auto",
            "unit": "player",
            "useExactSpellId": true,
            "use_absorbMode": true,
            "use_unit": true
          },
          "untrigger": []
        },
        "3": {
          "trigger": {
            "auraspellids": [
              "102342"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "4": {
          "trigger": {
            "auraspellids": [
              "6940"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "5": {
          "trigger": {
            "auraspellids": [
              "33206"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "6": {
          "trigger": {
            "auraspellids": [
              "642"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "7": {
          "trigger": {
            "auraspellids": [
              "1022"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "8": {
          "trigger": {
            "auraspellids": [
              "204018"
            ],
            "debuffType": "HELPFUL",
            "event": "Health",
            "subeventPrefix": "SPELL",
            "subeventSuffix": "_CAST_START",
            "type": "aura2",
            "unit": "player",
            "useExactSpellId": true
          },
          "untrigger": []
        },
        "activeTriggerMode": -10,
        "disjunctive": "any"
      },
      "uid": "bKfPYBALrJs",
      "url": "https://wago.io/FbGX7Kljt/1",
      "version": 1,
      "wagoID": "FbGX7Kljt",
      "wordWrap": "WordWrap",
      "xOffset": 0,
      "yOffset": 131
    }
  ],
  "d": {
    "actions": {
      "finish": [],
      "init": [],
      "start": []
    },
    "anchorFrameType": "SCREEN",
    "anchorPoint": "CENTER",
    "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"
      }
    },
    "authorOptions": [],
    "backdropColor": [
      1,
      1,
      1,
      0.5
    ],
    "border": false,
    "borderBackdrop": "Blizzard Tooltip",
    "borderColor": [
      0,
      0,
      0,
      1
    ],
    "borderEdge": "Square Full White",
    "borderInset": 1,
    "borderOffset": 4,
    "borderSize": 2,
    "conditions": [],
    "config": [],
    "desc": "A simple display for tracking Shield of the Righteous uptime, along with duration of defensives and external cooldowns.\n\nThis display shows SOTR duration as a green shield progress icon, changing color to blue when additional usage of SOTR would push you over the maximum buff duration.\n\nExternal Cooldowns are displayed as a color coded overlay (based off of class color of the buff) when they are present.\n\nTank cooldowns are displayed as a light orange overlay over the SOTR bar.\n\nThe duration and total damage reduction afforded by these cooldowns, along with any additional (IE Cheat Death) effects they apply are displayed above the display.\n",
    "frameStrata": 1,
    "id": "Clearlyspam Paladin Defensives",
    "internalVersion": 36,
    "load": {
      "class": {
        "multi": []
      },
      "size": {
        "multi": []
      },
      "spec": {
        "multi": []
      }
    },
    "regionType": "group",
    "scale": 1,
    "selfPoint": "BOTTOMLEFT",
    "semver": "1.0.0",
    "subRegions": [],
    "tocversion": 90002,
    "triggers": [
      {
        "trigger": {
          "debuffType": "HELPFUL",
          "event": "Health",
          "names": [],
          "spellIds": [],
          "subeventPrefix": "SPELL",
          "subeventSuffix": "_CAST_START",
          "type": "aura2",
          "unit": "player"
        },
        "untrigger": []
      }
    ],
    "uid": "2)YiMRxhlYE",
    "url": "https://wago.io/FbGX7Kljt/1",
    "version": 1,
    "wagoID": "FbGX7Kljt",
    "xOffset": 0,
    "yOffset": -250
  },
  "m": "d",
  "s": "3.0.0-beta3",
  "v": 1421,
  "wagoID": "FbGX7Kljt"
}