Combat Timer
Simple display of how long you have been in combat for.
|
|
| Quick Facts |
|---|
Contains custom functions.
Code has been reviewed and is safe to use, custom functions might affect in-game performance.
{
"m": "d",
"d": {
"outline": "OUTLINE",
"authorOptions": [],
"customText": "function()\n if aura_env.StartTime then\n local combatTime = GetTime() - aura_env.StartTime\n return string.format(\"%02d:%02d\", combatTime\/60, combatTime%60)\n else\n return \"00:00\"\n end\nend\n\n\n\n",
"shadowYOffset": 0,
"anchorPoint": "CENTER",
"customTextUpdate": "update",
"url": "https:\/\/wago.io\/AVW3R1nlF\/1",
"actions": {
"start": {
"custom": "aura_env.StartTime = GetTime()",
"do_custom": true
},
"finish": {
"custom": "aura_env.StartTime = nil",
"do_custom": true
},
"init": {
"custom": "aura_env.StartTime = nil",
"do_custom": true
}
},
"triggers": {
"1": {
"trigger": {
"use_alwaystrue": true,
"duration": "1",
"genericShowOn": "showOnActive",
"use_unit": true,
"use_weapon": true,
"use_hand": true,
"hand": "main",
"buffShowOn": "showOnActive",
"type": "unit",
"subeventSuffix": "_CAST_START",
"use_showOn": true,
"event": "Conditions",
"debuffType": "HELPFUL",
"unit": "player",
"unevent": "auto",
"spellIds": [],
"custom_hide": "timed",
"showOn": "showOnActive",
"names": [],
"subeventPrefix": "SPELL",
"weapon": "main"
},
"untrigger": []
},
"activeTriggerMode": 1
},
"internalVersion": 52,
"animation": {
"start": {
"easeStrength": 3,
"type": "none",
"duration_type": "seconds",
"easeType": "none"
},
"main": {
"easeStrength": 3,
"type": "none",
"duration_type": "seconds",
"easeType": "none"
},
"finish": {
"easeStrength": 3,
"type": "none",
"duration_type": "seconds",
"easeType": "none"
}
},
"font": "Accidental Presidency",
"version": 1,
"subRegions": [
{
"type": "subbackground"
}
],
"height": 53.333,
"load": {
"ingroup": {
"multi": []
},
"use_never": false,
"talent": {
"multi": []
},
"spec": {
"multi": []
},
"class": {
"multi": []
},
"talent2": {
"multi": []
},
"difficulty": {
"multi": []
},
"role": {
"multi": []
},
"talent3": {
"multi": []
},
"pvptalent": {
"multi": []
},
"race": {
"multi": []
},
"use_combat": true,
"faction": {
"multi": []
},
"size": {
"multi": []
}
},
"fontSize": 32,
"source": "import",
"shadowXOffset": 0,
"regionType": "text",
"selfPoint": "BOTTOM",
"wordWrap": "WordWrap",
"fixedWidth": 200,
"semver": "1.0.0",
"color": [
1,
1,
1,
1
],
"automaticWidth": "Auto",
"config": [],
"justify": "LEFT",
"tocversion": 30300,
"id": "Combat Time",
"xOffset": -370.03,
"frameStrata": 5,
"anchorFrameType": "SCREEN",
"width": 92.5,
"uid": "LA7Iuw20EE6",
"displayText": "%c",
"yOffset": -149.62,
"shadowColor": [
0,
0,
0,
1
],
"conditions": [],
"information": {
"ignoreOptionsEventErrors": true
},
"displayText_format_c_format": "none"
},
"s": "4.1.2",
"v": 1421
}