local T, C, L = unpack(ShestakUI)
if C.combattext.enable ~= true then return end

----------------------------------------------------------------------------------------
--	The best way to add or delete spell is to go at www.wowhead.com, search for a spell.
--	Example: Blizzard -> http://www.wowhead.com/spell=42208
--	Take the number ID at the end of the URL, and add it to the list
----------------------------------------------------------------------------------------
-- General filter outgoing healing
if C.combattext.healing then
	T.healfilter = {}
	T.healfilter[143924] = true		-- Leech
	T.healfilter[127802] = true		-- Touch of the Grave [Undead]
end

-- General merge outgoing damage
if C.combattext.merge_aoe_spam then
	T.merge = {}
	T.aoespam = {}
	T.aoespam[6603] = 3				-- Auto Attack
	T.aoespam[195222] = 4			-- Stormlash [Shaman]
	T.aoespam[259756] = 6			-- Entropic Embrace (Void Elves)
	T.aoespam[321519] = 5			-- Paralytic Poison (Covenant Night Fae)
	T.aoespam[344155] = 1			-- Gluttonous Spike (Trinket)
	T.aoespam[356320] = 10			-- Siphon Essence (Unholy Shard)
	T.aoespam[345466] = 3			-- Liquefying Ooze (Trinket)
	T.aoespam[355759] = 3			-- Frozen Heart (Trinket)
	T.aoespam[333526] = 3			-- Spiked Burrs (Night Fae Soulbind)
	T.aoespam[355735] = 3			-- Winds of Winter (Frost Shard)
	T.aoespam[355804] = 3			-- Blood Link (Blood Shard)
	T.aoespam[355768] = 3			-- Blood Link (Blood Shard)
	T.aoespam[355769] = 3			-- Blood Link (Blood Shard)
	T.aoespam[355829] = 3			-- Chaos Bane (Unholy Shard)
	T.aoespam[355605] = 3			-- Fusion Amplification (Trinket)
	T.aoespam[351687] = 3			-- Mnemonic Equipment (Maldraxxus)
	T.aoespam[353248] = 3			-- Effusive Anima Accelerator
	T.aoespam[368651] = 3			-- Vicious Wound
	T.aoespam[336463] = 5			-- Shadowcore Oil Blast
	T.aoespam[353466] = 4			-- Sadistic Glee
	T.aoespam[321937] = 4			-- Phantom Fire

	-- GUI list
	for _, spell in pairs(C.combattext.spells_list) do
		T.aoespam[spell[1]] = spell[2]
	end
end

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