local E, C, L = select(2, ...):unpack()

----------------------------------------------------------------------------------------
--    Configuration of CombatText AoeSpam
----------------------------------------------------------------------------------------

C.aoespam = {}

-- General filter outgoing healing
C.aoespam.healfilter = {}
C.aoespam.healfilter[143924] = true        -- Leech
C.aoespam.healfilter[127802] = true        -- Touch of the Grave

-- General merge outgoing damage
C.aoespam.merge = {}
C.aoespam.aoespam = {}
C.aoespam.aoespam[6603] = 3                -- Auto Attack
C.aoespam.aoespam[195222] = 4            -- Stormlash [Shaman]
C.aoespam.aoespam[195256] = 4            -- Stormlash [Shaman]
C.aoespam.aoespam[259756] = 6            -- Entropic Embrace (Void Elves)
C.aoespam.aoespam[321519] = 5            -- Paralytic Poison (Covenant Night Fae)
C.aoespam.aoespam[344155] = 1            -- Gluttonous Spike (Trinket)
C.aoespam.aoespam[356320] = 10            -- Siphon Essence (Unholy Shard)
C.aoespam.aoespam[345466] = 3            -- Liquefying Ooze (Trinket)
C.aoespam.aoespam[355759] = 3            -- Frozen Heart (Trinket)
C.aoespam.aoespam[333526] = 3            -- Spiked Burrs (Night Fae Soulbind)
C.aoespam.aoespam[355735] = 3            -- Winds of Winter (Frost Shard)
C.aoespam.aoespam[355804] = 3            -- Blood Link (Blood Shard)
C.aoespam.aoespam[355768] = 3            -- Blood Link (Blood Shard)
C.aoespam.aoespam[355769] = 3            -- Blood Link (Blood Shard)
C.aoespam.aoespam[355829] = 3            -- Chaos Bane (Unholy Shard)
C.aoespam.aoespam[355605] = 3            -- Fusion Amplification (Trinket)
C.aoespam.aoespam[351687] = 3            -- Mnemonic Equipment (Maldraxxus)


-- Class config
if E.myClass == "DEATHKNIGHT" then
    C.aoespam.aoespam[91778] = 0        -- Sweeping Claws
    C.aoespam.aoespam[207311] = 0        -- Clawing Shadows
    C.aoespam.aoespam[115994] = 4        -- Unholy Blight
    C.aoespam.aoespam[206931] = 2.5        -- Blooddrinker
    C.aoespam.aoespam[279303] = 1        -- Frost Breath
    C.aoespam.aoespam[195975] = 1        -- Glacial Advance
    C.aoespam.aoespam[195750] = 3        -- Frozen Pulse
    C.aoespam.aoespam[207150] = 0.5        -- Avalanche
    C.aoespam.aoespam[207230] = 0.5        -- Frostscythe
    C.aoespam.aoespam[194311] = 0.5        -- Festering Wound
    C.aoespam.aoespam[199373] = 4        -- Claw (Addition Ghouls)
    C.aoespam.aoespam[207267] = 0.5        -- Bursting Sores
    C.aoespam.aoespam[215969] = 0.5        -- Epidemic
    C.aoespam.merge[212739] = 215969    -- Epidemic
    C.aoespam.aoespam[196545] = 3        -- Bonestorm Heal
    C.aoespam.aoespam[196528] = 3        -- Bonestorm
    C.aoespam.aoespam[219711] = 0        -- Blood Feast
    C.aoespam.aoespam[196771] = 3        -- Remorseless Winter
    C.aoespam.aoespam[205164] = 0        -- Crystalline Swords
    C.aoespam.merge[205165] = 205164    -- Crystalline Swords Off-Hand
    C.aoespam.merge[237680] = 49184        -- Howling Blast
    C.aoespam.aoespam[205224] = 0.5        -- Consumption Heal
    C.aoespam.aoespam[205223] = 0.5        -- Consumption
    C.aoespam.aoespam[191587] = 4        -- Virulent Plague
    C.aoespam.aoespam[191685] = 4        -- Virulent Eruption
    C.aoespam.aoespam[206930] = 0.5        -- Heart Strike
    C.aoespam.aoespam[55095] = 3.5        -- Frost Fever
    C.aoespam.aoespam[55078] = 3        -- Blood Plague
    C.aoespam.aoespam[50842] = 0        -- Blood Boil
    C.aoespam.aoespam[49184] = 0.5        -- Howling Blast
    C.aoespam.aoespam[52212] = 3        -- Death and Decay
    C.aoespam.aoespam[50401] = 4        -- Razorice
    C.aoespam.aoespam[91776] = 3        -- Claw (Ghoul)
    C.aoespam.aoespam[222024] = 0        -- Obliterate
    C.aoespam.aoespam[222026] = 0        -- Frost Strike
    C.aoespam.aoespam[49998] = 0.5        -- Death Strike
    C.aoespam.aoespam[156000] = 3        -- Defile
    C.aoespam.aoespam[155166] = 3        -- Mark of Sindragosa
    C.aoespam.aoespam[55090] = 0        -- Scourge Strike
    C.aoespam.aoespam[319236] = 5        -- Unholy Pact
    C.aoespam.aoespam[212423] = 6        -- Skulker Shot
    C.aoespam.aoespam[311730] = 4        -- Swarming Mist (Covenant Venthyr)
    C.aoespam.aoespam[323798] = 6        -- Abomination Limb (Covenant Necrolord)
    C.aoespam.merge[66198] = 222024        -- Obliterate Off-Hand
    C.aoespam.merge[66196] = 222026        -- Frost Strike Off-Hand
    C.aoespam.merge[66188] = 49998        -- Death Strike Off-Hand
    C.aoespam.merge[70890] = 55090        -- Scourge Strike (Shadow damage)
    C.aoespam.healfilter[206931] = true    -- Blooddrinker
    C.aoespam.healfilter[55078] = true    -- Blood Plague
    C.aoespam.healfilter[53365] = true    -- Unholy Strength
    C.aoespam.healfilter[119980] = true    -- Conversion
elseif E.myClass == "DEMONHUNTER" then
    C.aoespam.aoespam[258926] = 3.5        -- Fel Barrage
    C.aoespam.aoespam[258921] = 0.5        -- Immolation Aura (Havoc Talent)
    C.aoespam.aoespam[258922] = 4        -- Immolation Aura Tick (Havoc Talent)
    C.aoespam.aoespam[258883] = 4        -- Trail of Ruin
    C.aoespam.aoespam[247455] = 1        -- Spirit Bomb
    C.aoespam.aoespam[243160] = 0        -- Erupting Souls
    C.aoespam.aoespam[189112] = 0        -- Infernal Strike
    C.aoespam.aoespam[228478] = 0        -- Soul Cleave
    C.aoespam.aoespam[204598] = 7        -- Sigil of Flame
    C.aoespam.aoespam[207771] = 7        -- Fiery Brand
    C.aoespam.aoespam[207407] = 4        -- Soul Carver
    C.aoespam.aoespam[204157] = 1        -- Throw Glaive Vengeance
    C.aoespam.aoespam[218677] = 1        -- Spirit Bomb (Damage)
    C.aoespam.aoespam[227255] = 4        -- Spirit Bomb (Heal)
    C.aoespam.aoespam[212105] = 3        -- Fel Devastation (Damage)
    C.aoespam.aoespam[212106] = 3        -- Fel Devastation (Heal)
    C.aoespam.aoespam[213011] = 4        -- Charred Warblades (Heal)
    C.aoespam.aoespam[225919] = 1        -- Fracture
    C.aoespam.merge[225921] = 225919    -- Fracture Off-Hand
    C.aoespam.aoespam[207693] = 6        -- Feast of Souls
    C.aoespam.aoespam[217070] = 0.5        -- Rage of the Illidari
    C.aoespam.aoespam[202388] = 1        -- Inner Demons
    C.aoespam.aoespam[222031] = 1.5        -- Chaos Strike
    C.aoespam.merge[199547] = 222031    -- Chaos Strike Off-Hand
    C.aoespam.aoespam[199552] = 2        -- Blade Dance (AOE, Multi)
    C.aoespam.merge[200685] = 199552    -- Blade Dance
    C.aoespam.aoespam[201789] = 4        -- Fury of the Illidari
    C.aoespam.merge[201628] = 201789    -- Fury of the Illidari    Off-Hand
    C.aoespam.aoespam[203796] = 4        -- Demon Blades
    C.aoespam.aoespam[192611] = 1        -- Fel Rush
    C.aoespam.aoespam[198030] = 3        -- Eye Beam
    C.aoespam.aoespam[198813] = 0        -- Vengeful Retreat
    C.aoespam.aoespam[200166] = 0        -- Metamorphosis
    C.aoespam.aoespam[179057] = 0        -- Chaos Nova
    C.aoespam.aoespam[185123] = 1        -- Throw Glaive Havoc
    C.aoespam.aoespam[207690] = 10        -- Bloodlet
    C.aoespam.aoespam[202446] = 1        -- Anguish
    C.aoespam.aoespam[211796] = 4        -- Chaos Blades
    C.aoespam.merge[211797] = 211796    -- Chaos Blades    Off-Hand
    C.aoespam.aoespam[227518] = 1.5        -- Annihilation
    C.aoespam.merge[201428] = 227518    -- Annihilation    Off-Hand
    C.aoespam.aoespam[210153] = 2        -- Death Sweep
    C.aoespam.merge[210155] = 210153    -- Death Sweep    Off-Hand
    C.aoespam.aoespam[236237] = 2        -- Chaos Cleave
    C.aoespam.aoespam[203794] = 2        -- Consume Soul
    C.aoespam.aoespam[307046] = 0        -- Elysian Decree (Covenant Kyrian)
    C.aoespam.aoespam[345335] = 3        -- The Hunt (DoT)
    C.aoespam.aoespam[345423] = 6        -- The Hunt (Heal)
    C.aoespam.aoespam[342857] = 3        -- Glaive Tempest
    C.aoespam.aoespam[346278] = 3        -- Burning Wound (Legendary)
elseif E.myClass == "DRUID" then
    -- Healing spells
    C.aoespam.aoespam[207386] = 4        -- Spring Blossoms
    C.aoespam.aoespam[102352] = 4        -- Cenarion Ward
    C.aoespam.aoespam[200389] = 4        -- Cultivation
    C.aoespam.aoespam[227034] = 4        -- Lunar Beam Heal
    C.aoespam.aoespam[22842] = 3.5        -- Frenzied Regeneration
    C.aoespam.aoespam[774] = 4            -- Rejuvenation
    C.aoespam.aoespam[48438] = 7        -- Wild Growth
    C.aoespam.aoespam[8936] = 4            -- Regrowth
    C.aoespam.aoespam[33763] = 4        -- Lifebloom
    C.aoespam.aoespam[157982] = 3        -- Tranquility
    C.aoespam.aoespam[81269] = 4        -- Wild Mushroom
    C.aoespam.aoespam[124988] = 3        -- Nature's Vigil
    C.aoespam.aoespam[155777] = 4        -- Rejuvenation (Germination)
    -- Damaging spells
    C.aoespam.aoespam[274838] = 2        -- Feral Frenzy
    C.aoespam.aoespam[202028] = 0        -- Brutal Slash
    C.aoespam.aoespam[211545] = 4        -- Fury of Elune
    C.aoespam.merge[279729] = 190984    -- Solar Wrath
    C.aoespam.aoespam[190984] = 0        -- Solar Wrath
    C.aoespam.aoespam[194153] = 0        -- Lunar Strike
    C.aoespam.aoespam[274283] = 0        -- Full Moon
    C.aoespam.aoespam[204069] = 4        -- Lunar Beam
    C.aoespam.aoespam[213709] = 5        -- Brambles
    C.aoespam.aoespam[213771] = 0        -- Swipe
    C.aoespam.aoespam[192090] = 3        -- Thrash DoT
    C.aoespam.aoespam[164812] = 3        -- Moonfire
    C.aoespam.aoespam[164815] = 3        -- Sunfire
    C.aoespam.aoespam[191037] = 3        -- Starfall
    C.aoespam.aoespam[61391] = 0        -- Typhoon
    C.aoespam.aoespam[155722] = 3        -- Rake
    C.aoespam.aoespam[33917] = 0        -- Mangle
    C.aoespam.aoespam[106785] = 0        -- Swipe
    C.aoespam.aoespam[77758] = 1        -- Thrash (Bear Form)
    C.aoespam.aoespam[106830] = 3        -- Thrash (Cat Form)
    C.aoespam.aoespam[1079] = 3            -- Rip
    C.aoespam.aoespam[124991] = 3        -- Nature's Vigil
    C.aoespam.aoespam[202347] = 3        -- Stellar Flare
    C.aoespam.aoespam[155625] = 3        -- Moonfire (Cat Form)
    C.aoespam.healfilter[145109] = true    -- Ysera's Gift (Self)
    C.aoespam.healfilter[145110] = true    -- Ysera's Gift
    C.aoespam.healfilter[202636] = true    -- Leader of the Pack
elseif E.myClass == "HUNTER" then
    C.aoespam.aoespam[217200] = 4        -- Barbed Shot
    C.aoespam.aoespam[270329] = 0.5        -- Pheromone Bomb
    C.aoespam.aoespam[270332] = 2        -- Pheromone Bomb Tick
    C.aoespam.aoespam[260231] = 0.5        -- Violent Reaction (Pheromone Bomb Effect)
    C.aoespam.aoespam[271048] = 0.5        -- Volatile Bomb
    C.aoespam.aoespam[271049] = 2        -- Volatile Bomb Tick
    C.aoespam.aoespam[270338] = 0.5        -- Shrapnel Bomb
    C.aoespam.aoespam[270339] = 2        -- Shrapnel Bomb Tick
    C.aoespam.aoespam[270343] = 4        -- Internal Bleeding (Shrapnel Bomb Effect)
    C.aoespam.aoespam[259396] = 2        -- Chakrams
    C.aoespam.merge[259398] = 259396    -- Flanking Strike
    C.aoespam.merge[267666] = 259396    -- Flanking Strike
    C.aoespam.aoespam[259516] = 0.5        -- Flanking Strike
    C.aoespam.merge[269752] = 259516    -- Flanking Strike
    C.aoespam.aoespam[265157] = 0.5        -- Wildfire Bomb
    C.aoespam.aoespam[269747] = 6        -- Wildfire Bomb Tick
    C.aoespam.aoespam[271788] = 3        -- Serpent Sting (Marksmanship Talent)
    C.aoespam.aoespam[186387] = 0        -- Bursting Shot
    C.aoespam.aoespam[257045] = 3.5        -- Rapid Fire
    C.aoespam.aoespam[257620] = 0        -- Multi-Shot (Marksmanship)
    C.aoespam.aoespam[2643] = 0            -- Multi-Shot (Beast Mastery)
    C.aoespam.aoespam[259491] = 3        -- Serpent Sting (Survival)
    C.aoespam.aoespam[13812] = 3        -- Explosive Trap
    C.aoespam.aoespam[212680] = 3        -- Explosive Shot
    C.aoespam.aoespam[118459] = 3        -- Beast Cleave
    C.aoespam.aoespam[120361] = 3        -- Barrage
    C.aoespam.aoespam[131900] = 3        -- A Murder of Crows
    C.aoespam.aoespam[194599] = 3        -- Black Arrow
    C.aoespam.aoespam[162543] = 3        -- Poisoned Ammo
    C.aoespam.aoespam[162541] = 3        -- Incendiary Ammo
    C.aoespam.aoespam[34655] = 3        -- Deadly Poison (Trap)
    C.aoespam.aoespam[93433] = 3        -- Burrow Attack (Worm)
    C.aoespam.aoespam[92380] = 3        -- Froststorm Breath (Chimaera)
    C.aoespam.aoespam[212436] = 0.5        -- Butchery
    C.aoespam.aoespam[194859] = 9        -- Dragonsfire Conflagration
    C.aoespam.aoespam[194858] = 9        -- Dragonsfire Grenade
    C.aoespam.aoespam[162487] = 6        -- Steel Trap
    C.aoespam.aoespam[200167] = 1.5        -- Throwing Axes
    C.aoespam.aoespam[187708] = 0.5        -- Carve
    C.aoespam.aoespam[203413] = 5        -- Fury of the Eagle
    C.aoespam.aoespam[203525] = 2        -- Talon Strike
    C.aoespam.aoespam[17253] = 6        -- Bite
    C.aoespam.aoespam[185855] = 6        -- Lacerate
    C.aoespam.aoespam[194279] = 6        -- Caltrops
    C.aoespam.aoespam[19434] = 1        -- Trick Shot (Aimed Shot)
    C.aoespam.aoespam[191070] = 1        -- Call of the Hunter (Marked Shot)
    C.aoespam.aoespam[191043] = 1        -- Legacy of the Windrunners (Aimed Shot)
    C.aoespam.aoespam[198670] = 1        -- Piercing Shot
    C.aoespam.aoespam[201594] = 4        -- Stampede
    C.aoespam.aoespam[260247] = 1        -- Volley
    C.aoespam.aoespam[214581] = 2        -- Sidewinders
    C.aoespam.aoespam[191413] = 6        -- Bestial Ferocity
    C.aoespam.aoespam[16827] = 6        -- Claw
    C.aoespam.aoespam[201754] = 1        -- Stomp
    C.aoespam.aoespam[63900] = 1        -- Thunderstomp
    C.aoespam.aoespam[197465] = 1        -- Surge of the Stormgod
    C.aoespam.aoespam[207097] = 4        -- Titan's Thunder
    C.aoespam.aoespam[269576] = 6        -- Master Marksman
    C.aoespam.aoespam[328837] = 0.5        -- Wild Spirits (Covenant Night Fae)
    C.aoespam.aoespam[328757] = 6        -- Wild Spirits (Covenant Night Fae)
    -- Healing spells
    C.aoespam.aoespam[199483] = 9        -- Camouflage
    C.aoespam.aoespam[136] = 9            -- Mend Pet
    C.aoespam.merge[214303] = 136        -- Mend Pet (Hati)
    C.aoespam.aoespam[197161] = 8        -- Mimiron's Shell Heal
    C.aoespam.aoespam[339400] = 4        -- Rejuvenating Wind (Conduit)
    C.aoespam.healfilter[197205] = true    -- Spirit Bond
elseif E.myClass == "MAGE" then
    C.aoespam.aoespam[217694] = 3.5        -- Living Bomb
    C.aoespam.aoespam[244813] = 3.5        -- Living Bomb
    C.aoespam.aoespam[44461] = 3.5        -- Living Bomb (AoE)
    C.aoespam.aoespam[2120] = 0            -- Flamestrike
    C.aoespam.aoespam[194432] = 0        -- Aftershocks
    C.aoespam.aoespam[12654] = 3        -- Ignite
    C.aoespam.aoespam[31661] = 0        -- Dragon's Breath
    C.aoespam.aoespam[190357] = 3        -- Blizzard
    C.aoespam.aoespam[122] = 0            -- Frost Nova
    C.aoespam.aoespam[1449] = 0            -- Arcane Explosion
    C.aoespam.aoespam[240689] = 0        -- Time and Space
    C.aoespam.aoespam[120] = 0            -- Cone of Cold
    C.aoespam.aoespam[114923] = 3        -- Nether Tempest
    C.aoespam.aoespam[114954] = 3        -- Nether Tempest (AoE)
    C.aoespam.aoespam[7268] = 1.6        -- Arcane Missiles
    C.aoespam.aoespam[84721] = 3        -- Frozen Orb
    C.aoespam.aoespam[228354] = 1.5        -- Flurry
    C.aoespam.aoespam[242851] = 1.5        -- Glacial Eruption
    C.aoespam.aoespam[228600] = 1        -- Glacial Spike
    C.aoespam.aoespam[257538] = 1        -- Ebonbolt
    C.aoespam.aoespam[205021] = 2        -- Ray of Frost
    C.aoespam.aoespam[148022] = 3        -- Icicle (Mastery)
    C.aoespam.aoespam[31707] = 3        -- Waterbolt (Pet)
    C.aoespam.aoespam[228598] = 0.5        -- Ice Lance
    C.aoespam.aoespam[157981] = 0        -- Blast Wave
    C.aoespam.aoespam[157997] = 1        -- Ice Nova
    C.aoespam.aoespam[157980] = 1        -- Supernova
    C.aoespam.aoespam[153596] = 3        -- Comet Storm
    C.aoespam.aoespam[153640] = 3        -- Arcane Orb
    C.aoespam.aoespam[157977] = 0        -- Unstable Magic (Fire)
    C.aoespam.aoespam[157978] = 0        -- Unstable Magic (Frost)
    C.aoespam.aoespam[157979] = 0        -- Unstable Magic (Arcane)
    C.aoespam.aoespam[153564] = 0        -- Meteor
    C.aoespam.aoespam[155158] = 4        -- Meteor Burn
    C.aoespam.aoespam[257542] = 0.6        -- Phoenix's Flames
    C.aoespam.aoespam[205345] = 4        -- Conflagration Flare Up
    C.aoespam.aoespam[226757] = 4        -- Conflagration
    C.aoespam.aoespam[198928] = 1.2        -- Cinderstorm
    C.aoespam.aoespam[194522] = 3        -- Blast Furnace
    C.aoespam.aoespam[194316] = 3        -- Cauterizing Blink
    C.aoespam.aoespam[235314] = 3        -- Blazing Barrier
    C.aoespam.aoespam[205472] = 4        -- Flame Patch
    C.aoespam.aoespam[88084] = 3        -- Arcane Blast (Mirror Image)
    C.aoespam.aoespam[59638] = 3        -- Frostbolt (Mirror Image)
    C.aoespam.aoespam[88082] = 3        -- Fireball (Mirror Image)
    C.aoespam.merge[211088] = 211076    -- Mark of Aluneth
    C.aoespam.aoespam[211076] = 3        -- Mark of Aluneth
    C.aoespam.merge[210817] = 44425        -- Arcane Rebound
    C.aoespam.aoespam[44425] = 1.2        -- Arcane Barrage
    C.aoespam.aoespam[277703] = 3        -- Trailing Embers
    C.aoespam.aoespam[325130] = 1.9        -- Shifting Power (Covenant Night Fae)
elseif E.myClass == "MONK" then
    -- Healing spells
    C.aoespam.aoespam[119611] = 3        -- Renewing Mist
    C.aoespam.aoespam[124682] = 3        -- Enveloping Mist
    C.aoespam.aoespam[115175] = 3        -- Soothing Mist
    C.aoespam.aoespam[107270] = 3        -- Spinning Crane Kick
    C.aoespam.aoespam[132463] = 3        -- Chi Wave
    C.aoespam.aoespam[130654] = 3        -- Chi Burst
    C.aoespam.aoespam[124081] = 3        -- Zen Pulse
    C.aoespam.aoespam[116670] = 0        -- Uplift
    C.aoespam.aoespam[178173] = 3        -- Gift of the Ox
    C.aoespam.aoespam[191840] = 3        -- Essence Font
    C.aoespam.aoespam[162530] = 3        -- Refreshing Jade Wind
    -- Damaging spells
    C.aoespam.aoespam[228649] = 1        -- Blackout Kick (x3)
    C.aoespam.aoespam[148187] = 4        -- Rushing Jade Wind
    C.aoespam.aoespam[123996] = 4        -- Crackling Tiger Lightning
    C.aoespam.aoespam[124280] = 4        -- Touch of Karma
    C.aoespam.aoespam[196608] = 4        -- Eye of the Tiger
    C.aoespam.aoespam[117952] = 3        -- Crackling Jade Lightning
    C.aoespam.aoespam[117418] = 3.5        -- Fists of Fury
    C.aoespam.aoespam[121253] = 0        -- Keg Smash
    C.aoespam.aoespam[115181] = 0        -- Breath of Fire
    C.aoespam.aoespam[123725] = 3        -- Breath of Fire (DoT)
    C.aoespam.aoespam[107270] = 3        -- Spinning Crane Kick
    C.aoespam.aoespam[123586] = 3        -- Flying Serpent Kick
    C.aoespam.aoespam[132467] = 3        -- Chi Wave
    C.aoespam.aoespam[148135] = 3        -- Chi Burst
    C.aoespam.aoespam[158221] = 1        -- Hurricane Strike
    C.aoespam.healfilter[196608] = true    -- Eye of the Tiger
    C.aoespam.healfilter[216521] = true    -- Celestial Fortune
elseif E.myClass == "PALADIN" then
    -- Healing spells
    C.aoespam.aoespam[203539] = 10        -- Greater Blessing of Wisdom
    C.aoespam.aoespam[216371] = 4        -- Avenging Crusader
    C.aoespam.aoespam[209540] = 8        -- Light of the Titans
    C.aoespam.aoespam[53652] = 3        -- Beacon of Light
    C.aoespam.aoespam[85222] = 1        -- Light of Dawn
    C.aoespam.aoespam[114852] = 0        -- Holy Prism
    C.aoespam.aoespam[119952] = 3        -- Arcing Light
    C.aoespam.aoespam[183811] = 6        -- Judgment of Light
    C.aoespam.aoespam[225311] = 1        -- Light of Dawn
    -- Damaging spells
    C.aoespam.aoespam[53600] = 0.5        -- Shield of the Righteous
    C.aoespam.aoespam[184689] = 1        -- Shield of Vengeance
    C.aoespam.aoespam[205202] = 1        -- Eye for an Eye
    C.aoespam.aoespam[255937] = 1        -- Wake of Ashes
    C.aoespam.aoespam[198137] = 5        -- Divine Hammer
    C.aoespam.aoespam[81297] = 3        -- Consecration
    C.aoespam.aoespam[53385] = 0        -- Divine Storm
    C.aoespam.aoespam[88263] = 1        -- Hammer of the Righteous
    C.aoespam.merge[53595] = 88263        -- Hammer of the Righteous
    C.aoespam.aoespam[31935] = .5        -- Avenger's Shield
    C.aoespam.aoespam[114871] = 0        -- Holy Prism
    C.aoespam.aoespam[114919] = 3        -- Arcing Light
    C.aoespam.aoespam[86704] = 0        -- Ancient Fury
    C.aoespam.aoespam[157122] = 3        -- Holy Shield
    C.aoespam.aoespam[209478] = 1        -- Tyr's Enforcer
    C.aoespam.aoespam[209202] = 1        -- Eye of Tyr
    C.aoespam.aoespam[105421] = 1        -- Blinding Light
    C.aoespam.aoespam[204301] = 8        -- Blessed Hammer
    C.aoespam.aoespam[224239] = 1        -- Divine Storm
    C.aoespam.aoespam[20271] = 1        -- Judgment
    C.aoespam.aoespam[217020] = 1        -- Zeal
    C.aoespam.aoespam[286232] = 1        -- Light's Decree
elseif E.myClass == "PRIEST" then
    -- Healing spells
    C.aoespam.aoespam[204065] = 0        -- Shadow Covenant
    C.aoespam.aoespam[270501] = 2.5        -- Contrition
    C.aoespam.merge[281469] = 270501    -- Contrition
    C.aoespam.aoespam[194509] = 0.5        -- Power Word: Radiance
    C.aoespam.aoespam[204883] = 1        -- Circle of Healing
    C.aoespam.aoespam[15290] = 4        -- Vampiric Embrace
    C.aoespam.aoespam[47750] = 2.5        -- Penance
    C.aoespam.aoespam[281265] = 0        -- Holy Nova
    C.aoespam.aoespam[139] = 3            -- Renew
    C.aoespam.aoespam[596] = 0            -- Prayer of Healing
    C.aoespam.aoespam[64844] = 3        -- Divine Hymn
    C.aoespam.aoespam[32546] = 3        -- Binding Heal
    C.aoespam.aoespam[77489] = 3        -- Echo of Light
    C.aoespam.aoespam[33110] = 3        -- Prayer of Mending
    C.aoespam.aoespam[34861] = 3        -- Holy Word: Sanctify
    C.aoespam.aoespam[81751] = 3        -- Atonement
    C.aoespam.aoespam[120692] = 3        -- Halo
    C.aoespam.aoespam[110745] = 3        -- Divine Star
    C.aoespam.merge[94472] = 81751        -- Atonement
    -- Damaging spells
    C.aoespam.aoespam[204213] = 4        -- Purge the Wicked
    C.aoespam.aoespam[205386] = 0.5        -- Shadow Crash
    C.aoespam.aoespam[49821] = 3        -- Mind Sear
    C.aoespam.aoespam[263165] = 5        -- Void Torrent
    C.aoespam.aoespam[228361] = 1        -- Void Eruption
    C.aoespam.merge[228360] = 228361    -- Void Eruption
    C.aoespam.aoespam[193473] = 3        -- Mind Flay (Call to the Void)
    C.aoespam.aoespam[186723] = 2.5        -- Penance
    C.aoespam.merge[47666] = 186723        -- Penance
    C.aoespam.aoespam[132157] = 0        -- Holy Nova
    C.aoespam.aoespam[589] = 4            -- Shadow Word: Pain
    C.aoespam.aoespam[34914] = 4        -- Vampiric Touch
    C.aoespam.aoespam[15407] = 3        -- Mind Flay
    C.aoespam.aoespam[14914] = 3        -- Holy Fire
    C.aoespam.aoespam[120696] = 3        -- Halo
    C.aoespam.aoespam[122128] = 3        -- Divine Star
    C.aoespam.aoespam[148859] = 3        -- Shadowy Apparition
    C.aoespam.healfilter[34914] = true    -- Vampiric Touch
    C.aoespam.healfilter[15290] = false    -- Vampiric Embrace
elseif E.myClass == "ROGUE" then
    C.aoespam.aoespam[121411] = 2.5        -- Crimson Tempest
    C.aoespam.aoespam[271881] = 0.5        -- Blade Rush
    C.aoespam.aoespam[280720] = 2        -- Secret Technique
    C.aoespam.merge[282449] = 280720    -- Secret Technique
    C.aoespam.aoespam[51723] = 1        -- Fan of Knives
    C.aoespam.aoespam[2818] = 5            -- Deadly Poison
    C.aoespam.aoespam[185311] = 3        -- Crimson Vial
    C.aoespam.aoespam[192380] = 1        -- Poison Knives
    C.aoespam.aoespam[192434] = 5        -- From the Shadows
    C.aoespam.aoespam[255546] = 3.5        -- Poison Bomb
    C.aoespam.aoespam[121473] = 4        -- Shadow Blade
    C.aoespam.merge[121474] = 121473    -- Shadow Blade Off-Hand
    C.aoespam.aoespam[197800] = 1        -- Shadow Nova
    C.aoespam.aoespam[197611] = 1        -- Second Shuriken
    C.aoespam.aoespam[197835] = 1        -- Shuriken Storm
    C.aoespam.aoespam[195452] = 3        -- Nightblade
    C.aoespam.aoespam[209783] = 0.5        -- Goremaw's Bite
    C.aoespam.merge[209784] = 209783    -- Goremaw's Bite Off-Hand
    C.aoespam.aoespam[192760] = 0.5        -- Kingsbane
    C.aoespam.merge[222062] = 192760    -- Kingsbane Off-Hand
    C.aoespam.aoespam[192759] = 5        -- Kingsbane DoT
    C.aoespam.aoespam[703] = 5            -- Garrote
    C.aoespam.aoespam[8680] = 3            -- Wound Poison
    C.aoespam.aoespam[22482] = 3        -- Blade Flurry
    C.aoespam.aoespam[16511] = 3        -- Hemorrhage
    C.aoespam.aoespam[5374] = 0            -- Mutilate
    C.aoespam.aoespam[86392] = 3        -- Main Gauche
    C.aoespam.aoespam[57841] = 3        -- Killing Spree
    C.aoespam.aoespam[1943] = 5            -- Rupture
    C.aoespam.aoespam[152150] = 3        -- Death from Above
    C.aoespam.aoespam[114014] = 3        -- Shuriken Toss
    C.aoespam.aoespam[319175] = 3        -- Black Powder
    C.aoespam.aoespam[358126] = 3        -- Banshee's Blight [Edge of Night, Dagger]
    C.aoespam.merge[27576] = 5374        -- Mutilate Off-Hand
    C.aoespam.merge[113780] = 2818        -- Deadly Poison
    C.aoespam.merge[57842] = 57841        -- Killing Spree Off-Hand
elseif E.myClass == "SHAMAN" then
    -- Healing spells
    C.aoespam.aoespam[197997] = 1        -- Wellspring
    C.aoespam.aoespam[73921] = 5        -- Healing Rain
    C.aoespam.aoespam[52042] = 5        -- Healing Stream Totem
    C.aoespam.aoespam[1064] = 3            -- Chain Heal
    C.aoespam.aoespam[61295] = 6        -- Riptide
    C.aoespam.aoespam[98021] = 3        -- Spirit Link
    C.aoespam.aoespam[114911] = 3        -- Ancestral Guidance
    C.aoespam.aoespam[114942] = 3        -- Healing Tide
    C.aoespam.aoespam[114083] = 3        -- Restorative Mists
    C.aoespam.aoespam[157503] = 1        -- Cloudburst
    C.aoespam.aoespam[209069] = 6        -- Tidal Totem
    C.aoespam.aoespam[208899] = 6        -- Queen's Decree
    C.aoespam.aoespam[207778] = 1        -- Gift of the Queen
    -- Damaging spells
    C.aoespam.aoespam[273324] = 5        -- Lightning Shield
    C.aoespam.aoespam[197214] = 1        -- Sundering
    C.aoespam.aoespam[268429] = 4.5        -- Searing Assault
    C.aoespam.aoespam[191726] = 4        -- Lightning Blast
    C.aoespam.aoespam[205533] = 7        -- Volcanic Inferno
    C.aoespam.aoespam[198485] = 3        -- Thunder Bite
    C.aoespam.aoespam[198483] = 1        -- Snowstorm
    C.aoespam.aoespam[224125] = 4        -- Fiery Jaws
    C.aoespam.aoespam[198480] = 1        -- Fire Nova
    C.aoespam.aoespam[199116] = 4        -- Doom Vortex
    C.aoespam.aoespam[188443] = 1            -- Chain Lightning
    C.aoespam.merge[45297] = 188443        -- Chain Lightning Overload
    C.aoespam.aoespam[77478] = 3        -- Earhquake
    C.aoespam.aoespam[51490] = 0        -- Thunderstorm
    C.aoespam.aoespam[8187] = 3            -- Magma Totem
    C.aoespam.aoespam[188389] = 4        -- Flame Shock
    C.aoespam.aoespam[25504] = 3        -- Windfury Attack
    C.aoespam.aoespam[10444] = 3        -- Flametongue Attack
    C.aoespam.aoespam[3606] = 3            -- Searing Bolt
    C.aoespam.aoespam[170379] = 3        -- Molten Earth
    C.aoespam.aoespam[114074] = 1        -- Lava Beam
    C.aoespam.aoespam[32175] = 0        -- Stormstrike
    C.aoespam.merge[32176] = 32175        -- Stormstrike Off-Hand
    C.aoespam.aoespam[114089] = 3        -- Windlash
    C.aoespam.merge[114093] = 114089    -- Windlash Off-Hand
    C.aoespam.aoespam[115357] = 0        -- Windstrike
    C.aoespam.merge[115360] = 115357    -- Windstrike Off-Hand
    C.aoespam.aoespam[192231] = 3        -- Liquid Magma
    C.aoespam.aoespam[157331] = 3        -- Wind Gust
    C.aoespam.aoespam[197385] = 6        -- Fury of Air
    C.aoespam.aoespam[210801] = 6        -- Crashing Storm
    C.aoespam.aoespam[210854] = 4        -- Hailstorm
    C.aoespam.aoespam[187874] = 1        -- Crash Lightning
    C.aoespam.aoespam[195592] = 1        -- Crash Lightning
elseif E.myClass == "WARLOCK" then
    C.aoespam.aoespam[278350] = 4        -- Vile Taint
    C.aoespam.aoespam[196278] = 1        -- Implosion
    C.aoespam.aoespam[265931] = 5        -- Conflagrate DoT
    C.aoespam.aoespam[234153] = 5        -- Drain Life
    C.aoespam.aoespam[196657] = 5        -- Shadow Bolt (Dimensional Rift)
    C.aoespam.aoespam[187394] = 5        -- Chaos Barrage (Dimensional Rift)
    C.aoespam.aoespam[243050] = 5        -- Searing Bolt (Dimensional Rift)
    C.aoespam.aoespam[196100] = 1        -- Demonic Power
    C.aoespam.aoespam[196448] = 3        -- Channel Demonfire
    C.aoespam.aoespam[199581] = 1        -- Soul Flame
    C.aoespam.aoespam[29722] = 1        -- Incinirate (Fire and Brimstone)
    C.aoespam.aoespam[27243] = 3        -- Seed of Corruption
    C.aoespam.aoespam[27285] = 3        -- Seed of Corruption (AoE)
    C.aoespam.aoespam[146739] = 3        -- Corruption
    C.aoespam.aoespam[316099] = 3        -- Unstable Affliction
    C.aoespam.aoespam[348] = 4            -- Immolate
    C.aoespam.aoespam[980] = 3            -- Agony
    C.aoespam.aoespam[63106] = 3        -- Siphon Life
    C.aoespam.aoespam[205246] = 3        -- Phantom Singularity
    C.aoespam.merge[205179] = 205246    -- Phantom Singularity
    C.aoespam.aoespam[80240] = 3        -- Havoc
    C.aoespam.aoespam[42223] = 3        -- Rain of Fire
    C.aoespam.aoespam[198590] = 3        -- Drain Soul
    C.aoespam.aoespam[86040] = 3        -- Hand of Gul'dan
    C.aoespam.aoespam[205181] = 3        -- Shadowflame
    C.aoespam.aoespam[30213] = 3        -- Legion Strike (Felguard)
    C.aoespam.aoespam[89753] = 3        -- Felstorm (Felguard)
    C.aoespam.aoespam[20153] = 3        -- Immolation (Infrenal)
    C.aoespam.aoespam[22703] = 0        -- Infernal Awakening
    C.aoespam.aoespam[171017] = 0        -- Meteor Strike (Infrenal)
    C.aoespam.aoespam[104318] = 3        -- Fel Firebolt
    C.aoespam.aoespam[3110] = 3            -- Firebolt (Imp)
    C.aoespam.aoespam[152108] = 1        -- Cataclysm
    C.aoespam.aoespam[171018] = 1        -- Meteor Strike
    C.aoespam.aoespam[85692] = 3        -- Doom Bolt (Doomguard)
    C.aoespam.aoespam[54049] = 3        -- Shadow Bite (Felhunter)
    C.aoespam.aoespam[6262] = 3            -- Healthstone
    C.aoespam.aoespam[3716] = 3            -- Torment (Voidwalker)
    C.aoespam.merge[157736] = 348        -- Immolate (DoT)
    C.aoespam.aoespam[312321] = 4        -- Scouring Tithe (Covenant Kyrian)
    C.aoespam.aoespam[325640] = 3        -- Soul Rot (Covenant Night Fae)
    C.aoespam.aoespam[327059] = 0.5        -- Decimating Bolt (Covenant Necrolord)
    C.aoespam.aoespam[322167] = 2        -- Impending Catastrophe (Covenant Venthyr)
    C.aoespam.aoespam[322170] = 3        -- Impending Catastrophe DoT (Covenant Venthyr)
    C.aoespam.healfilter[198590] = true    -- Drain Soul
    C.aoespam.healfilter[205246] = true    -- Phantom Singularity
    C.aoespam.healfilter[205179] = true    -- Phantom Singularity
    C.aoespam.healfilter[63106] = true    -- Siphon Life
    C.aoespam.healfilter[108359] = true    -- Dark Regeneration
elseif E.myClass == "WARRIOR" then
    C.aoespam.aoespam[845] = 0.5        -- Cleave (Arms)
    C.aoespam.aoespam[202147] = 5        -- Second Wind (Arms Talent Heal)
    C.aoespam.aoespam[260643] = 0.5        -- Skullsplitter (Arms Talent Sweeping Strikes)
    C.aoespam.aoespam[167105] = 0.5        -- Colossus Smash (Arms Talent Sweeping Strikes)
    C.aoespam.aoespam[260798] = 0.5        -- Execute Arms (Arms Talent Sweeping Strikes)
    C.aoespam.aoespam[7384] = 0.5        -- Overpower (Arms Talent Sweeping Strikes)
    C.aoespam.aoespam[315961] = 0.5        -- Dreadnaught (Arms Talent)
    C.aoespam.aoespam[1464] = 0.5        -- Slam (Arms Talent Sweeping Strikes)
    C.aoespam.aoespam[12294] = 0.5        -- Mortal Strike (Arms Talent Sweeping Strikes)
    C.aoespam.aoespam[262115] = 3        -- Deep Wounds (Arms Mastery DoT)
    C.aoespam.aoespam[262161] = 1        -- Warbreaker (Arms Talent)
    C.aoespam.aoespam[199658] = 1.5        -- Whirlwind (Arms)
    C.aoespam.merge[199850] = 199658    -- Whirlwind (Arms)
    C.aoespam.aoespam[280772] = 1        -- Siegebreaker (Fury Talent)
    C.aoespam.aoespam[218617] = 2        -- Rampage
    C.aoespam.merge[184707] = 218617    -- Rampage 2nd
    C.aoespam.merge[184709] = 218617    -- Rampage 3rd
    C.aoespam.merge[201364] = 218617    -- Rampage 4th
    C.aoespam.merge[201363] = 218617    -- Rampage 5th
    C.aoespam.aoespam[199667] = 1.5        -- Whirlwind (Fury)
    C.aoespam.merge[44949] = 199667        -- Whirlwind Off-Hand (Fury)
    C.aoespam.merge[199851] = 199667    -- Whirlwind Off-Hand (Fury)
    C.aoespam.merge[199852] = 199667    -- Whirlwind Off-Hand (Fury)
    C.aoespam.aoespam[46968] = 0        -- Shockwave
    C.aoespam.aoespam[6343] = 0            -- Thunder Clap
    C.aoespam.aoespam[115767] = 3        -- Deep Wounds
    C.aoespam.aoespam[50622] = 3        -- Bladestorm
    C.aoespam.aoespam[52174] = 0        -- Heroic Leap
    C.aoespam.aoespam[118000] = 0        -- Dragon Roar
    C.aoespam.aoespam[96103] = 0.5        -- Raging Blow
    C.aoespam.aoespam[6572] = 0            -- Revenge
    C.aoespam.aoespam[280849] = 0.25    -- Execute
    C.aoespam.aoespam[772] = 3            -- Rend
    C.aoespam.aoespam[156287] = 3        -- Ravager
    C.aoespam.aoespam[23881] = 0        -- Bloodthirst
    C.aoespam.merge[85384] = 96103        -- Raging Blow Off-Hand
    C.aoespam.merge[95738] = 50622        -- Bladestorm Off-Hand
    C.aoespam.merge[163558] = 280849        -- Execute Off-Hand
    C.aoespam.aoespam[317488] = 0.5        -- Condemn (Covenant Venthyr)
    C.aoespam.merge[317489] = 317488    -- Condemn Off-Hand (Fury) (Covenant Venthyr)
    C.aoespam.aoespam[307871] = 2        -- Spear of Bastion (Covenant Kyrian)
    C.aoespam.aoespam[325886] = 0        -- Ancient Aftershock (Covenant Night Fae)
    C.aoespam.aoespam[326062] = 0        -- Ancient Aftershock Second (Covenant Night Fae)

    C.aoespam.healfilter[117313] = true    -- Bloodthirst Heal
end
