Hot Streak + Heating Up!
Updated for S9
This is a modified version of https://wago.io/PeAPjEmUG made by Ridepad, with Ascension Spell IDs and Random Enchants support
~By Netherborne#6633
|
Quick Facts |
---|
Updated for S9
This is a modified version of https://wago.io/PeAPjEmUG made by Ridepad, with Ascension Spell IDs and Random Enchants support
~By Netherborne#6633
Contains custom functions.
Code has been reviewed and is safe to use, custom functions might affect in-game performance.
{
"s": "4.2.2",
"m": "d",
"d": {
"borderBackdrop": "Blizzard Tooltip",
"wagoID": "PeAPjEmUG",
"xOffset": 0,
"yOffset": 0,
"anchorPoint": "CENTER",
"borderColor": [
0,
0,
0,
1
],
"url": "",
"actions": {
"start": [],
"finish": [],
"init": []
},
"triggers": [
{
"trigger": {
"debuffType": "HELPFUL",
"type": "aura2",
"spellIds": [],
"subeventSuffix": "_CAST_START",
"subeventPrefix": "SPELL",
"unit": "player",
"event": "Health",
"names": []
},
"untrigger": []
}
],
"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"
}
},
"desc": "",
"version": 1,
"subRegions": [],
"load": {
"size": {
"multi": []
},
"spec": {
"multi": []
},
"class": {
"multi": []
},
"talent": {
"multi": []
}
},
"backdropColor": [
1,
1,
1,
0.5
],
"source": "import",
"scale": 1,
"border": false,
"borderEdge": "Square Full White",
"regionType": "group",
"borderSize": 2,
"borderOffset": 4,
"semver": "1.0.0",
"tocversion": 30300,
"id": "Hot Streak + Heating Up!",
"frameStrata": 1,
"anchorFrameType": "SCREEN",
"selfPoint": "CENTER",
"borderInset": 1,
"uid": "5s4plvxtCFp",
"groupIcon": "Interface\\Icons\\Ability_Mage_HotStreak",
"config": [],
"conditions": [],
"information": {
"groupOffset": false
},
"authorOptions": []
},
"c": [
{
"yOffset": 0,
"anchorPoint": "CENTER",
"url": "",
"actions": {
"start": [],
"finish": [],
"init": {
"custom": "local crit\nlocal PLAYER = UnitGUID('player')\nlocal SPELLS = {\n [44457] = true, -- Living Bomb Rank 1\n [55359] = true, -- Living Bomb Rank 2\n \n [10151] = true, -- Fireball rank 11\n [25306] = true, -- Fireball rank 12\n [27070] = true, -- Fireball rank 13\n [38692] = true, -- Fireball rank 14\n \n [10207] = true, -- Scorch Rank 7\n [27073] = true, -- Scorch Rank 8\n [27074] = true, -- Scorch Rank 9\n \n [81232] = true, -- Scorched Earth Rank 7\n [81233] = true, -- Scorched Earth Rank 8\n [81234] = true, -- Scorched Earth Rank 9\n \n [27078] = true, -- Fireblast Rank 8\n [27079] = true, -- Fireblast Rank 9\n \n \n [47610] = true, -- Frostfire Bolt\n [17924] = aura_env.config[\"LREoption\"] == 2, -- Soul Fire Rank 2 Consumed by Fire LRE\n [27211] = aura_env.config[\"LREoption\"] == 2, -- Soul Fire Rank 3 Consumed by Fire LRE\n [30545] = aura_env.config[\"LREoption\"] == 2, -- Soul Fire Rank 4 Consumed by Fire LRE\n \n \n [33938] = aura_env.config[\"LREoption\"] == 3, -- Pyroblast Rank 8 Hot Hands LRE\n [33938] = aura_env.config[\"LREoption\"] == 3, -- Pyroblast Rank 9 Hot Hands LRE\n [33938] = aura_env.config[\"LREoption\"] == 3 -- Pyroblast Rank 10 Hot Hands LRE\n}\naura_env.check_spell = function(event, sGUID, spellID, isCrit)\n if sGUID == PLAYER and SPELLS[spellID] then\n crit = isCrit and not crit\n elseif event == \"PLAYER_DEAD\" then\n crit = false\n end\n return crit\nend"
}
},
"triggers": {
"1": {
"trigger": {
"useName": false,
"useExactSpellId": true,
"event": "Health",
"subeventPrefix": "SPELL",
"auranames": [
"Hot Streak"
],
"unit": "player",
"spellIds": [],
"auraspellids": [
"48108"
],
"names": [],
"subeventSuffix": "_CAST_START",
"type": "aura2",
"debuffType": "HELPFUL"
},
"untrigger": []
},
"activeTriggerMode": -10
},
"internalVersion": 52,
"animation": {
"start": {
"easeStrength": 3,
"type": "none",
"duration_type": "seconds",
"easeType": "none"
},
"main": {
"type": "preset",
"easeType": "none",
"duration_type": "seconds",
"easeStrength": 3,
"preset": "pulse"
},
"finish": {
"easeStrength": 3,
"type": "none",
"duration_type": "seconds",
"easeType": "none"
}
},
"desaturate": false,
"rotation": 0,
"subRegions": [
{
"type": "subbackground"
}
],
"height": 400,
"rotate": true,
"load": {
"use_talentknown": false,
"use_never": false,
"talent": {
"multi": []
},
"spec": {
"multi": []
},
"class": {
"single": "HERO",
"multi": []
},
"use_class": true,
"use_spellknown": false,
"use_level": false,
"use_exact_talentknown": false,
"level_operator": ">=",
"level": "55",
"spellknown": 133,
"size": {
"multi": []
}
},
"mirror": false,
"regionType": "texture",
"blendMode": "BLEND",
"texture": "Interface\\AddOns\\WeakAuras\\Media\\SpellActivationOverlays\\hot_streak",
"frameStrata": 1,
"selfPoint": "CENTER",
"tocversion": 30300,
"id": "Hot Streak Left",
"anchorFrameType": "SCREEN",
"alpha": 1,
"width": 200,
"authorOptions": [
{
"type": "select",
"values": [
"None",
"Consumed by Fire",
"Hot Hands"
],
"key": "LREoption",
"default": 1,
"name": "Legendary Enchant",
"useDesc": false,
"width": 1
}
],
"config": {
"LREoption": 1
},
"color": [
1,
0.98431,
0.98039,
1
],
"xOffset": -150,
"uid": "Gba3xYXELFW",
"conditions": [],
"information": [],
"discrete_rotation": 0
},
{
"color": [
1,
0.98431,
0.98039,
1
],
"yOffset": 0,
"anchorPoint": "CENTER",
"url": "",
"actions": {
"start": [],
"init": {
"custom": "local crit\nlocal PLAYER = UnitGUID('player')\nlocal SPELLS = {\n [44461] = true, -- Living Bomb Rank 1\n [55359] = true, -- Living Bomb Rank 2\n \n [10151] = true, -- Fireball rank 11\n [25306] = true, -- Fireball rank 12\n [27070] = true, -- Fireball rank 13\n [38692] = true, -- Fireball rank 14\n \n [10207] = true, -- Scorch Rank 7\n [27073] = true, -- Scorch Rank 8\n [27074] = true, -- Scorch Rank 9\n \n [81232] = true, -- Scorched Earth Rank 7\n [81233] = true, -- Scorched Earth Rank 8\n [81234] = true, -- Scorched Earth Rank 9\n \n [27078] = true, -- Fireblast Rank 8\n [27079] = true, -- Fireblast Rank 9\n \n \n [47610] = true, -- Frostfire Bolt\n [17924] = aura_env.config[\"LREoption\"] == 2, -- Soul Fire Rank 2 Consumed by Fire LRE\n [27211] = aura_env.config[\"LREoption\"] == 2, -- Soul Fire Rank 3 Consumed by Fire LRE\n [30545] = aura_env.config[\"LREoption\"] == 2, -- Soul Fire Rank 4 Consumed by Fire LRE\n \n \n [33938] = aura_env.config[\"LREoption\"] == 3, -- Pyroblast Rank 8 Hot Hands LRE\n [33938] = aura_env.config[\"LREoption\"] == 3, -- Pyroblast Rank 9 Hot Hands LRE\n [33938] = aura_env.config[\"LREoption\"] == 3 -- Pyroblast Rank 10 Hot Hands LRE\n}\naura_env.check_spell = function(event, sGUID, spellID, isCrit)\n if sGUID == PLAYER and SPELLS[spellID] then\n crit = isCrit and not crit\n elseif event == \"PLAYER_DEAD\" then\n crit = false\n end\n return crit\nend"
},
"finish": []
},
"triggers": {
"1": {
"trigger": {
"useName": false,
"useExactSpellId": true,
"event": "Health",
"subeventPrefix": "SPELL",
"subeventSuffix": "_CAST_START",
"names": [],
"spellIds": [],
"auraspellids": [
"48108"
],
"unit": "player",
"auranames": [
"Hot Streak"
],
"type": "aura2",
"debuffType": "HELPFUL"
},
"untrigger": []
},
"activeTriggerMode": -10
},
"internalVersion": 52,
"animation": {
"start": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
},
"main": {
"type": "preset",
"easeType": "none",
"duration_type": "seconds",
"preset": "pulse",
"easeStrength": 3
},
"finish": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
}
},
"desaturate": false,
"rotation": 0,
"subRegions": [
{
"type": "subbackground"
}
],
"height": 400,
"rotate": true,
"load": {
"use_talentknown": false,
"use_never": false,
"talent": {
"multi": []
},
"spec": {
"multi": []
},
"class": {
"single": "HERO",
"multi": []
},
"use_class": true,
"use_spellknown": false,
"use_level": false,
"use_exact_talentknown": false,
"level_operator": ">=",
"level": "55",
"spellknown": 133,
"size": {
"multi": []
}
},
"mirror": true,
"regionType": "texture",
"blendMode": "BLEND",
"texture": "Interface\\AddOns\\WeakAuras\\Media\\SpellActivationOverlays\\hot_streak",
"frameStrata": 1,
"selfPoint": "CENTER",
"tocversion": 30300,
"id": "Hot Streak Right",
"anchorFrameType": "SCREEN",
"alpha": 1,
"width": 200,
"authorOptions": [
{
"type": "select",
"values": [
"None",
"Consumed by Fire",
"Hot Hands"
],
"key": "LREoption",
"default": 1,
"name": "Legendary Enchant",
"useDesc": false,
"width": 1
}
],
"uid": "JGwgBeIAb8a",
"xOffset": 150,
"config": {
"LREoption": 1
},
"conditions": [],
"information": [],
"discrete_rotation": 0
},
{
"wagoID": "PeAPjEmUG",
"authorOptions": [],
"yOffset": 0,
"anchorPoint": "CENTER",
"url": "",
"actions": {
"start": [],
"init": {
"custom": "local crit\nlocal CONSUMED_BY_FIRE = {spellID = 414080, t = 2}\nlocal HOT_HANDS = {spellID = 979765, t = 3}\n\nlocal SPELLS = {\n \n \n [\"Living Bomb\"] = true,\n [\"Fireball\"] = true,\n -- [\"Fire Fire Fireball\"] = 1,\n [\"Scorch\"] = true,\n [\"Scorched Earth\"] = true,\n [\"Fire Blast\"] = true,\n [\"Frostfire Bolt\"] = true,\n [\"Soul Fire\"] = CA_IsSpellKnown(271535) or CONSUMED_BY_FIRE.t, -- ELUNE TALENT OR A52 MYSTIC ENCHANT\n [\"Pyroblast\"] = CA_IsSpellKnown(275397) or HOT_HANDS.t, -- -- ELUNE TALENT OR A52 MYSTIC ENCHANT\n}\n\nlocal function isHotStreakLearned()\n \n return (C_CharacterAdvancement.GetTalentRankByID(953) or 0) > 0 \n \nend\n\nlocal function checkIDforRE(name)\n \n if SPELLS[name] then\n \n \n if SPELLS[name] == CONSUMED_BY_FIRE.t then\n return WeakAuras.IsMysticEnchantApplied(CONSUMED_BY_FIRE.spellID)\n \n elseif SPELLS[name] == HOT_HANDS.t then\n return WeakAuras.IsMysticEnchantApplied(HOT_HANDS.spellID) \n \n elseif SPELLS[name] then\n return true\n \n end\n \n end\n \nend\n\n\nfunction aura_env.check_spell(event, sGUID, spellName, isCrit)\n \n --print(sGUID)\n \n if sGUID ~= UnitGUID(\"player\") then \n -- print(\"not player\")\n return crit \n end\n \n \n \n if event == \"PLAYER_DEAD\" then\n -- print(\"player died\")\n crit = false\n return\n end\n \n \n if not isHotStreakLearned() then\n -- print(\"Hot Streak Not Learned.\")\n crit = false\n return\n end\n \n \n \n if checkIDforRE(spellName) then\n -- print(\"check:\",spellName,isCrit and \"Crit\" or \"No Crit\")\n crit = isCrit and not crit\n \n end\n \n return crit\nend",
"do_custom": true
},
"finish": []
},
"triggers": {
"1": {
"trigger": {
"type": "custom",
"custom_hide": "custom",
"subeventSuffix": "_CAST_START",
"subeventPrefix": "SPELL",
"unit": "player",
"event": "Health",
"customStacks": "",
"spellIds": [],
"customName": "",
"custom": "\nfunction(event,...)\n \n \n local sourceGUID = select(3,...)\n \n \n local spellName = select(10,...)\n local isCritical = select(18,...)\n \n return aura_env.check_spell(event, sourceGUID, spellName, isCritical)\n \nend\n\n\n\n",
"names": [],
"check": "event",
"events": "CLEU:SPELL_DAMAGE PLAYER_DEAD",
"custom_type": "event",
"debuffType": "HELPFUL"
},
"untrigger": {
"custom": "function() \n return true \nend"
}
},
"activeTriggerMode": -10
},
"internalVersion": 52,
"selfPoint": "CENTER",
"desaturate": false,
"discrete_rotation": 0,
"version": 1,
"subRegions": [
{
"type": "subbackground"
}
],
"height": 150,
"rotate": false,
"load": {
"use_talentknown": false,
"use_never": false,
"talent": {
"single": 66,
"multi": []
},
"spec": {
"multi": []
},
"class": {
"single": "HERO",
"multi": {
"MAGE": true
}
},
"use_class": true,
"use_spellknown": false,
"use_level": false,
"use_exact_talentknown": false,
"level_operator": ">=",
"level": "55",
"spellknown": 133,
"size": {
"multi": []
}
},
"source": "import",
"mirror": false,
"regionType": "texture",
"blendMode": "BLEND",
"rotation": 0,
"texture": "Interface\\AddOns\\WeakAuras\\Media\\SpellActivationOverlays\\imp_empowerment",
"desc": "",
"xOffset": -110,
"semver": "1.0.0",
"tocversion": 30300,
"id": "Heating Up Left",
"color": [
1,
1,
1,
0.75
],
"alpha": 0.75,
"width": 100,
"anchorFrameType": "SCREEN",
"config": [],
"uid": "ofjQMh6akkW",
"frameStrata": 1,
"conditions": [],
"information": {
"ignoreOptionsEventErrors": 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"
}
}
},
{
"wagoID": "PeAPjEmUG",
"yOffset": 0,
"anchorPoint": "CENTER",
"url": "",
"actions": {
"start": [],
"finish": [],
"init": {
"custom": "local crit\nlocal CONSUMED_BY_FIRE = {spellID = 414080, t = 2}\nlocal HOT_HANDS = {spellID = 979765, t = 3}\n\nlocal SPELLS = {\n \n \n [\"Living Bomb\"] = true,\n [\"Fireball\"] = true,\n -- [\"Fire Fire Fireball\"] = 1,\n [\"Scorch\"] = true,\n [\"Scorched Earth\"] = true,\n [\"Fire Blast\"] = true,\n [\"Frostfire Bolt\"] = true,\n [\"Soul Fire\"] = CA_IsSpellKnown(271535) or CONSUMED_BY_FIRE.t, -- ELUNE TALENT OR A52 MYSTIC ENCHANT\n [\"Pyroblast\"] = CA_IsSpellKnown(275397) or HOT_HANDS.t, -- -- ELUNE TALENT OR A52 MYSTIC ENCHANT\n}\n\nlocal function isHotStreakLearned()\n \n return (C_CharacterAdvancement.GetTalentRankByID(953) or 0) > 0 \n \nend\n\nlocal function checkIDforRE(name)\n \n if SPELLS[name] then\n \n \n if SPELLS[name] == CONSUMED_BY_FIRE.t then\n return WeakAuras.IsMysticEnchantApplied(CONSUMED_BY_FIRE.spellID)\n \n elseif SPELLS[name] == HOT_HANDS.t then\n return WeakAuras.IsMysticEnchantApplied(HOT_HANDS.spellID) \n \n elseif SPELLS[name] then\n return true\n \n end\n \n end\n \nend\n\n\nfunction aura_env.check_spell(event, sGUID, spellName, isCrit)\n \n --print(sGUID)\n \n if sGUID ~= UnitGUID(\"player\") then \n -- print(\"not player\")\n return crit \n end\n \n \n \n if event == \"PLAYER_DEAD\" then\n -- print(\"player died\")\n crit = false\n return\n end\n \n \n if not isHotStreakLearned() then\n -- print(\"Hot Streak Not Learned.\")\n crit = false\n return\n end\n \n \n \n if checkIDforRE(spellName) then\n -- print(\"check:\",spellName,isCrit and \"Crit\" or \"No Crit\")\n crit = isCrit and not crit\n \n end\n \n return crit\nend",
"do_custom": true
}
},
"triggers": {
"1": {
"trigger": {
"type": "custom",
"debuffType": "HELPFUL",
"subeventSuffix": "_CAST_START",
"custom_type": "event",
"customStacks": "",
"event": "Health",
"unit": "player",
"spellIds": [],
"customName": "",
"custom": "\nfunction(event,...)\n \n \n local sourceGUID = select(3,...)\n \n \n local spellName = select(10,...)\n local isCritical = select(18,...)\n \n return aura_env.check_spell(event, sourceGUID, spellName, isCritical)\n \nend\n\n\n\n",
"events": "CLEU:SPELL_DAMAGE PLAYER_DEAD",
"check": "event",
"subeventPrefix": "SPELL",
"names": [],
"custom_hide": "custom"
},
"untrigger": {
"custom": "function() \n return true \nend"
}
},
"activeTriggerMode": -10
},
"internalVersion": 52,
"selfPoint": "CENTER",
"desaturate": false,
"discrete_rotation": 0,
"version": 1,
"subRegions": [
{
"type": "subbackground"
}
],
"height": 150,
"rotate": false,
"load": {
"use_talentknown": false,
"use_never": false,
"talent": {
"single": 66,
"multi": []
},
"spec": {
"multi": []
},
"class": {
"single": "HERO",
"multi": {
"MAGE": true
}
},
"use_class": true,
"use_spellknown": false,
"use_level": false,
"use_exact_talentknown": false,
"level_operator": ">=",
"level": "55",
"spellknown": 133,
"size": {
"multi": []
}
},
"source": "import",
"mirror": true,
"regionType": "texture",
"blendMode": "BLEND",
"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"
}
},
"texture": "Interface\\AddOns\\WeakAuras\\Media\\SpellActivationOverlays\\imp_empowerment",
"rotation": 0,
"desc": "",
"semver": "1.0.0",
"tocversion": 30300,
"id": "Heating Up Right",
"width": 100,
"frameStrata": 1,
"anchorFrameType": "SCREEN",
"authorOptions": [],
"uid": "8tvux5bcSJg",
"config": [],
"alpha": 0.75,
"xOffset": 110,
"conditions": [],
"information": {
"ignoreOptionsEventErrors": false
},
"color": [
1,
1,
1,
0.75
]
}
],
"v": 1421
}