Low Health Screen Flash
A Weakaura that flashes your screen red when your health drops below a certain % threshold (default 35%). You can configure this from the Trigger tab of the weakauras option menu.
|
|
| Quick Facts |
|---|
A Weakaura that flashes your screen red when your health drops below a certain % threshold (default 35%). You can configure this from the Trigger tab of the weakauras option menu.
Contains custom functions.
Code has been reviewed and is safe to use, custom functions might affect in-game performance.
{
"m": "d",
"d": {
"tocversion": 30300,
"information": {
"ignoreOptionsEventErrors": true
},
"desaturate": false,
"color": [
1,
0.98039,
0.98431,
1
],
"frameStrata": 2,
"mirror": false,
"yOffset": 0,
"anchorPoint": "CENTER",
"xOffset": 0,
"blendMode": "ADD",
"regionType": "texture",
"authorOptions": [],
"conditions": [],
"actions": {
"start": {
"do_loop": true,
"sound_repeat": 1.8,
"do_message": false,
"do_glow": false,
"do_sound": false,
"do_custom": false,
"sound_path": "Interface\\SharedMedia\\Heartbeat_Slow.mp3",
"sound": " custom",
"sound_channel": "Master"
},
"init": {
"do_custom": true,
"custom": "\nfunction setDim()\n \n aura_env.region:SetRegionWidth(UIParent:GetWidth())\n aura_env.region:SetRegionHeight(UIParent:GetHeight())\n aura_env.region:SetPoint(\"CENTER\",nil,\"CENTER\",0,0)\n return\nend\n setDim()"
},
"finish": {
"sound_channel": "Master",
"sound_path": "Interface\\SharedMedia\\Heartbeat_Slow.mp3",
"sound": " custom",
"do_sound": false
}
},
"triggers": {
"1": {
"trigger": {
"type": "unit",
"unevent": "auto",
"percenthealth": "35",
"event": "Health",
"unit": "player",
"subeventSuffix": "_CAST_START",
"names": [],
"spellIds": [],
"use_unit": true,
"subeventPrefix": "SPELL",
"use_percenthealth": true,
"percenthealth_operator": "<=",
"debuffType": "HELPFUL"
},
"untrigger": []
},
"activeTriggerMode": -10
},
"texture": "Interface\\FullScreenTextures\\LowHealth",
"internalVersion": 52,
"selfPoint": "CENTER",
"animation": {
"start": {
"type": "none",
"duration_type": "seconds",
"easeStrength": 3,
"easeType": "none"
},
"main": {
"type": "preset",
"easeType": "none",
"duration_type": "seconds",
"easeStrength": 3,
"preset": "alphaPulse"
},
"finish": {
"type": "none",
"duration_type": "seconds",
"easeStrength": 3,
"easeType": "none"
}
},
"id": "Low Health",
"uid": "lT3GJqXypYR",
"alpha": 1,
"anchorFrameType": "SCREEN",
"rotation": 264,
"config": [],
"width": 2560,
"subRegions": [
{
"type": "subbackground"
}
],
"height": 1440,
"rotate": false,
"load": {
"role": {
"multi": []
},
"use_never": false,
"talent": {
"multi": []
},
"use_combat": true,
"class": {
"multi": []
},
"spec": {
"multi": []
},
"size": {
"multi": []
}
},
"discrete_rotation": 0
},
"s": "4.1.2",
"v": 1421
}