Ayro Lota CD
Legacy of the Arcanist
- Soul Harvest cd + buff time
- Arcane Power cd + buff time
- Imp Up
- Demonic Pact track + Spell
|
|
| Quick Facts |
|---|
Legacy of the Arcanist
Contains custom functions.
Code has been reviewed and is safe to use, custom functions might affect in-game performance.
{
"s": "4.2.5",
"m": "d",
"d": {
"backdropColor": [
1,
1,
1,
0.5
],
"controlledChildren": [
"Soul Harvest",
"Arcane Power Lota",
"IMP",
"Demonic Pact "
],
"borderBackdrop": "Blizzard Tooltip",
"xOffset": 0,
"tocversion": 30300,
"border": false,
"borderEdge": "Square Full White",
"regionType": "group",
"borderSize": 2,
"config": [],
"borderColor": [
0,
0,
0,
1
],
"authorOptions": [],
"url": "AYRO AURA",
"actions": {
"start": [],
"finish": [],
"init": []
},
"triggers": [
{
"trigger": {
"debuffType": "HELPFUL",
"type": "aura2",
"spellIds": [],
"subeventSuffix": "_CAST_START",
"unit": "player",
"names": [],
"event": "Health",
"subeventPrefix": "SPELL"
},
"untrigger": []
}
],
"yOffset": 0,
"internalVersion": 53,
"anchorPoint": "CENTER",
"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"
}
},
"id": "Lota",
"scale": 1,
"frameStrata": 1,
"anchorFrameType": "SCREEN",
"borderOffset": 4,
"borderInset": 1,
"load": {
"talent": {
"multi": []
},
"spec": {
"multi": []
},
"class": {
"multi": []
},
"size": {
"multi": []
}
},
"subRegions": [],
"selfPoint": "CENTER",
"conditions": [],
"information": [],
"uid": "lQm3SAe)dnH"
},
"c": [
{
"iconSource": -1,
"parent": "Lota",
"yOffset": -171,
"anchorPoint": "CENTER",
"cooldownEdge": false,
"actions": {
"start": [],
"init": [],
"finish": []
},
"triggers": {
"1": {
"trigger": {
"useName": true,
"subeventSuffix": "_CAST_START",
"ownOnly": true,
"event": "Health",
"unit": "player",
"spellIds": [],
"type": "aura2",
"names": [],
"subeventPrefix": "SPELL",
"auranames": [
"Soul Harvest"
],
"debuffType": "HELPFUL"
},
"untrigger": []
},
"2": {
"trigger": {
"type": "spell",
"subeventSuffix": "_CAST_START",
"spellName": 86395,
"use_genericShowOn": true,
"event": "Cooldown Progress (Spell)",
"names": [],
"realSpellName": "Soul Harvest",
"use_spellName": true,
"spellIds": [],
"unit": "player",
"genericShowOn": "showAlways",
"subeventPrefix": "SPELL",
"use_track": true,
"debuffType": "HELPFUL"
},
"untrigger": []
},
"disjunctive": "any",
"activeTriggerMode": -10
},
"internalVersion": 53,
"keepAspectRatio": false,
"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"
}
},
"desaturate": false,
"subRegions": [
{
"type": "subbackground"
},
{
"text_shadowXOffset": 0,
"text_text_format_s_format": "none",
"text_text": "%p",
"text_shadowColor": [
0,
0,
0,
1
],
"text_selfPoint": "AUTO",
"text_automaticWidth": "Auto",
"text_fixedWidth": 64,
"anchorYOffset": 0,
"text_justify": "CENTER",
"type": "subtext",
"text_color": [
1,
1,
1,
1
],
"text_font": "Friz Quadrata TT",
"text_text_format_p_time_precision": 1,
"text_shadowYOffset": 0,
"text_text_format_p_time_dynamic_threshold": 0,
"text_wordWrap": "WordWrap",
"text_visible": true,
"text_anchorPoint": "CENTER",
"text_text_format_p_time_format": 0,
"text_text_format_p_format": "timed",
"text_fontSize": 23,
"anchorXOffset": 0,
"text_fontType": "OUTLINE"
},
{
"glowFrequency": 0.25,
"type": "subglow",
"useGlowColor": false,
"glowType": "Pixel",
"glowLength": 10,
"glowYOffset": 0,
"glowColor": [
1,
1,
1,
1
],
"glowXOffset": 0,
"glow": false,
"glowScale": 1,
"glowThickness": 1.5,
"glowLines": 8,
"glowBorder": false
}
],
"height": 48,
"load": {
"use_spellknown": true,
"use_mysticenchantactive": true,
"class": {
"multi": []
},
"talent": {
"multi": []
},
"mysticenchantactive": 984117,
"spec": {
"multi": []
},
"spellknown": 86395,
"size": {
"multi": []
}
},
"source": "import",
"regionType": "icon",
"cooldown": false,
"conditions": [
{
"check": {
"trigger": 2,
"variable": "onCooldown",
"value": 1
},
"changes": [
{
"value": true,
"property": "desaturate"
},
{
"value": true,
"property": "sub.2.text_visible"
}
]
},
{
"check": {
"trigger": 1,
"variable": "show",
"value": 1
},
"changes": [
{
"value": true,
"property": "sub.3.glow"
},
{
"value": true,
"property": "sub.2.text_visible"
},
{
"property": "desaturate"
}
]
}
],
"xOffset": -280,
"color": [
1,
1,
1,
1
],
"config": [],
"zoom": 0.3,
"url": "AYRO AURA",
"tocversion": 30300,
"id": "Soul Harvest",
"anchorFrameType": "SCREEN",
"frameStrata": 1,
"width": 48,
"alpha": 1,
"uid": ")4kIkutQrsQ",
"inverse": false,
"icon": true,
"selfPoint": "CENTER",
"displayIcon": "Interface\\Icons\\spell_warlock_demonsoul",
"information": [],
"authorOptions": []
},
{
"iconSource": -1,
"authorOptions": [],
"yOffset": -171,
"anchorPoint": "CENTER",
"url": "AYRO AURA",
"actions": {
"start": [],
"finish": [],
"init": []
},
"triggers": {
"1": {
"trigger": {
"useName": true,
"auranames": [
"Arcane Power"
],
"ownOnly": true,
"event": "Health",
"unit": "player",
"spellIds": [],
"type": "aura2",
"subeventPrefix": "SPELL",
"names": [],
"subeventSuffix": "_CAST_START",
"debuffType": "HELPFUL"
},
"untrigger": []
},
"2": {
"trigger": {
"type": "spell",
"subeventSuffix": "_CAST_START",
"debuffType": "HELPFUL",
"use_genericShowOn": true,
"event": "Cooldown Progress (Spell)",
"unit": "player",
"realSpellName": "Arcane Power",
"use_spellName": true,
"spellIds": [],
"names": [],
"genericShowOn": "showAlways",
"subeventPrefix": "SPELL",
"use_track": true,
"spellName": 12042
},
"untrigger": []
},
"disjunctive": "any",
"activeTriggerMode": -10
},
"internalVersion": 53,
"keepAspectRatio": false,
"selfPoint": "CENTER",
"desaturate": false,
"subRegions": [
{
"type": "subbackground"
},
{
"text_shadowXOffset": 0,
"text_text_format_s_format": "none",
"text_text": "%p",
"text_shadowColor": [
0,
0,
0,
1
],
"text_selfPoint": "AUTO",
"text_automaticWidth": "Auto",
"text_fixedWidth": 64,
"anchorYOffset": 0,
"text_justify": "CENTER",
"type": "subtext",
"text_color": [
1,
1,
1,
1
],
"text_font": "Friz Quadrata TT",
"text_fontType": "OUTLINE",
"text_shadowYOffset": 0,
"anchorXOffset": 0,
"text_wordWrap": "WordWrap",
"text_visible": true,
"text_anchorPoint": "CENTER",
"text_text_format_p_time_format": 0,
"text_text_format_p_format": "timed",
"text_fontSize": 23,
"text_text_format_p_time_dynamic_threshold": 0,
"text_text_format_p_time_precision": 1
},
{
"glowFrequency": 0.25,
"type": "subglow",
"glowXOffset": 0,
"glowType": "Pixel",
"glowLength": 10,
"glowYOffset": 0,
"glowColor": [
1,
1,
1,
1
],
"useGlowColor": false,
"glow": false,
"glowThickness": 1.5,
"glowScale": 1,
"glowLines": 8,
"glowBorder": false
}
],
"height": 48,
"load": {
"use_spellknown": true,
"use_mysticenchantactive": true,
"mysticenchantactive": 984117,
"talent": {
"multi": []
},
"class": {
"multi": []
},
"spec": {
"multi": []
},
"spellknown": 12042,
"size": {
"multi": []
}
},
"source": "import",
"regionType": "icon",
"information": [],
"cooldownEdge": false,
"color": [
1,
1,
1,
1
],
"xOffset": -231,
"zoom": 0.3,
"config": [],
"tocversion": 30300,
"id": "Arcane Power Lota",
"parent": "Lota",
"frameStrata": 1,
"anchorFrameType": "SCREEN",
"width": 48,
"uid": "y5F3oiJiDah",
"inverse": false,
"alpha": 1,
"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"
}
},
"conditions": [
{
"check": {
"trigger": 2,
"variable": "onCooldown",
"value": 1
},
"changes": [
{
"value": true,
"property": "desaturate"
},
{
"value": true,
"property": "sub.2.text_visible"
}
]
},
{
"check": {
"trigger": 1,
"variable": "show",
"value": 1
},
"changes": [
{
"value": true,
"property": "sub.3.glow"
},
{
"value": true,
"property": "sub.2.text_visible"
},
{
"property": "desaturate"
}
]
}
],
"cooldown": false,
"icon": true
},
{
"outline": "OUTLINE",
"wagoID": "selAf1dYg",
"xOffset": 0,
"shadowYOffset": -1,
"anchorPoint": "CENTER",
"displayText_format_p_time_format": 0,
"customTextUpdate": "event",
"automaticWidth": "Auto",
"actions": {
"start": [],
"finish": [],
"init": []
},
"triggers": {
"1": {
"trigger": {
"type": "unit",
"subeventSuffix": "_CAST_START",
"event": "Conditions",
"names": [],
"use_mounted": false,
"spellIds": [],
"unit": "pet",
"use_unit": true,
"subeventPrefix": "SPELL",
"use_HasPet": false,
"debuffType": "HELPFUL"
},
"untrigger": []
},
"activeTriggerMode": -10
},
"displayText_format_p_time_mod_rate": true,
"internalVersion": 66,
"selfPoint": "BOTTOM",
"font": "Friz Quadrata TT",
"version": 3,
"subRegions": [
{
"type": "subbackground"
}
],
"load": {
"use_mysticenchantactive": true,
"class": {
"single": "WARLOCK",
"multi": {
"WARLOCK": true
}
},
"talent": {
"multi": []
},
"use_vehicle": false,
"mysticenchantactive": 984117,
"spec": {
"multi": []
},
"size": {
"multi": []
}
},
"fontSize": 28,
"source": "import",
"shadowXOffset": 1,
"displayText_format_p_format": "timed",
"regionType": "text",
"url": "AYRO AURA",
"fixedWidth": 200,
"displayText_format_p_time_legacy_floor": false,
"yOffset": 41,
"displayText": "Pet missing !",
"displayText_format_p_time_precision": 1,
"uid": "uHVXlJvdyst",
"color": [
1,
0.97255,
0.98824,
1
],
"justify": "LEFT",
"semver": "1.0.2",
"tocversion": 30300,
"id": "IMP",
"authorOptions": [],
"frameStrata": 1,
"anchorFrameType": "SCREEN",
"parent": "Lota",
"config": [],
"displayText_format_p_time_dynamic_threshold": 60,
"animation": {
"start": {
"type": "none",
"easeType": "easeIn",
"easeStrength": 3,
"duration_type": "seconds",
"preset": "starShakeDecay"
},
"main": {
"type": "preset",
"easeType": "none",
"easeStrength": 3,
"duration_type": "seconds",
"preset": "alphaPulse"
},
"finish": {
"type": "none",
"easeType": "none",
"easeStrength": 3,
"duration_type": "seconds",
"preset": "starShakeDecay"
}
},
"shadowColor": [
0,
0,
0,
1
],
"conditions": [],
"information": [],
"wordWrap": "WordWrap"
},
{
"grow": "DOWN",
"controlledChildren": [
"Demonic Pact 2",
"DPT: Current SpellPower"
],
"borderBackdrop": "Blizzard Dialog Background",
"wagoID": "5VtwwoPcV",
"parent": "Lota",
"yOffset": -141.33,
"sortHybridTable": {
"Demonic Pact 2": false,
"DPT: Current SpellPower": false
},
"fullCircle": true,
"space": 2,
"url": "AYRO AURA",
"actions": {
"start": [],
"finish": [],
"init": []
},
"triggers": [
{
"trigger": {
"debuffType": "HELPFUL",
"type": "aura2",
"spellIds": [],
"subeventSuffix": "_CAST_START",
"subeventPrefix": "SPELL",
"unit": "player",
"event": "Health",
"names": []
},
"untrigger": []
}
],
"columnSpace": 1,
"internalVersion": 70,
"selfPoint": "TOP",
"align": "CENTER",
"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"
}
},
"rotation": 0,
"stagger": 0,
"version": 1,
"subRegions": [],
"rowSpace": 1,
"anchorPoint": "CENTER",
"load": {
"size": {
"multi": []
},
"spec": {
"multi": []
},
"class": {
"multi": []
},
"talent": {
"multi": []
}
},
"arcLength": 360,
"backdropColor": [
1,
1,
1,
0.5
],
"borderInset": 1,
"source": "import",
"stepAngle": 15,
"scale": 1,
"centerType": "LR",
"border": true,
"borderEdge": "None",
"regionType": "dynamicgroup",
"borderSize": 1,
"limit": 5,
"groupIcon": "Interface\\Icons\\Spell_Shadow_DemonicPact",
"gridWidth": 5,
"radius": 200,
"config": [],
"constantFactor": "RADIUS",
"sort": "none",
"borderOffset": 9,
"semver": "1.0.0",
"tocversion": 30300,
"id": "Demonic Pact ",
"animate": false,
"frameStrata": 1,
"anchorFrameType": "SCREEN",
"authorOptions": [],
"uid": "EjEdzbC4duX",
"gridType": "RD",
"xOffset": -173.21,
"borderColor": [
0,
0,
0,
1
],
"conditions": [],
"information": {
"forceEvents": true
},
"useLimit": false
},
{
"iconSource": -1,
"wagoID": "5VtwwoPcV",
"color": [
1,
1,
1,
1
],
"customText": "function()\n local spowermax = math.floor(math.max(unpack({GetSpellBonusDamage(6), GetSpellBonusDamage(3)}) \/ 100 * 91))\n return spowermax\nend",
"yOffset": 0,
"anchorPoint": "CENTER",
"cooldownSwipe": false,
"cooldownEdge": false,
"icon": true,
"triggers": {
"1": {
"trigger": {
"useName": true,
"subeventSuffix": "_CAST_START",
"fetchTooltip": true,
"event": "Health",
"names": [],
"subeventPrefix": "SPELL",
"use_tooltipValue": false,
"spellIds": [],
"tooltipValueNumber": 1,
"unit": "player",
"auranames": [
"48090",
"54909"
],
"type": "aura2",
"debuffType": "HELPFUL"
},
"untrigger": []
},
"2": {
"trigger": {
"type": "aura2",
"use_count": false,
"auranames": [
"Bloodlust"
],
"event": "Combat Log",
"unit": "player",
"subeventPrefix": "",
"useName": true,
"subeventSuffix": "",
"debuffType": "HELPFUL"
},
"untrigger": []
},
"disjunctive": "any",
"activeTriggerMode": 1
},
"internalVersion": 70,
"keepAspectRatio": false,
"selfPoint": "CENTER",
"desaturate": false,
"version": 1,
"subRegions": [
{
"type": "subbackground"
},
{
"border_offset": 0,
"type": "subborder",
"border_color": [
0,
0,
0,
1
],
"border_visible": false,
"border_edge": "Square Full White",
"border_size": 1
},
{
"text_text_format_p_time_precision": 1,
"text_text": "%p",
"text_text_format_p_time_mod_rate": true,
"text_selfPoint": "CENTER",
"text_automaticWidth": "Auto",
"text_fixedWidth": 64,
"text_text_format_p_time_legacy_floor": false,
"text_justify": "CENTER",
"rotateText": "NONE",
"text_text_format_p_time_format": 0,
"text_text_format_p_time_dynamic_threshold": 5,
"type": "subtext",
"text_shadowColor": [
0,
0,
0,
1
],
"text_color": [
1,
1,
1,
1
],
"text_font": "Expressway",
"text_shadowYOffset": 0,
"text_anchorYOffset": 25,
"anchorYOffset": 0,
"text_wordWrap": "WordWrap",
"text_visible": true,
"text_anchorPoint": "CENTER",
"text_fontType": "OUTLINE",
"text_shadowXOffset": 0,
"text_fontSize": 20,
"anchorXOffset": 0,
"text_text_format_p_format": "timed"
},
{
"text_text_format_p_time_precision": 1,
"text_text": "%1.tooltip1",
"text_text_format_cSP_format": "none",
"text_shadowColor": [
0,
0,
0,
1
],
"text_selfPoint": "CENTER",
"text_automaticWidth": "Auto",
"text_fixedWidth": 64,
"anchorYOffset": 0,
"text_text_format_c_format": "none",
"text_justify": "CENTER",
"rotateText": "NONE",
"text_text_format_1.tooltip1_format": "none",
"text_text_format_p_format": "timed",
"text_shadowXOffset": 0,
"type": "subtext",
"text_text_format_p_time_format": 0,
"text_color": [
0.19216,
1,
0.10196,
1
],
"text_font": "Expressway",
"text_text_format_p_time_mod_rate": true,
"text_shadowYOffset": 0,
"text_visible": true,
"text_wordWrap": "WordWrap",
"text_fontType": "OUTLINE",
"text_anchorPoint": "CENTER",
"text_anchorYOffset": 0,
"text_text_format_p_time_legacy_floor": false,
"text_fontSize": 20,
"text_text_format_p_time_dynamic_threshold": 60,
"anchorXOffset": 0
},
{
"text_text_format_p_time_precision": 1,
"text_text": "%c",
"text_text_format_p_format": "timed",
"text_selfPoint": "AUTO",
"text_automaticWidth": "Auto",
"text_fixedWidth": 64,
"text_text_format_p_time_legacy_floor": false,
"text_justify": "CENTER",
"rotateText": "NONE",
"text_text_format_c_format": "none",
"text_text_format_p_time_dynamic_threshold": 60,
"text_shadowXOffset": 0,
"type": "subtext",
"anchorYOffset": 0,
"text_color": [
1,
0.63529,
0,
1
],
"text_font": "Expressway",
"text_shadowYOffset": 0,
"text_anchorYOffset": -35,
"text_fontType": "OUTLINE",
"text_wordWrap": "WordWrap",
"text_visible": true,
"text_anchorPoint": "CENTER",
"text_text_format_p_time_format": 0,
"text_text_format_p_time_mod_rate": true,
"text_fontSize": 20,
"anchorXOffset": 0,
"text_shadowColor": [
0,
0,
0,
1
]
}
],
"height": 50,
"load": {
"ingroup": {
"multi": {
"group": true,
"raid": true
}
},
"use_level": false,
"talent": {
"single": 65,
"multi": {
"65": true
}
},
"class": {
"single": "WARLOCK",
"multi": {
"WARLOCK": true
}
},
"use_talent": false,
"use_mysticenchantactive": true,
"use_groupSize": false,
"spec": {
"multi": []
},
"mysticenchantactive": 984117,
"use_combat": true,
"size": {
"multi": []
}
},
"source": "import",
"animation": {
"start": {
"type": "preset",
"easeType": "none",
"easeStrength": 3,
"duration_type": "seconds",
"preset": "shrink"
},
"main": {
"easeStrength": 3,
"type": "none",
"duration_type": "seconds",
"easeType": "none"
},
"finish": {
"easeStrength": 3,
"type": "none",
"duration_type": "seconds",
"easeType": "none"
}
},
"regionType": "icon",
"cooldown": true,
"conditions": [
{
"check": {
"trigger": 1,
"op": "<",
"value": "29.75",
"variable": "expirationTime"
},
"changes": [
{
"value": [
0.67451,
0,
0.40784,
1
],
"property": "sub.2.text_color"
}
]
},
{
"check": {
"trigger": 1,
"op": "<",
"value": "25.2",
"variable": "expirationTime"
},
"changes": [
{
"value": [
0.67451,
0.3098,
0,
1
],
"property": "sub.2.text_color"
}
]
},
{
"check": {
"trigger": 1,
"op": "<",
"value": "12",
"variable": "expirationTime"
},
"changes": [
{
"value": [
0.67451,
0,
0.0039216,
1
],
"property": "color"
},
{
"value": {
"sound_type": "Play",
"sound": "Interface\\Addons\\FojjiCore\\sound\\Collect.ogg",
"sound_channel": "Master"
},
"property": "sound"
}
]
},
{
"check": {
"trigger": 1,
"op": "<",
"value": "5",
"variable": "expirationTime"
},
"changes": [
{
"value": [
0,
0.086275,
1,
1
],
"property": "color"
},
{
"value": {
"sound_type": "Play",
"sound": "Interface\\AddOns\\WeakAuras\\Media\\Sounds\\CatMeow2.ogg",
"sound_channel": "Master"
},
"property": "sound"
}
]
},
{
"check": {
"trigger": -2,
"op": ">=",
"variable": "AND",
"checks": [
{
"trigger": -1,
"op": "",
"value": "function()\n if aura_env.states[1].tooltip1 ==nil then\n retval = false\n elseif aura_env.states[1].tooltip1 >= aura_env.config.SPTrigger then\n retval = true\n else \n retval = false\n end\n return retval\nend",
"variable": "customcheck"
},
{
"trigger": 2,
"variable": "show",
"value": 0
}
]
},
"changes": [
{
"value": {
"message": "Big Demonic Pact up",
"message_type": "SMARTRAID"
},
"property": "chat"
},
{
"value": {
"sound_type": "Play",
"sound": "Interface\\AddOns\\WeakAuras\\Media\\Sounds\\Bleat.ogg",
"sound_channel": "Master"
},
"property": "sound"
}
]
}
],
"authorOptions": [
{
"type": "range",
"bigStep": 50,
"max": 2000,
"step": 1,
"width": 2,
"min": 200,
"key": "SPTrigger",
"default": 500,
"name": "Spellpower",
"useDesc": true,
"desc": "Spellpower for chatmessage \/ whisper"
}
],
"parent": "Demonic Pact ",
"config": {
"SPTrigger": 600
},
"anchorFrameParent": false,
"cooldownTextDisabled": true,
"anchorFrameType": "SCREEN",
"zoom": 0,
"semver": "1.0.0",
"tocversion": 30300,
"id": "Demonic Pact 2",
"useCooldownModRate": true,
"alpha": 1,
"width": 50,
"xOffset": 0,
"uid": "YJVTjOcCAdR",
"inverse": false,
"frameStrata": 1,
"actions": {
"start": [],
"finish": [],
"init": {
"custom": "aura_env.dp = GetSpellInfo(48090)",
"do_custom": true
}
},
"displayIcon": 237562,
"information": {
"forceEvents": true
},
"url": "AYRO AURA"
},
{
"outline": "OUTLINE",
"wagoID": "5VtwwoPcV",
"authorOptions": [],
"customText": "function ()\n if not aura_env.last or aura_env.last < GetTime() - 1 then\n aura_env.last = GetTime()\n \n local color_white = \"|cFFFFFFFF\";\n local icon_shadow = \"|TInterface\\\\Icons\\\\spell_shadow_shadowbolt:18|t\";\n local icon_sac = \"|TInterface\\\\Icons\\\\spell_shadow_psychicscream:18|t\";\n local icon_demonologist = \"|TInterface\\\\Icons\\\\spell_shadow_shadowpact:18|t\";\n local icon_soullink = \"|TInterface\\\\Icons\\\\spell_shadow_gathershadows:18|t\";\n \n -- Undead\/demon dmg calculation\n -- Blessed Wizard Oil\n local hasMainHandEnchant,_,_,mainHandEnchantID,_,_,_,_ = GetWeaponEnchantInfo()\n local UDSP = 0\n if hasMainHandEnchant and mainHandEnchantID == 2685 then\n UDSP = UDSP + 60\n end\n -- UDC chest\n if IsEquippedItem(23085) then\n UDSP = UDSP + 48\n end\n -- UDC gloves\n if IsEquippedItem(23084) then\n UDSP = UDSP + 35\n end\n -- UDC bracers\n if IsEquippedItem(23091) then\n UDSP = UDSP + 26\n end\n -- Rune of the Dawn\n if IsEquippedItem(19812) then\n UDSP = UDSP + 48\n end\n -- Mark of the Champion\n if IsEquippedItem(23207) then\n UDSP = UDSP + 85\n end\n \n \n local shadowDmg = GetSpellBonusDamage(6) + UDSP\n \n -- Check player buffs\n local demonologist = 0\n local ToS = 0\n local soullink = 0\n for i=1,40 do \n local _,_,_,_,_,_,_,_,_,spellID=UnitBuff(\"player\",i)\n -- Felguard - sacrifice 10% \n if spellID == 35701 then \n ToS = 1.10\n end \n -- Succubus - sacrifice 15%\n if spellID == 18791 then\n ToS = 1.15\n end\n -- Felguard - Master Demonologist 5%\n if spellID == 35706 then\n demonologist = 1.05\n end\n -- Succubus - Master Demonologist 10%\n if spellID == 23836 then\n demonologist = 1.10\n end\n -- Soullink - 5%\n if spellID == 25228 then\n soullink = 1.05\n end\n end\n if ToS > 1 then\n shadowDmg = shadowDmg * ToS\n end\n \n if demonologist > 1 then\n shadowDmg = shadowDmg * demonologist \n end\n \n if soullink > 1 then\n shadowDmg = shadowDmg * soullink\n end\n \n local msg = icon_shadow .. \" %.0f\" .. color_white\n \n if ToS > 1 then\n msg = msg .. \" (\" .. icon_sac .. \")\"\n end\n if demonologist > 1 then\n msg = msg .. \" (\" .. icon_demonologist ..\")\"\n end\n if soullink > 1 then\n msg = msg .. \" (\" .. icon_soullink ..\")\"\n end\n \n aura_env.shadow = msg:format(shadowDmg)\n end\n return aura_env.shadow \nend",
"shadowYOffset": 0,
"anchorPoint": "CENTER",
"customTextUpdate": "update",
"automaticWidth": "Auto",
"actions": {
"start": [],
"finish": [],
"init": {
"custom": "aura_env.text = aura_env.text or \"\"",
"do_custom": true
}
},
"triggers": {
"1": {
"trigger": {
"use_alwaystrue": true,
"duration": "1",
"names": [],
"debuffType": "HELPFUL",
"type": "custom",
"unevent": "auto",
"subeventPrefix": "SPELL",
"event": "Conditions",
"custom_type": "status",
"subeventSuffix": "_CAST_START",
"customName": "function()\n return aura_env.text\nend",
"custom": "function ()\n local msg = \"%.0f\" \n local spowermax = math.floor(math.max(unpack({GetSpellBonusDamage(6), GetSpellBonusDamage(3)})) \/100 *91)\n aura_env.text = msg:format(spowermax)\n return true\nend",
"use_unit": true,
"check": "event",
"unit": "player",
"events": "PLAYER_EQUIPMENT_CHANGED, PLAYER_TALENT_UPDATE, PLAYER_ENTERING_WORLD, UNIT_AURA, SPELL_POWER_CHANGED",
"spellIds": []
},
"untrigger": {
"custom": "function()\n return false; \nend"
}
},
"2": {
"trigger": {
"type": "unit",
"use_alwaystrue": true,
"use_unit": true,
"debuffType": "HELPFUL",
"event": "Conditions",
"unit": "player"
},
"untrigger": []
},
"disjunctive": "any",
"customTriggerLogic": "\n",
"activeTriggerMode": 1
},
"internalVersion": 70,
"wordWrap": "WordWrap",
"desc": "Current Bonus Spell Damage",
"font": "Expressway",
"version": 1,
"subRegions": [
{
"type": "subbackground"
}
],
"load": {
"use_mysticenchantactive": true,
"use_level": false,
"talent": {
"multi": {
"65": true
}
},
"zoneIds": "",
"class": {
"single": "WARLOCK",
"multi": {
"WARLOCK": true
}
},
"spec": {
"multi": []
},
"use_talent": false,
"level": [
"10"
],
"ingroup": {
"multi": {
"group": true,
"raid": true
}
},
"level_operator": [
">="
],
"use_groupSize": false,
"use_combat": true,
"mysticenchantactive": 984117,
"use_never": false,
"size": {
"multi": []
}
},
"fontSize": 16,
"source": "import",
"displayText_format_n_format": "none",
"shadowXOffset": 0,
"regionType": "text",
"displayText_format_c_format": "none",
"selfPoint": "LEFT",
"conditions": [
{
"check": {
"trigger": 1,
"op": "<",
"value": "29.75",
"variable": "expirationTime"
},
"changes": [
{
"value": {
"sound_type": "Play",
"sound": "Interface\\AddOns\\DBM-Core\\sounds\\Alert.mp3",
"sound_channel": "Master"
},
"property": "sound"
}
]
},
{
"check": {
"trigger": 1,
"op": "<",
"value": "25.2",
"variable": "expirationTime"
},
"changes": [
{
"value": {
"sound_type": "Play",
"sound": "Interface\\AddOns\\DBM-Core\\sounds\\Alert.mp3",
"sound_channel": "Master"
},
"property": "sound"
}
]
},
{
"check": {
"trigger": 1,
"op": "<",
"value": "29.75",
"variable": "expirationTime"
},
"changes": [
{
"value": [
0.67451,
0,
0.0039216,
1
],
"property": "color"
}
]
},
{
"check": {
"trigger": 1,
"op": "<",
"value": "9.25",
"variable": "expirationTime"
},
"changes": [
{
"value": [
0,
0.086275,
1,
1
],
"property": "color"
}
]
},
{
"check": {
"trigger": 1,
"op": "<",
"value": "9.25",
"variable": "expirationTime"
},
"changes": [
{
"value": {
"sound_type": "Play",
"sound": "Interface\\AddOns\\WeakAuras\\Media\\Sounds\\CatMeow2.ogg",
"sound_channel": "Master"
},
"property": "sound"
}
]
}
],
"semver": "1.0.0",
"anchorFrameParent": false,
"yOffset": -25,
"color": [
0.90588,
0.99608,
1,
1
],
"config": [],
"justify": "CENTER",
"tocversion": 30300,
"id": "DPT: Current SpellPower",
"xOffset": 0,
"frameStrata": 1,
"anchorFrameType": "SCREEN",
"animation": {
"start": {
"type": "preset",
"easeType": "none",
"easeStrength": 3,
"duration_type": "seconds",
"preset": "fade"
},
"main": {
"easeStrength": 3,
"type": "none",
"duration_type": "seconds",
"easeType": "none"
},
"finish": {
"type": "preset",
"easeType": "none",
"easeStrength": 3,
"duration_type": "seconds",
"preset": "fade"
}
},
"uid": "Z)TnB8JrTCi",
"parent": "Demonic Pact ",
"displayText": "%n",
"shadowColor": [
0,
0,
0,
1
],
"fixedWidth": 200,
"information": {
"forceEvents": true,
"ignoreOptionsEventErrors": true
},
"url": "AYRO AURA"
}
],
"v": 2000
}