--[[
    Interrupts & Premade CDs Tracker
    Copyright (c) 2026 Skorms & Ankito. All Rights Reserved.
    Unauthorized modification, distribution, or reproduction is strictly prohibited.
]]

local _, addonTable = ...

addonTable.spellDB = {
    [47528]  = { cat = "Cortes", cd = 15, clase = "DEATHKNIGHT", spec = 0 },
    [48792]  = { cat = "Defensivos", cd = 180, clase = "DEATHKNIGHT", spec = 0 },
    [48707]  = { cat = "Defensivos", cd = 60,  clase = "DEATHKNIGHT", spec = 0 },
    [145629] = { cat = "Defensivos", cd = 120, clase = "DEATHKNIGHT", spec = 0 },
    [55233]  = { cat = "Defensivos", cd = 90,  clase = "DEATHKNIGHT", spec = 250 },
    [51271]  = { cat = "Ofensivos", cd = 60,  clase = "DEATHKNIGHT", spec = 251 },
    [108194] = { cat = "CCs", cd = 45, clase = "DEATHKNIGHT", spec = 0 },
    [221562] = { cat = "CCs", cd = 45, clase = "DEATHKNIGHT", spec = 0 },

    [183752] = { cat = "Cortes", cd = 15, clase = "DEMONHUNTER", spec = 0 },
    [198589] = { cat = "Defensivos", cd = 60, clase = "DEMONHUNTER", spec = 577 },
    [196718] = { cat = "Defensivos", cd = 180, clase = "DEMONHUNTER", spec = 0 },
    [212800] = { cat = "Defensivos", cd = 180, clase = "DEMONHUNTER", spec = 577 },
    [191427] = { cat = "Ofensivos", cd = 120, clase = "DEMONHUNTER", spec = 577 },
    [187827] = { cat = "Defensivos", cd = 120, clase = "DEMONHUNTER", spec = 581 },
    [204021] = { cat = "Defensivos", cd = 60, clase = "DEMONHUNTER", spec = 581 },
    [212084] = { cat = "Ofensivos", cd = 60, clase = "DEMONHUNTER", spec = 581 },
    [179057] = { cat = "CCs", cd = 60, clase = "DEMONHUNTER", spec = 0 },
    [218352] = { cat = "CCs", cd = 45, clase = "DEMONHUNTER", spec = 0 },

    [106839] = { cat = "Cortes", cd = 15, clase = "DRUID", spec = 0 },
    [22812]  = { cat = "Defensivos", cd = 60, clase = "DRUID", spec = 0 },
    [61336]  = { cat = "Defensivos", cd = 180, clase = "DRUID", spec = 0 },
    [102342] = { cat = "Defensivos", cd = 90, clase = "DRUID", spec = 105 },
    [102558] = { cat = "Ofensivos", cd = 180, clase = "DRUID", spec = 102 },
    [323764] = { cat = "Ofensivos", cd = 60,  clase = "DRUID", spec = 0 },
    [5211]   = { cat = "CCs", cd = 60, clase = "DRUID", spec = 0 },
    [132469] = { cat = "CCs", cd = 30, clase = "DRUID", spec = 0 },
    [102793] = { cat = "CCs", cd = 60, clase = "DRUID", spec = 0 },
    [99]     = { cat = "CCs", cd = 30, clase = "DRUID", spec = 0 },

    [351338] = { cat = "Cortes", cd = 40, clase = "EVOKER", spec = 0 },
    [363916] = { cat = "Defensivos", cd = 90, clase = "EVOKER", spec = 0 },
    [370960] = { cat = "Defensivos", cd = 180, clase = "EVOKER", spec = 1468 },
    [374227] = { cat = "Defensivos", cd = 120, clase = "EVOKER", spec = 0 },
    [375087] = { cat = "Ofensivos", cd = 120, clase = "EVOKER", spec = 1467 },
    [362486] = { cat = "CCs", cd = 90, clase = "EVOKER", spec = 0 },
    [357210] = { cat = "CCs", cd = 60, clase = "EVOKER", spec = 0 },

    [147362] = { cat = "Cortes", cd = 24, clase = "HUNTER", spec = 0 },
    [186265] = { cat = "Defensivos", cd = 180, clase = "HUNTER", spec = 0 },
    [264735] = { cat = "Defensivos", cd = 180, clase = "HUNTER", spec = 0 },
    [109304] = { cat = "Defensivos", cd = 120, clase = "HUNTER", spec = 0 },
    [288613] = { cat = "Ofensivos", cd = 120, clase = "HUNTER", spec = 254 },
    [19577]  = { cat = "CCs", cd = 60, clase = "HUNTER", spec = 0 },
    [3355]   = { cat = "CCs", cd = 30, clase = "HUNTER", spec = 0 },
    [109248] = { cat = "CCs", cd = 45, clase = "HUNTER", spec = 0 },

    [2139]   = { cat = "Cortes", cd = 24, clase = "MAGE", spec = 0 },
    [414658] = { cat = "Defensivos", cd = 180, clase = "MAGE", spec = 0 },
    [108978] = { cat = "Defensivos", cd = 60, clase = "MAGE", spec = 0 },
    [11426]  = { cat = "Defensivos", cd = 120, clase = "MAGE", spec = 0 },
    [190319] = { cat = "Ofensivos", cd = 120, clase = "MAGE", spec = 63 },
    [12472]  = { cat = "Ofensivos", cd = 120, clase = "MAGE", spec = 64 },
    [31661]  = { cat = "CCs", cd = 45, clase = "MAGE", spec = 0 },
    [113724] = { cat = "CCs", cd = 45, clase = "MAGE", spec = 0 },
    [118]    = { cat = "CCs", cd = 0, clase = "MAGE", spec = 0 },

    [116705] = { cat = "Cortes", cd = 15, clase = "MONK", spec = 0 },
    [115203] = { cat = "Defensivos", cd = 180, clase = "MONK", spec = 0 },
    [122470] = { cat = "Defensivos", cd = 90, clase = "MONK", spec = 269 },
    [119582] = { cat = "Defensivos", cd = 15, clase = "MONK", spec = 268 },
    [322507] = { cat = "Defensivos", cd = 45, clase = "MONK", spec = 268 },
    [137639] = { cat = "Ofensivos", cd = 90, clase = "MONK", spec = 269 },
    [119381] = { cat = "CCs", cd = 45, clase = "MONK", spec = 0 },
    [116844] = { cat = "CCs", cd = 45, clase = "MONK", spec = 0 },

    [96231]  = { cat = "Cortes", cd = 15, clase = "PALADIN", spec = 0 },
    [642]    = { cat = "Defensivos", cd = 300, clase = "PALADIN", spec = 0 },
    [1022]   = { cat = "Defensivos", cd = 300, clase = "PALADIN", spec = 0 },
    [6940]   = { cat = "Defensivos", cd = 120, clase = "PALADIN", spec = 0 },
    [31821]  = { cat = "Defensivos", cd = 180, clase = "PALADIN", spec = 65 },
    [31884]  = { cat = "Ofensivos", cd = 120, clase = "PALADIN", spec = 0 },
    [853]    = { cat = "CCs", cd = 60, clase = "PALADIN", spec = 0 },
    [115750] = { cat = "CCs", cd = 90, clase = "PALADIN", spec = 0 },

    [15487]  = { cat = "Cortes", cd = 45, clase = "PRIEST", spec = 258 },
    [33206]  = { cat = "Defensivos", cd = 180, clase = "PRIEST", spec = 256 },
    [62618]  = { cat = "Defensivos", cd = 180, clase = "PRIEST", spec = 256 },
    [47788]  = { cat = "Defensivos", cd = 180, clase = "PRIEST", spec = 257 },
    [10060]  = { cat = "Ofensivos", cd = 120, clase = "PRIEST", spec = 0 },
    [8122]   = { cat = "CCs", cd = 30, clase = "PRIEST", spec = 0 },
    [64044]  = { cat = "CCs", cd = 45, clase = "PRIEST", spec = 258 },

    [1766]   = { cat = "Cortes", cd = 15, clase = "ROGUE", spec = 0 },
    [31224]  = { cat = "Defensivos", cd = 120, clase = "ROGUE", spec = 0 },
    [5277]   = { cat = "Defensivos", cd = 120, clase = "ROGUE", spec = 0 },
    [1856]   = { cat = "Defensivos", cd = 120, clase = "ROGUE", spec = 0 },
    [121471] = { cat = "Ofensivos", cd = 120, clase = "ROGUE", spec = 261 },
    [2094]   = { cat = "CCs", cd = 120, clase = "ROGUE", spec = 0 },
    [408]    = { cat = "CCs", cd = 20, clase = "ROGUE", spec = 0 },

    [57994]  = { cat = "Cortes", cd = 12, clase = "SHAMAN", spec = 0 },
    [108271] = { cat = "Defensivos", cd = 90, clase = "SHAMAN", spec = 0 },
    [98008]  = { cat = "Defensivos", cd = 180, clase = "SHAMAN", spec = 264 },
    [198838] = { cat = "Defensivos", cd = 60, clase = "SHAMAN", spec = 264 },
    [114050] = { cat = "Ofensivos", cd = 120, clase = "SHAMAN", spec = 262 },
    [192058] = { cat = "CCs", cd = 60, clase = "SHAMAN", spec = 0 },
    [51514]  = { cat = "CCs", cd = 30, clase = "SHAMAN", spec = 0 },

    [19647]  = { cat = "Cortes", cd = 24, clase = "WARLOCK", spec = 0 },
    [108416] = { cat = "Defensivos", cd = 45, clase = "WARLOCK", spec = 0 },
    [104773] = { cat = "Defensivos", cd = 180, clase = "WARLOCK", spec = 0 },
    [265187] = { cat = "Ofensivos", cd = 60,  clase = "WARLOCK", spec = 266 },
    [1122]   = { cat = "Ofensivos", cd = 120, clase = "WARLOCK", spec = 267 },
    [30283]  = { cat = "CCs", cd = 60, clase = "WARLOCK", spec = 0 },
    [6789]   = { cat = "CCs", cd = 45, clase = "WARLOCK", spec = 0 },
    [5484]   = { cat = "CCs", cd = 40, clase = "WARLOCK", spec = 0 },

    [6552]   = { cat = "Cortes", cd = 15, clase = "WARRIOR", spec = 0 },
    [871]    = { cat = "Defensivos", cd = 240, clase = "WARRIOR", spec = 73 },
    [97462]  = { cat = "Defensivos", cd = 180, clase = "WARRIOR", spec = 0 },
    [118038] = { cat = "Defensivos", cd = 180, clase = "WARRIOR", spec = 71 },
    [23920]  = { cat = "Defensivos", cd = 25, clase = "WARRIOR", spec = 0 },
    [107574] = { cat = "Ofensivos", cd = 90,  clase = "WARRIOR", spec = 0 },
    [107570] = { cat = "CCs", cd = 30, clase = "WARRIOR", spec = 0 },
    [46968]  = { cat = "CCs", cd = 40, clase = "WARRIOR", spec = 0 },
    [5246]   = { cat = "CCs", cd = 90, clase = "WARRIOR", spec = 0 },
}

addonTable.cortesBasePorClase = {
    ["DEATHKNIGHT"] = 47528, ["DEMONHUNTER"] = 183752, ["DRUID"] = 106839,
    ["EVOKER"] = 351338, ["HUNTER"] = 147362, ["MAGE"] = 2139,
    ["MONK"] = 116705, ["PALADIN"] = 96231, ["PRIEST"] = 15487,
    ["ROGUE"] = 1766, ["SHAMAN"] = 57994, ["WARLOCK"] = 19647, ["WARRIOR"] = 6552
}

addonTable.mapaClases = {
    ["DEATHKNIGHT"] = "DK", ["DEMONHUNTER"] = "DH", ["DRUID"] = "Druida",
    ["EVOKER"] = "Evocador", ["HUNTER"] = "Cazador", ["MAGE"] = "Mago",
    ["MONK"] = "Monje", ["PALADIN"] = "Paladín", ["PRIEST"] = "Sacerdote",
    ["ROGUE"] = "Pícaro", ["SHAMAN"] = "Chamán", ["WARLOCK"] = "Brujo",
    ["WARRIOR"] = "Guerrero"
}