Code:
local addonName, addon = ...
addon.spellDB = {
-- Higher up = higher display prio
-- Immune
"33786", -- Cyclone
"19263" , -- Deterrence
"45438" , -- Ice Block
"642" , -- Divine Shield
"115018", -- Desecrated Ground
"31821", -- Aura Mastery
"1022" , -- Hand of Protection
"47585" , -- Dispersion
"31224" , -- Cloak of Shadows
"45182", -- Cheating Death
"8178" , -- Grounding Totem Effect (Grounding Totem)
"76577", -- Smoke Bomb
"88611", -- Smoke Bomb
"46924" , -- Bladestorm
"51690", -- Killing Spree
-- CCs
"108194", -- Asphyxiate
"115001", -- Remorseless Winter
"115000" , -- Remorseless Winter
"91800", -- Gnaw
"91797", -- Monstrous Blow (Dark Transformation)
"99" , -- Incapacitating Roar
"163505", -- Rake
"22570", -- Maim
"5211" , -- Mighty Bash
"3355" , -- Freezing Trap
"117526", -- Binding Shot
"19386", -- Wyvern Sting
"24394", -- Intimidation
"44572", -- Deep Freeze
"31661", -- Dragon's Breath
"118" , -- Polymorph
"61305", -- Polymorph: Black Cat
"28272", -- Polymorph: Pig
"61721", -- Polymorph: Rabbit
"61780", -- Polymorph: Turkey
"28271", -- Polymorph: Turtle
"82691", -- Ring of Frost
"140376", -- Ring of Frost
"119392", -- Charging Ox Wave
"120086", -- Fists of Fury
"119381", -- Leg Sweep
"115078", -- Paralysis
"105421", -- Blinding Light
"105593", -- Fist of Justice
"853" , -- Hammer of Justice
"20066", -- Repentance
"605" , -- Dominate Mind
"88625", -- Holy Word: Chastise
"64044", -- Psychic Horror
"8122" , -- Psychic Scream
"9484" , -- Shackle Undead
"87204", -- Sin and Punishment
"2094" , -- Blind
"1833" , -- Cheap Shot
"1776" , -- Gouge
"408" , -- Kidney Shot
"6770" , -- Sap
"51514", -- Hex
"118905", -- Static Charge (Capacitor Totem)
"5782" , -- Fear
"118699", -- Fear
"130616", -- Fear (Glyph of Fear)
"5484" , -- Howl of Terror
"6789" , -- Mortal Coil
"30283", -- Shadowfury
"89766", -- Axe Toss (Felguard/Wrathguard)
"115268", -- Mesmerize (Shivarra)
"6358" , -- Seduction (Succubus)
"118895", -- Dragon Roar
"5246" , -- Intimidating Shout (aoe)
"132168", -- Shockwave
"107570", -- Storm Bolt
"132169", -- Storm Bolt
"20549", -- War Stomp
-- Anti CC
"48792", -- Icebound Fortitude
"48707" , -- Anti-Magic Shell
"23920" , -- Spell Reflection
"114028", -- Mass Spell Reflection
-- Silence
"47476", -- Strangulate
"114238", -- Fae Silence (Glyph of Fae Silence)
"81261", -- Solar Beam
"137460", -- Silenced (Ring of Peace)
"15487", -- Silence
"1330" , -- Garrote - Silence
"31117", -- Unstable Affliction
-- Buffs
"49039", -- Lichborne
"61394", -- Frozen Wake (Glyph of Freezing Trap)
"54216", -- Master's Call (root and snare immune only)
"137798", -- Reflective Armor Plating
"5277", -- Evasion
"110913", -- Dark Bargain
"104773", -- Unending Resolve
"147531", -- Bloodbath
"18499", -- Berserker Rage
"51713", -- Shadow Dance
"61336", -- Survival Instincts
"22812", -- Barkskin
"50334", -- Bersek
"112071", -- Celestial Alignment
"102342", -- Iron Bark
"6940", -- Sac
"31884", -- Avenging Wrath
"1719", -- Recklessness
"110909", -- Alter Time
"113858", -- Dark Soul
"113861", -- Dark Soul
"113860", -- Dark Soul
"102543", -- Incarnation: King of the Jungle
"102560", -- Incarnation: Chosen of Elune
-- Root & Snare
"96294" , -- Chains of Ice (Chilblains)
"91807" , -- Shambling Rush (Dark Transformation)
"339" , -- Entangling Roots
"113770", -- Entangling Roots (Force of Nature - Balance Treants)
"45334" , -- Immobilized (Wild Charge - Bear)
"102359", -- Mass Entanglement
"127797" , -- Ursol's Vortex
"128405", -- Narrow Escape
"5116" , -- Concussive Shot
"13809" , -- Ice Trap 1
"13810" , -- Ice Trap 2
"122" , -- Frost Nova
"111340", -- Ice Ward
"115760", -- Glyph of Ice Block
"157997", -- Ice Nova
"66309", -- Ice Nova
"110959", -- Greater Invisibility
"33395" , -- Freeze
"116706", -- Disable
"116095" , -- Disable
"118585" , -- Leer of the Ox
"123586" , -- Flying Serpent Kick
"31935", -- Avenger's Shield
"110300" , -- Burden of Guilt
"87194" , -- Glyph of Mind Blast
"114404", -- Void Tendril's Grasp
"114239", -- Phantasm
"586" , -- Fade (Aura mastery when glyphed, dunno which id is right)
"159628", -- Fade
"102051", -- Frostjaw (also a root)
"26679" , -- Deadly Throw
"119696" , -- Debilitation
"77505", -- Earthquake
"64695" , -- Earthgrab (Earthgrab Totem)
"63685" , -- Freeze (Frozen Power)
"77478" , -- Earthquake (Glyph of Unstable Earth)
"118345", -- Pulverize
"710" , -- Banish
"137143", -- Blood Horror
"22703", -- Infernal Awakening
"18498", -- Silenced - Gag Order (PvE only)
"107566", -- Staggering Shout
"105771", -- Warbringer
-- Other
"30217", -- Adamantite Grenade
"67769", -- Cobalt Frag Bomb
"30216", -- Fel Iron Bomb
"107079", -- Quaking Palm
"13327", -- Reckless Charge
"25046", -- Arcane Torrent (Energy)
"28730", -- Arcane Torrent (Mana)
"50613", -- Arcane Torrent (Runic Power)
"69179", -- Arcane Torrent (Rage)
"80483", -- Arcane Torrent (Focus)
"129597", -- Arcane Torrent (Chi)
"39965" , -- Frost Grenade
"55536" , -- Frostweave Net
"13099" , -- Net-o-Matic
"1604" , -- Dazed
}