sArenaMixin.specIconTextures = {
    DRUID = {
        ["Balance"] = 136096,
        ["Feral"] = 132115,
        ["Restoration"] = 136041
    },
    HUNTER = {
        ["Beast Mastery"] = 132164,
        ["Marksmanship"] = 132222,
        ["Survival"] = 132215
    },
    MAGE = {
        ["Arcane"] = 135932,
        ["Fire"] = 135812,
        ["Frost"] = 135846
    },
    PALADIN = {
        ["Holy"] = 135920,
        ["Protection"] = 135893,
        ["Retribution"] = 135873
    },
    PRIEST = {
        ["Discipline"] = 135940,
        ["Holy"] = 237542,
        ["Shadow"] = 136207
    },
    ROGUE = {
        ["Assassination"] = 132292,
        ["Combat"] = 132090,
        ["Subtlety"] = 132320
    },
    SHAMAN = {
        ["Elemental"] = 136048,
        ["Enhancement"] = 136051,
        ["Restoration"] = 136052
    },
    WARLOCK = {
        ["Affliction"] = 136145,
        ["Demonology"] = 136172,
        ["Destruction"] = 136186
    },
    WARRIOR = {
        ["Arms"] = 132355,
        ["Fury"] = 132347,
        ["Protection"] = 132341
    }
}

sArenaMixin.specBuffs = {
    -- DRUID
    [33883] = "Restoration",   -- Natural Perfection
    [33881] = "Restoration",   -- Natural Perfection
    [33882] = "Restoration",   -- Natural Perfection
    [45283] = "Restoration",   -- Natural Perfection
    [16880] = "Restoration",   -- Nature's Grace; Dreamstate spec in TBC equals Restoration
    [16886] = "Restoration",   -- Nature's Grace; Dreamstate spec in TBC equals Restoration
    [24858] = "Restoration",   -- Moonkin Form; Dreamstate spec in TBC equals Restoration
    [17007] = "Feral",         -- Leader of the Pack
    [16188] = "Restoration",   -- Nature's Swiftness
    [33891] = "Restoration",   -- Tree of Life
    -- HUNTER
    [34471] = "Beast Mastery", -- The Beast Within
    [34692] = "Beast Mastery", -- The Beast Within
    [20895] = "Beast Mastery", -- Spirit Bond
    [19578] = "Beast Mastery", -- Spirit Bond
    [34460] = "Beast Mastery", -- Ferocious Inspiration
    [34455] = "Beast Mastery", -- Ferocious Inspiration
    [34459] = "Beast Mastery", -- Ferocious Inspiration
    [27066] = "Marksmanship",  -- Trueshot Aura
    [34502] = "Survival",      -- Expose Weakness
    [34500] = "Survival",      -- Expose Weakness
    [34503] = "Survival",      -- Expose Weakness
    [34501] = "Survival",      -- Expose Weakness
    -- MAGE
    [13032] = "Frost",         -- Ice Barrier
    [33405] = "Frost",         -- Ice Barrier
    [13033] = "Frost",         -- Ice Barrier
    [27134] = "Frost",         -- Ice Barrier
    [11426] = "Frost",         -- Ice Barrier
    [13031] = "Frost",         -- Ice Barrier
    [11129] = "Fire",          -- Combustion
    [12042] = "Arcane",        -- Arcane Power
    [12043] = "Arcane",        -- Presence of Mind
    [12472] = "Frost",         -- Icy Veins
    [31570] = "Arcane",        -- Improved Blink
    [31569] = "Arcane",        -- Improved Blink
    -- PALADIN
    [31836] = "Holy",          -- Light's Grace
    [31834] = "Holy",          -- Light's Grace
    [31833] = "Holy",          -- Light's Grace
    [31835] = "Holy",          -- Light's Grace
    [31842] = "Holy",          -- Divine Illumination
    [20216] = "Holy",          -- Divine Favor
    [27170] = "Retribution",   -- Seal of Command
    [20049] = "Retribution",   -- Vengeance
    [20218] = "Retribution",   -- Sanctity Aura
    [26017] = "Retribution",   -- Vindication
    [26018] = "Retribution",   -- Vindication
    [67] = "Retribution",      -- Vindication
    [26016] = "Retribution",   -- Vindication
    [9452] = "Retribution",    -- Vindication
    [26021] = "Retribution",   -- Vindication
    [27179] = "Protection",    -- Holy Shield
    -- PRIEST
    [15473] = "Shadow",        -- Shadowform
    [15286] = "Shadow",        -- Vampiric Embrace
    [45241] = "Discipline",    -- Focused Will
    [45244] = "Discipline",    -- Focused Will
    [45237] = "Discipline",    -- Focused Will
    [45243] = "Discipline",    -- Focused Will
    [45242] = "Discipline",    -- Focused Will
    [45234] = "Discipline",    -- Focused Will
    [27811] = "Discipline",    -- Blessed Recovery
    [27816] = "Discipline",    -- Blessed Recovery
    [27815] = "Discipline",    -- Blessed Recovery
    [27813] = "Discipline",    -- Blessed Recovery
    [27818] = "Discipline",    -- Blessed Recovery
    [27817] = "Discipline",    -- Blessed Recovery
    [33146] = "Holy",          -- Blessed Resilience
    [33143] = "Holy",          -- Blessed Resilience
    [33142] = "Holy",          -- Blessed Resilience
    [33145] = "Holy",          -- Blessed Resilience
    [14818] = "Discipline",    -- Divine Spirit
    [27841] = "Discipline",    -- Divine Spirit
    [14819] = "Discipline",    -- Divine Spirit
    [25312] = "Discipline",    -- Divine Spirit
    [14752] = "Discipline",    -- Divine Spirit
    [32999] = "Discipline",    -- Prayer of Spirit
    [27681] = "Discipline",    -- Prayer of Spirit
    [10060] = "Discipline",    -- Power Infusion
    [33206] = "Discipline",    -- Pain Suppression
    [44416] = "Discipline",    -- Pain Suppression
    [14893] = "Discipline",    -- Inspiration
    -- ROGUE
    [36554] = "Subtlety",      -- Shadowstep
    [44373] = "Subtlety",      -- Shadowstep Speed Buff
    [36563] = "Subtlety",      -- Shadowstep Dmg Buff
    [14278] = "Subtlety",      -- Ghostly Strike
    [31240] = "Assassination", -- Find Weakness
    [31237] = "Assassination", -- Find Weakness
    [31238] = "Assassination", -- Find Weakness
    [31241] = "Assassination", -- Find Weakness
    [31233] = "Assassination", -- Find Weakness
    [31236] = "Assassination", -- Find Weakness
    [31242] = "Assassination", -- Find Weakness
    [31235] = "Assassination", -- Find Weakness
    [31239] = "Assassination", -- Find Weakness
    [31234] = "Assassination", -- Find Weakness
    [13877] = "Combat",        -- Blade Flurry
    -- SHAMAN
    [30809] = "Enhancement",   -- Unleashed Rage
    [30805] = "Enhancement",   -- Unleashed Rage
    [30802] = "Enhancement",   -- Unleashed Rage
    [30808] = "Enhancement",   -- Unleashed Rage
    [30807] = "Enhancement",   -- Unleashed Rage
    [30810] = "Enhancement",   -- Unleashed Rage
    [30804] = "Enhancement",   -- Unleashed Rage
    [30811] = "Enhancement",   -- Unleashed Rage
    [30806] = "Enhancement",   -- Unleashed Rage
    [30803] = "Enhancement",   -- Unleashed Rage
    [16280] = "Enhancement",   -- Flurry
    [30824] = "Enhancement",   -- Shamanistic Rage
    [30823] = "Enhancement",   -- Shamanistic Rage
    [16190] = "Restoration",   -- Mana Tide Totem
    [32593] = "Restoration",   -- Earth Shield
    [974] = "Restoration",     -- Earth Shield
    [32594] = "Restoration",   -- Earth Shield
    [379] = "Restoration",     -- Earth Shield
    [29205] = "Restoration",   -- Healing Way
    [29206] = "Restoration",   -- Healing Way
    [29202] = "Restoration",   -- Healing Way
    [29203] = "Restoration",   -- Healing Way
    -- WARLOCK
    [19028] = "Demonology",    -- Soul Link
    [23842] = "Demonology",    -- Master Demonologist
    [23839] = "Demonology",    -- Master Demonologist
    [35706] = "Demonology",    -- Master Demonologist
    [23829] = "Demonology",    -- Master Demonologist
    [23761] = "Demonology",    -- Master Demonologist
    [23826] = "Demonology",    -- Master Demonologist
    [23822] = "Demonology",    -- Master Demonologist
    [35705] = "Demonology",    -- Master Demonologist
    [23835] = "Demonology",    -- Master Demonologist
    [23825] = "Demonology",    -- Master Demonologist
    [23838] = "Demonology",    -- Master Demonologist
    [23841] = "Demonology",    -- Master Demonologist
    [23827] = "Demonology",    -- Master Demonologist
    [35702] = "Demonology",    -- Master Demonologist
    [23828] = "Demonology",    -- Master Demonologist
    [35704] = "Demonology",    -- Master Demonologist
    [23824] = "Demonology",    -- Master Demonologist
    [35703] = "Demonology",    -- Master Demonologist
    [23844] = "Demonology",    -- Master Demonologist
    [23843] = "Demonology",    -- Master Demonologist
    [23840] = "Demonology",    -- Master Demonologist
    [23823] = "Demonology",    -- Master Demonologist
    [23836] = "Demonology",    -- Master Demonologist
    [23785] = "Demonology",    -- Master Demonologist
    [23833] = "Demonology",    -- Master Demonologist
    [23762] = "Demonology",    -- Master Demonologist
    [23760] = "Demonology",    -- Master Demonologist
    [23759] = "Demonology",    -- Master Demonologist
    [23834] = "Demonology",    -- Master Demonologist
    [23837] = "Demonology",    -- Master Demonologist
    [35693] = "Demonology",    -- Demonic Knowledge
    [35691] = "Demonology",    -- Demonic Knowledge
    [35692] = "Demonology",    -- Demonic Knowledge
    [30301] = "Destruction",   -- Nether Protection
    [30302] = "Destruction",   -- Nether Protection
    [30300] = "Destruction",   -- Nether Protection
    [30299] = "Destruction",   -- Nether Protection
    [34936] = "Destruction",   -- Backlash
    [34939] = "Destruction",   -- Backlash
    [34938] = "Destruction",   -- Backlash
    [34935] = "Destruction",   -- Backlash
    -- WARRIOR
    [29841] = "Arms",          -- Second Wind
    [29834] = "Arms",          -- Second Wind
    [29838] = "Arms",          -- Second Wind
    [29842] = "Arms",          -- Second Wind
    [12292] = "Arms"           -- Death Wish
}

sArenaMixin.specCasts = {
    -- DRUID
    [33831] = "Balance",       -- Force of Nature
    [33876] = "Feral",         -- Mangle (Cat)
    [33982] = "Feral",         -- Mangle (Cat)
    [33983] = "Feral",         -- Mangle (Cat)
    [33878] = "Feral",         -- Mangle (Bear)
    [33986] = "Feral",         -- Mangle (Bear)
    [33987] = "Feral",         -- Mangle (Bear)
    [18562] = "Restoration",   -- Swiftmend
    [17116] = "Restoration",   -- Nature's Swiftness
    [33891] = "Restoration",   -- Tree of Life
    -- HUNTER
    [19577] = "Beast Mastery", -- Intimidation
    [34490] = "Marksmanship",  -- Silencing Shot
    [19386] = "Survival",      -- Wyvern Sting
    [24131] = "Survival",      -- Wyvern Sting
    [24132] = "Survival",      -- Wyvern Sting
    [24133] = "Survival",      -- Wyvern Sting
    [24134] = "Survival",      -- Wyvern Sting
    [24135] = "Survival",      -- Wyvern Sting
    [27068] = "Survival",      -- Wyvern Sting
    [27069] = "Survival",      -- Wyvern Sting
    [19306] = "Survival",      -- Counterattack
    [20909] = "Survival",      -- Counterattack
    [20910] = "Survival",      -- Counterattack
    [27067] = "Survival",      -- Counterattack
    [27066] = "Marksmanship",  -- Trueshot Aura
    -- MAGE
    [12042] = "Arcane",        -- Arcane Power
    [31589] = "Arcane",        -- Slow
    [31661] = "Fire",          -- Dragon's Breath
    [33041] = "Fire",          -- Dragon's Breath
    [33042] = "Fire",          -- Dragon's Breath
    [33043] = "Fire",          -- Dragon's Breath
    [11113] = "Fire",          -- Blast Wave
    [13018] = "Fire",          -- Blast Wave
    [13019] = "Fire",          -- Blast Wave
    [13020] = "Fire",          -- Blast Wave
    [13021] = "Fire",          -- Blast Wave
    [27133] = "Fire",          -- Blast Wave
    [33933] = "Fire",          -- Blast Wave
    [11426] = "Frost",         -- Ice Barrier
    [13031] = "Frost",         -- Ice Barrier
    [13032] = "Frost",         -- Ice Barrier
    [13033] = "Frost",         -- Ice Barrier
    [27134] = "Frost",         -- Ice Barrier
    [33405] = "Frost",         -- Ice Barrier
    [31687] = "Frost",         -- Summon Water Elemental
    [12472] = "Frost",         -- Icy Veins
    [11958] = "Frost",         -- Cold Snap
    -- PALADIN
    [20473] = "Holy",          -- Holy Shock
    [20929] = "Holy",          -- Holy Shock
    [20930] = "Holy",          -- Holy Shock
    [25902] = "Holy",          -- Holy Shock
    [25903] = "Holy",          -- Holy Shock
    [25911] = "Holy",          -- Holy Shock
    [25912] = "Holy",          -- Holy Shock
    [25913] = "Holy",          -- Holy Shock
    [25914] = "Holy",          -- Holy Shock
    [27174] = "Holy",          -- Holy Shock
    [27175] = "Holy",          -- Holy Shock
    [27176] = "Holy",          -- Holy Shock
    [33072] = "Holy",          -- Holy Shock
    [33073] = "Holy",          -- Holy Shock
    [33074] = "Holy",          -- Holy Shock
    [20216] = "Holy",          -- Divine Favor
    [31842] = "Holy",          -- Divine Illumination
    [31935] = "Protection",    -- Avenger's Shield
    [32699] = "Protection",    -- Avenger's Shield
    [32700] = "Protection",    -- Avenger's Shield
    [27170] = "Retribution",   -- Seal of Command
    [35395] = "Retribution",   -- Crusader Strike
    [20066] = "Retribution",   -- Repentance
    [20218] = "Retribution",   -- Sanctity Aura
    -- PRIEST
    [10060] = "Discipline",    -- Power Infusion
    [33206] = "Discipline",    -- Pain Suppression
    [44416] = "Discipline",    -- Pain Suppression
    [14752] = "Discipline",    -- Divine Spirit
    [14818] = "Discipline",    -- Divine Spirit
    [14819] = "Discipline",    -- Divine Spirit
    [25312] = "Discipline",    -- Divine Spirit
    [27841] = "Discipline",    -- Divine Spirit
    [33142] = "Holy",          -- Blessed Resilience
    [33143] = "Holy",          -- Blessed Resilience
    [33145] = "Holy",          -- Blessed Resilience
    [33146] = "Holy",          -- Blessed Resilience
    [34861] = "Holy",          -- Circle of Healing
    [34863] = "Holy",          -- Circle of Healing
    [34864] = "Holy",          -- Circle of Healing
    [34865] = "Holy",          -- Circle of Healing
    [34866] = "Holy",          -- Circle of Healing
    [15473] = "Shadow",        -- Shadowform
    [34914] = "Shadow",        -- Vampiric Touch
    [34916] = "Shadow",        -- Vampiric Touch
    [34917] = "Shadow",        -- Vampiric Touch
    [34919] = "Shadow",        -- Vampiric Touch
    [15286] = "Shadow",        -- Vampiric Embrace
    -- ROGUE
    [1329] = "Assassination",  -- Mutilate
    [34411] = "Assassination", -- Mutilate
    [34412] = "Assassination", -- Mutilate
    [34413] = "Assassination", -- Mutilate
    [14177] = "Assassination", -- Cold Blood
    [13750] = "Combat",        -- Adrenaline Rush
    [13877] = "Combat",        -- Blade Flurry
    [14185] = "Subtlety",      -- Preparation
    [16511] = "Subtlety",      -- Hemorrhage
    [17347] = "Subtlety",      -- Hemorrhage
    [17348] = "Subtlety",      -- Hemorrhage
    [26864] = "Subtlety",      -- Hemorrhage
    [36554] = "Subtlety",      -- Shadowstep
    [14278] = "Subtlety",      -- Ghostly Strike
    [14183] = "Subtlety",      -- Premeditation
    -- SHAMAN
    [16166] = "Elemental",     -- Elemental Mastery
    [30706] = "Elemental",     -- Totem of Wrath
    [30708] = "Elemental",     -- Totem of Wrath
    [30823] = "Enhancement",   -- Shamanistic Rage
    [30824] = "Enhancement",   -- Shamanistic Rage
    [17364] = "Enhancement",   -- Stormstrike
    [32175] = "Enhancement",   -- Stormstrike
    [32176] = "Enhancement",   -- Stormstrike
    [16190] = "Restoration",   -- Mana Tide Totem
    [379] = "Restoration",     -- Earth Shield
    [974] = "Restoration",     -- Earth Shield
    [32593] = "Restoration",   -- Earth Shield
    [32594] = "Restoration",   -- Earth Shield
    [16188] = "Restoration",   -- Nature's Swiftness
    -- WARLOCK
    [30108] = "Affliction",    -- Unstable Affliction
    [30404] = "Affliction",    -- Unstable Affliction
    [30405] = "Affliction",    -- Unstable Affliction
    [31117] = "Affliction",    -- Unstable Affliction
    [18220] = "Affliction",    -- Dark Pact
    [18937] = "Affliction",    -- Dark Pact
    [18938] = "Affliction",    -- Dark Pact
    [27265] = "Affliction",    -- Dark Pact
    [30283] = "Destruction",   -- Shadowfury
    [30413] = "Destruction",   -- Shadowfury
    [30414] = "Destruction",   -- Shadowfury
    [17962] = "Destruction",   -- Conflagrate
    [18930] = "Destruction",   -- Conflagrate
    [18931] = "Destruction",   -- Conflagrate
    [18932] = "Destruction",   -- Conflagrate
    [27266] = "Destruction",   -- Conflagrate
    [30912] = "Destruction",   -- Conflagrate
    [18708] = "Demonology",    -- Fel Domination
    -- WARRIOR
    [12292] = "Arms",          -- Death Wish
    [12294] = "Arms",          -- Mortal Strike
    [21551] = "Arms",          -- Mortal Strike
    [21552] = "Arms",          -- Mortal Strike
    [21553] = "Arms",          -- Mortal Strike
    [25248] = "Arms",          -- Mortal Strike
    [30330] = "Arms",          -- Mortal Strike
    [23880] = "Fury",          -- Bloodthirst
    [23881] = "Fury",          -- Bloodthirst
    [23885] = "Fury",          -- Bloodthirst
    [23886] = "Fury",          -- Bloodthirst
    [23887] = "Fury",          -- Bloodthirst
    [23888] = "Fury",          -- Bloodthirst
    [23889] = "Fury",          -- Bloodthirst
    [23890] = "Fury",          -- Bloodthirst
    [23891] = "Fury",          -- Bloodthirst
    [23892] = "Fury",          -- Bloodthirst
    [23893] = "Fury",          -- Bloodthirst
    [23894] = "Fury",          -- Bloodthirst
    [25251] = "Fury",          -- Bloodthirst
    [25252] = "Fury",          -- Bloodthirst
    [25253] = "Fury",          -- Bloodthirst
    [30335] = "Fury",          -- Bloodthirst
    [30339] = "Fury",          -- Bloodthirst
    [30340] = "Fury",          -- Bloodthirst
    [12809] = "Protection",    -- Concussion Blow
    [20243] = "Protection",    -- Devastate
    [30016] = "Protection",    -- Devastate
    [30022] = "Protection",    -- Devastate
    [23922] = "Protection",    -- Shield Slam
    [23923] = "Protection",    -- Shield Slam
    [23924] = "Protection",    -- Shield Slam
    [23925] = "Protection",    -- Shield Slam
    [25258] = "Protection",    -- Shield Slam
    [30356] = "Protection"     -- Shield Slam
}