HP Bar + Absorbs
A simple health bar using the new Absorbs API. Thanks Robin.
Displays the players Current HP/Max HP (Absorbs)
|
|
| Quick Facts |
|---|
A simple health bar using the new Absorbs API. Thanks Robin.
Displays the players Current HP/Max HP (Absorbs)
Contains custom functions.
Code has been reviewed and is safe to use, custom functions might affect in-game performance.
{
"m": "d",
"d": {
"sparkWidth": 10,
"iconSource": -1,
"xOffset": 392.3,
"displayText_format_p_time_dynamic_threshold": 60,
"yOffset": 39.165,
"anchorPoint": "CENTER",
"displayText_format_p_time_format": 0,
"backgroundColor": [
0,
0,
0,
0.5
],
"icon_color": [
1,
1,
1,
1
],
"wordWrap": "WordWrap",
"barColor": [
0,
1,
0.12549,
1
],
"desaturate": false,
"font": "Friz Quadrata TT",
"sparkOffsetY": 0,
"load": {
"use_never": false,
"talent": {
"multi": []
},
"class": {
"multi": {
"STARCALLER": true,
"GUARDIAN": true,
"TINKER": true,
"MONK": true,
"BARBARIAN": true
}
},
"spec": {
"multi": []
},
"size": {
"multi": []
}
},
"shadowXOffset": 1,
"smoothProgress": true,
"useAdjustededMin": false,
"regionType": "aurabar",
"texture": "Blizzard",
"sparkTexture": "Interface\\CastingBar\\UI-CastingBar-Spark",
"spark": false,
"tocversion": 30300,
"alpha": 1,
"config": [],
"fixedWidth": 200,
"outline": "OUTLINE",
"sparkOffsetX": 0,
"color": [
1,
1,
1,
1
],
"adjustedMin": "0",
"shadowYOffset": -1,
"sparkRotationMode": "AUTO",
"automaticWidth": "Auto",
"triggers": {
"1": {
"trigger": {
"use_alwaystrue": true,
"use_genericShowOn": true,
"genericShowOn": "showOnCooldown",
"unit": "player",
"spellName": 0,
"type": "unit",
"use_health": false,
"subeventSuffix": "_CAST_START",
"event": "Health",
"realSpellName": 0,
"use_spellName": true,
"spellIds": [],
"names": [],
"use_unit": true,
"subeventPrefix": "SPELL",
"use_track": true,
"debuffType": "HELPFUL"
},
"untrigger": []
},
"disjunctive": "all",
"activeTriggerMode": -10
},
"displayText_format_p_format": "timed",
"internalVersion": 52,
"animation": {
"start": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
},
"main": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
},
"finish": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
}
},
"subRegions": [
{
"type": "subforeground"
},
{
"text_shadowXOffset": 1,
"text_text": "%c1\/%c2 (%c3)",
"text_shadowColor": [
0,
0,
0,
1
],
"text_selfPoint": "AUTO",
"text_automaticWidth": "Auto",
"text_fixedWidth": 64,
"anchorYOffset": 0,
"text_justify": "CENTER",
"type": "subtext",
"text_visible": true,
"text_color": [
1,
1,
1,
1
],
"text_font": "Friz Quadrata TT",
"text_fontType": "OUTLINE",
"text_shadowYOffset": -1,
"text_anchorPoint": "INNER_CENTER",
"text_text_format_c2_format": "none",
"text_text_format_c3_format": "none",
"text_text_format_c1_format": "none",
"text_text_format_n_format": "none",
"text_text_format_c_format": "none",
"text_fontSize": 12,
"anchorXOffset": 0,
"text_wordWrap": "WordWrap"
},
{
"type": "subbackground"
}
],
"height": 15,
"sparkBlendMode": "ADD",
"useAdjustededMax": false,
"fontSize": 12,
"source": "import",
"authorOptions": [],
"sparkColor": [
1,
1,
1,
1
],
"displayText_format_p_time_precision": 1,
"orientation": "HORIZONTAL",
"sparkHidden": "NEVER",
"displayText_format_c_format": "none",
"icon_side": "RIGHT",
"actions": {
"start": [],
"init": [],
"finish": []
},
"zoom": 0,
"sparkHeight": 30,
"displayText": "Total Health: %c",
"customText": "function()\n return UnitHealth(\"player\"), UnitHealthMax(\"player\"), UnitGetTotalAbsorbs(\"player\")\n end",
"anchorFrameType": "SCREEN",
"justify": "LEFT",
"customTextUpdate": "update",
"id": "Health + Absorbs bar player",
"sparkRotation": 0,
"frameStrata": 1,
"width": 369.89,
"icon": false,
"selfPoint": "CENTER",
"inverse": false,
"shadowColor": [
0,
0,
0,
1
],
"conditions": [],
"information": [],
"uid": "y3f9VLM(RDe"
},
"s": "4.2.3",
"v": 1421
}