-------------------------------------------------------------------------------
-- SpellData_Debuffs.lua
-- Curated DEBUFF spell table. Data-only: registers into the shared engine
-- owned by SpellData_Buffs.lua via ns.SpellData.Register("debuff", SPELLS).
-- Feeds the DEBUFF spell-search predictor (SpellSearchBox.lua).
--
-- Entry forms mirror the buff file: a plain spellID, or { spellID, "Category" }.
-- Every entry here carries the "Debuff" category so the debuff predictor picks
-- it up; you can re-categorize freely over time (same category system as buffs).
--
-- Auto-populated from combat log debuff data; no class info was available, so
-- everything currently lives under the [""] (no-class) key.
-- Move entries under a class key (e.g. ["WARLOCK"]) as you curate.
-------------------------------------------------------------------------------
local addonName, ns = ...
if not (ns.SpellData and ns.SpellData.Register) then return end

local SPELLS = {
    [""] = {
        { 377048, "Debuff" }, -- Absolute Zero
        { 1263250, "Debuff" }, -- Astral Smolder
        { 1258283, "Debuff" }, -- Beacon of Lightblind Wrath
        { 267997, "Debuff" }, -- Bile Spit
        { 356084, "Debuff" }, -- Blaze of Light
        { 204301, "Debuff" }, -- Blessed Hammer
        { 55078, "Debuff" }, -- Blood Plague
        { 113344, "Debuff" }, -- Bloodbath
        { 439531, "Debuff" }, -- Bloodseeker Vines
        { 1490, "Debuff" }, -- Chaos Brand
        { 1264948, "Debuff" }, -- Cosmic Crescendo
        { 50259, "Debuff" }, -- Dazed
        { 327095, "Debuff" }, -- Death
        { 198590, "Debuff" }, -- Drain Soul
        { 1240996, "Debuff" }, -- Dread Plague
        { 50285, "Debuff" }, -- Dust Cloud
        { 1264613, "Debuff" }, -- Echo of the Evercurse
        { 1255856, "Debuff" }, -- Emberwing Burn
        { 1255857, "Debuff" }, -- Emberwing Burn
        { 431625, "Debuff" }, -- Empyrean Hammer
        { 327092, "Debuff" }, -- Famine
        { 264689, "Debuff" }, -- Fatigued
        { 441224, "Debuff" }, -- Fazed
        { 387847, "Debuff" }, -- Fel Armor
        { 25771, "Debuff" }, -- Forbearance
        { 1221389, "Debuff" }, -- Freezing
        { 1271712, "Debuff" }, -- Frequent Traveler
        { 55095, "Debuff" }, -- Frost Fever
        { 393879, "Debuff" }, -- Gift of the Golden Val'kyr
        { 385042, "Debuff" }, -- Gushing Wound
        { 124273, "Debuff" }, -- Heavy Stagger
        { 14914, "Debuff" }, -- Holy Fire
        { 1271964, "Debuff" }, -- Honed Reflexes
        { 12654, "Debuff" }, -- Ignite
        { 22703, "Debuff" }, -- Infernal Awakening
        { 459560, "Debuff" }, -- Laceration
        { 30213, "Debuff" }, -- Legion Strike
        { 448005, "Debuff" }, -- Light of the Martyr
        { 124275, "Debuff" }, -- Light Stagger
        { 197209, "Debuff" }, -- Lightning Rod
        { 1261153, "Debuff" }, -- Malefic Grasp
        { 155158, "Debuff" }, -- Meteor Burn
        { 391403, "Debuff" }, -- Mind Flay: Insanity
        { 394976, "Debuff" }, -- Mind Sear
        { 1280457, "Debuff" }, -- Mind Sear
        { 124274, "Debuff" }, -- Moderate Stagger
        { 91797, "Debuff" }, -- Monstrous Blow
        { 115804, "Debuff" }, -- Mortal Wounds
        { 113746, "Debuff" }, -- Mystic Touch
        { 445836, "Debuff" }, -- Overwhelmed
        { 327093, "Debuff" }, -- Pestilence
        { 459753, "Debuff" }, -- Ravenous Leap
        { 51714, "Debuff" }, -- Razorice
        { 1252871, "Debuff" }, -- Red Moon
        { 471999, "Debuff" }, -- Rend Flesh
        { 160029, "Debuff" }, -- Resurrecting
        { 1286135, "Debuff" }, -- Rotbloom
        { 1289063, "Debuff" }, -- Rune of Echoes
        { 1287663, "Debuff" }, -- Rune of Lingering
        { 57724, "Debuff" }, -- Sated
        { 326809, "Debuff" }, -- Satiated
        { 453286, "Debuff" }, -- Set Fire to the Pain
        { 187464, "Debuff" }, -- Shadow Mend
        { 91807, "Debuff" }, -- Shambling Rush
        { 450591, "Debuff" }, -- Shared Fate
        { 450538, "Debuff" }, -- Soul Anathema
        { 450214, "Debuff" }, -- Stellar Amplification
        { 157375, "Debuff" }, -- Stormfury
        { 80354, "Debuff" }, -- Temporal Displacement
        { 374776, "Debuff" }, -- Tightening Grasp
        { 1258134, "Debuff" }, -- Touch of the Archmage
        { 258883, "Debuff" }, -- Trail of Ruin
        { 444834, "Debuff" }, -- Trollbane's Icy Fury
        { 403695, "Debuff" }, -- Truth's Wake
        { 209261, "Debuff" }, -- Uncontained Fel
        { 444633, "Debuff" }, -- Undeath
        { 1271863, "Debuff" }, -- Unseen Slash
        { 414022, "Debuff" }, -- Unworthy
        { 1270065, "Debuff" }, -- Vicious Brambles
        { 191587, "Debuff" }, -- Virulent Plague
        { 1271226, "Debuff" }, -- Voidstalker Sting
        { 327096, "Debuff" }, -- War
        { 20549, "Debuff" }, -- War Stomp
        { 382912, "Debuff" }, -- Well-Honed Instincts
        { 445474, "Debuff" }, -- Wither
        { 447513, "Debuff" }, -- Wrecked
    },
    ["DEATHKNIGHT"] = {
        { 374557, "Debuff", {250,251,252} }, -- Brittle [all Deathknight]
        { 45524, "Debuff", {250,251,252} }, -- Chains of Ice [all Deathknight]
        { 444826, "Debuff", {250,251,252} }, -- Chains of Ice [all Deathknight]
        { 444828, "Debuff", {250,251,252} }, -- Chains of Ice [all Deathknight]
        { 390271, "Debuff", {252} }, -- Coil of Devastation [Unholy]
        { 56222, "Debuff", {250} }, -- Dark Command [Blood]
        { 51399, "Debuff", {250,251,252} }, -- Death Grip [all Deathknight]
        { 443609, "Debuff", {250,251,252} }, -- Death Pact [all Deathknight]
        { 392490, "Debuff", {250,251,252} }, -- Enfeeble [all Deathknight]
        { 1233351, "Debuff", {251} }, -- Frostreaper [Frost]
        { 279303, "Debuff", {251} }, -- Frostwyrm's Fury [Frost]
        { 91800, "Debuff", {252} }, -- Gnaw [Unholy]
        { 273977, "Debuff", {251} }, -- Grip of the Dead [Frost]
        { 206930, "Debuff", {250} }, -- Heart Strike [Blood]
        { 228645, "Debuff", {250} }, -- Heart Strike [Blood]
        { 458169, "Debuff", {251} }, -- Hyperpyrexia [Frost]
        { 458478, "Debuff", {250} }, -- Incite Terror [Blood]
        { 1241786, "Debuff", {252} }, -- Infected Claws [Unholy]
        { 391568, "Debuff", {250,251,252} }, -- Insidious Chill [all Deathknight]
        { 434765, "Debuff", {250,251,252} }, -- Reaper's Mark [all Deathknight]
        { 211793, "Debuff", {251} }, -- Remorseless Winter [Frost]
        { 1241521, "Debuff", {252} }, -- Soul Reaper [Unholy]
        { 454824, "Debuff", {250,251,252} }, -- Subduing Grasp [all Deathknight]
        { 443404, "Debuff", {250,251,252} }, -- Wave of Souls [all Deathknight]
    },
    ["DEMONHUNTER"] = {
        { 453177, "Debuff", {1480} }, -- Burning Blades [Devourer]
        { 391191, "Debuff", {577} }, -- Burning Wound [Havoc]
        { 1256667, "Debuff", {581} }, -- Catastrophe [Veng]
        { 1256676, "Debuff", {581} }, -- Catastrophe [Veng]
        { 179057, "Debuff", {577,581} }, -- Chaos Nova [all Demonhunter]
        { 207771, "Debuff", {581} }, -- Fiery Brand [Veng]
        { 247456, "Debuff", {581} }, -- Frailty [Veng]
        { 200166, "Debuff", {577,581} }, -- Metamorphosis [all Demonhunter]
        { 442624, "Debuff", {577,581} }, -- Reaver's Mark [all Demonhunter]
        { 390155, "Debuff", {577} }, -- Serrated Glaive [Havoc]
        { 204598, "Debuff", {581} }, -- Sigil of Flame [Veng]
        { 390181, "Debuff", {577} }, -- Soulscar [Havoc]
        { 370969, "Debuff", {577,581} }, -- The Hunt [all Demonhunter]
        { 185245, "Debuff", {577,581} }, -- Torment [all Demonhunter]
    },
    ["DRUID"] = {
        { 430589, "Debuff", {104} }, -- Atmospheric Exposure [Guardian]
        { 274838, "Debuff", {103} }, -- Feral Frenzy [Feral]
        { 202770, "Debuff", {102} }, -- Fury of Elune [Balance]
        { 6795, "Debuff", {102,103,104,105} }, -- Growl [all Druid]
        { 58180, "Debuff", {102,103,104,105} }, -- Infected Wounds [all Druid]
        { 1270292, "Debuff", {104} }, -- Lunar Beam [Guardian]
        { 155625, "Debuff", {103} }, -- Moonfire [Feral]
        { 164812, "Debuff", {102,103,104,105} }, -- Moonfire [all Druid]
        { 155722, "Debuff", {102,103,104,105} }, -- Rake [all Druid]
        { 1079, "Debuff", {102,103,104,105} }, -- Rip [all Druid]
        { 391722, "Debuff", {103} }, -- Sabertooth [Feral]
        { 1264671, "Debuff", {102} }, -- Starfall [Balance]
        { 164815, "Debuff", {102,103,104,105} }, -- Sunfire [all Druid]
        { 192090, "Debuff", {102,103,104,105} }, -- Thrash [all Druid]
        { 127797, "Debuff", {102,103,104,105} }, -- Ursol's Vortex [all Druid]
    },
    ["EVOKER"] = {
        { 434473, "Debuff", {1467,1468,1473} }, -- Bombardments [all Evoker]
        { 353759, "Debuff", {1467,1468,1473} }, -- Deep Breath [all Evoker]
        { 356995, "Debuff", {1467} }, -- Disintegrate [Deva]
        { 357209, "Debuff", {1467,1468,1473} }, -- Fire Breath [all Evoker]
        { 441172, "Debuff", {1467} }, -- Melt Armor [Deva]
        { 372048, "Debuff", {1467,1468,1473} }, -- Oppressing Roar [all Evoker]
        { 370898, "Debuff", {1467,1468,1473} }, -- Permeating Chill [all Evoker]
    },
    ["HUNTER"] = {
        { 217200, "Debuff", {253} }, -- Barbed Shot [BM]
        { 468572, "Debuff", {253,254,255} }, -- Black Arrow (DoT) [all Hunter]
        { 321538, "Debuff", {253} }, -- Bloodshed [BM]
        { 212431, "Debuff", {254} }, -- Explosive Shot [MM]
        { 257284, "Debuff", {253,254,255} }, -- Hunter's Mark [all Hunter]
        { 269576, "Debuff", {254} }, -- Master Marksman [MM]
        { 257044, "Debuff", {254} }, -- Rapid Fire [MM]
        { 1253138, "Debuff", {255} }, -- Sic 'Em [SV]
        { 466872, "Debuff", {254} }, -- Spotter's Mark [MM]
        { 1253171, "Debuff", {255} }, -- Wildfire Bomb [SV]
    },
    ["MAGE"] = {
        { 205708, "Debuff", {62,63,64} }, -- Chilled [all Mage]
        { 453268, "Debuff", {63} }, -- Controlled Destruction [Fire]
        { 59638, "Debuff", {64} }, -- Frostbolt [Frost]
        { 317792, "Debuff", {64} }, -- Frostbolt [Frost]
        { 41425, "Debuff", {62,63,64} }, -- Hypothermia [all Mage]
        { 205021, "Debuff", {64} }, -- Ray of Frost [Frost]
        { 210824, "Debuff", {62} }, -- Touch of the Magi [Arcane]
    },
    ["MONK"] = {
        { 123725, "Debuff", {268} }, -- Breath of Fire [Brew]
        { 117952, "Debuff", {268,269,270} }, -- Crackling Jade Lightning [all Monk]
        { 123586, "Debuff", {269} }, -- Flying Serpent Kick [WW]
        { 121253, "Debuff", {268} }, -- Keg Smash [Brew]
        { 119381, "Debuff", {268,269,270} }, -- Leg Sweep [all Monk]
        { 116189, "Debuff", {268} }, -- Provoke [Brew]
        { 196733, "Debuff", {268} }, -- Special Delivery [Brew]
        { 122470, "Debuff", {269} }, -- Touch of Karma [WW]
        { 124280, "Debuff", {269} }, -- Touch of Karma [WW]
    },
    ["PALADIN"] = {
        { 31935, "Debuff", {66} }, -- Avenger's Shield [Prot]
        { 204242, "Debuff", {65,66,70} }, -- Consecration [all Paladin]
        { 1236942, "Debuff", {65,66,70} }, -- Divine Hammer [all Paladin]
        { 343527, "Debuff", {70} }, -- Execution Sentence [Ret]
        { 1260251, "Debuff", {70} }, -- Execution Sentence [Ret]
        { 383346, "Debuff", {70} }, -- Expurgation [Ret]
        { 853, "Debuff", {65,66,70} }, -- Hammer of Justice [all Paladin]
        { 62124, "Debuff", {66} }, -- Hand of Reckoning [Prot]
        { 197277, "Debuff", {65,66,70} }, -- Judgment [all Paladin]
        { 408383, "Debuff", {70} }, -- Judgment of Justice [Ret]
        { 469882, "Debuff", {66} }, -- Refining Fire [Prot]
        { 382538, "Debuff", {70} }, -- Sanctify [Ret]
        { 456779, "Debuff", {65,66,70} }, -- Will of the Dawn [all Paladin]
    },
    ["PRIEST"] = {
        { 114216, "Debuff", {256,257,258} }, -- Angelic Bulwark [all Priest]
        { 1243069, "Debuff", {258} }, -- Horrific Visions [Shadow]
        { 15407, "Debuff", {258} }, -- Mind Flay [Shadow]
        { 193473, "Debuff", {258} }, -- Mind Flay [Shadow]
        { 8122, "Debuff", {256,257,258} }, -- Psychic Scream [all Priest]
        { 453850, "Debuff", {258} }, -- Resonant Energy [Shadow]
        { 335467, "Debuff", {258} }, -- Shadow Word: Madness [Shadow]
        { 589, "Debuff", {256,257,258} }, -- Shadow Word: Pain [all Priest]
        { 453848, "Debuff", {257} }, -- Shock Pulse [Holy]
        { 34914, "Debuff", {258} }, -- Vampiric Touch [Shadow]
    },
    ["ROGUE"] = {
        { 392388, "Debuff", {259,260,261} }, -- Atrophic Poison [all Rogue]
    },
    ["SHAMAN"] = {
        { 118905, "Debuff", {262,263,264} }, -- Capacitor Totem [all Shaman]
        { 77505, "Debuff", {262} }, -- Earthquake [Ele]
        { 188389, "Debuff", {262,263,264} }, -- Flame Shock [all Shaman]
        { 225080, "Debuff", {262,263,264} }, -- Reincarnation [all Shaman]
    },
    ["WARLOCK"] = {
        { 980, "Debuff", {265} }, -- Agony [Affli]
        { 434424, "Debuff", {265,266,267} }, -- Cloven Soul [all Warlock]
        { 146739, "Debuff", {265} }, -- Corruption [Affli]
        { 1714, "Debuff", {265,266,267} }, -- Curse of Tongues [all Warlock]
        { 113942, "Debuff", {265,266,267} }, -- Demonic Gateway [all Warlock]
        { 48181, "Debuff", {265} }, -- Haunt [Affli]
        { 80240, "Debuff", {267} }, -- Havoc [Destro]
        { 118297, "Debuff", {267} }, -- Immolate [Destro]
        { 157736, "Debuff", {267} }, -- Immolate [Destro]
        { 1244918, "Debuff", {267} }, -- Lake of Fire [Destro]
        { 27243, "Debuff", {265} }, -- Seed of Corruption [Affli]
        { 17877, "Debuff", {267} }, -- Shadowburn [Destro]
        { 30283, "Debuff", {265,266,267} }, -- Shadowfury [all Warlock]
        { 1259790, "Debuff", {265} }, -- Unstable Affliction [Affli]
    },
    ["WARRIOR"] = {
        { 456447, "Debuff", {73} }, -- Battle-Scarred Veteran [Prot]
        { 1161, "Debuff", {73} }, -- Challenging Shout [Prot]
        { 105771, "Debuff", {71,72,73} }, -- Charge [all Warrior]
        { 208086, "Debuff", {71} }, -- Colossus Smash [Arms]
        { 262115, "Debuff", {71,72,73} }, -- Deep Wounds [all Warrior]
        { 436358, "Debuff", {71,72,73} }, -- Demolish [all Warrior]
        { 1160, "Debuff", {73} }, -- Demoralizing Shout [Prot]
        { 385060, "Debuff", {72} }, -- Odyn's Fury [Fury]
        { 1292071, "Debuff", {73} }, -- Phalanx [Prot]
        { 275335, "Debuff", {73} }, -- Punish [Prot]
        { 388539, "Debuff", {71,72,73} }, -- Rend [all Warrior]
        { 132168, "Debuff", {71,72,73} }, -- Shockwave [all Warrior]
        { 132169, "Debuff", {71,72,73} }, -- Storm Bolt [all Warrior]
        { 355, "Debuff", {71,72,73} }, -- Taunt [all Warrior]
        { 435203, "Debuff", {71,72,73} }, -- Thunder Clap [all Warrior]
    },
}

ns.SpellData.Register("debuff", SPELLS)