Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 306 lines (294 sloc) 10.872 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306
-----------------------------
-- INIT
-----------------------------

local addon, ns = ...
local cfg = CreateFrame("Frame")
-----------------------------
-- CONFIG
-----------------------------

--unitframes
cfg.unitframeWidth = 250
cfg.unitframeScale = 1 -- Keep between 1 and 1.25 to have a good result, 1 = standard
--player
cfg.playerX = -180 -- x-coordinate of the player frame
cfg.playerY = 360 -- y-coordinate of the player frame
--target
cfg.targetX = 180 -- x-coordinate of the target frame
cfg.targetY = 360 -- y-coordinate of the target frame
--boss
cfg.bossX = 15 -- x-coordinate of boss frames
cfg.bossY = -40 -- y-coordinate is for the first bossframe, additional frames will grow upwards (75px each)
--auras
cfg.playerAuras = false -- show player buffs and debuffs, disables Blizzard buff bar
cfg.AltPowerBarPlayer = false --show altpowerbar on player frame, false = blizzard standard
cfg.targetBuffs = true -- show target buff frame
cfg.targetDebuffs = true -- show target debuff frame
cfg.totBuffs = false -- show target-of-target buffs (only one can be active)
cfg.totDebuffs = true -- show target-of-target debuffs (only one can be active)
cfg.focusBuffs = false -- show focus buffs (only one can be active)
cfg.focusDebuffs = true -- show focus debuffs (only one can be active)
--class-specific bars
cfg.showRunebar = true -- show DK rune bar
cfg.showHolybar = true -- show Paladin HolyPower bar
cfg.showEclipsebar = true -- show druid Eclipse bar
cfg.showShardbar = true -- show Warlock SoulShard bar
cfg.showHarmonybar = true -- show Monk Harmony bar
cfg.showShadoworbsbar = true -- show Shadow Priest Shadow Orbs bar
cfg.showComboPoints = true -- show Rogue Combo Points
--castbar
cfg.Castbars = true -- use built-in castbars
--player
cfg.playerCastBarOnUnitframe = true
cfg.playerCastBarX = 0
cfg.playerCastBarY = 200
cfg.playerCastBarWidth = 300
cfg.playerCastBarHeight = 30
--target
cfg.targetCastBarOnUnitframe = true
cfg.targetCastBarX = 0
cfg.targetCastBarY = 250
cfg.targetCastBarWidth = 200
cfg.targetCastBarHeight = 25
--raid&party frames
cfg.showRaid = true -- show raid frames
cfg.raidShowSolo = true -- show raid frames even when solo
cfg.showIncHeals = true -- Show incoming heals in player and raid frames
cfg.showTooltips = true -- Show Tooltips on raid frames
cfg.enableRightClickMenu = false -- Enables the right click menu for raid frames
cfg.showRoleIcons = false -- Show Role Icons on raid frames
cfg.showIndicators = true -- Show Class Indicators on raid frames (HoT's, buffs etc.)
cfg.showThreatIndicator = true -- Show Threat Indicator on raid frames

cfg.raidOrientationHorizontal = false
cfg.raidX = -410
cfg.raidY = 190
cfg.raidScale = 1

cfg.IndicatorList = {
["NUMBERS"] = {
["DEATHKNIGHT"] = "[DK:DeathBarrier]",
["DRUID"] = "[Druid:Lifebloom][Druid:Rejuv][Druid:Regrowth]",
--["HUNTER"] = missdirect,
--["MAGE"] = ,
["MONK"] = "[Monk:EnvelopingMist][Monk:RenewingMist]",
--["PALADIN"] = ,
["PRIEST"] = "[Priest:Renew][Priest:PowerWordShield]",
--["ROGUE"] = tricks,
["SHAMAN"] = "[Shaman:Riptide][Shaman:EarthShield]",
--["WARLOCK"] = ,
["WARRIOR"] = "[Warrior:Vigilance]",
},
["SQUARE"] = {
--["DEATHKNIGHT"] = ,
--["DRUID"] = ,
--["HUNTER"] = ,
--["MAGE"] = ,
--["MONK"] = ,
["PALADIN"] = "[Paladin:Forbearance][Paladin:Beacon]",
--["PRIEST"] = ,
--["ROGUE"] = ,
--["SHAMAN"] = ,
--["WARLOCK"] = ,
--["WARRIOR"] = ,
},
}

cfg.DebuffWatchList = {
debuffs = {
--## USAGE: ["DEBUFF_NAME"] = PRIORITY, ##--
--## PRIORITY -> 10: high, 9: medium, 8: low, dispellable debuffs have standard priority of 5. ##--
--["61295"] = 10, -- Riptide for testing purposes only
--[[## CATACLYSM ##]]--
--[[ T13 ]]--
--Dragon Soul
--Warlord Zon'ozz
["103434"] = 9, -- Disrupting Shadows
--Yor'sahj the Unsleeping
["103628"] = 9, -- Deep Corruption
--Hagara the Stormbinder
["109325"] = 9, -- Frostflake
["104451"] = 9, -- Ice Tomb
--Ultraxion
["105926"] = 9, -- Fading Light
--Spine of Deathwing
["105479"] = 8, -- Searing Plasma
["105490"] = 9, -- Fiery Grip
["106199"] = 10, -- Blood Corruption: Death
["106200"] = 10, -- Blood Corruption: Earth
--Madness of Deathwing
["108649"] = 9, -- Corrupting Parasite
["106400"] = 10, -- Impale
["106444"] = 9, -- Impale (Stacks)
["106794"] = 9, -- Shrapnel (should be the right one)
--["106791"] = 9, -- Shrapnel
--[[## MISTS OF PANDARIA ##]]--
--World Bosses
--Sha of Anger
["119622"] = 8, -- Growing Anger
["119626"] = 9, -- Aggressive Behavior
--[[ T14 ]]--
--Heart of Fear
--Imperial Vizier Zor'lok
["122706"] = 9, -- Noise Cancelling
["122740"] = 10, -- Convert
--Blade Lord Ta'yak
["123474"] = 8, -- Overwhelming Assault
["123180"] = 9, -- Wind Step
--Garalon
["122835"] = 8, ["129815"] = 8, -- Pheromones
["123081"] = 10, -- Pungency
--Wind Lord Mel'jarak
["121885"] = 10, ["129078"] = 10, ["121881"] = 10, -- Amber Prison
["122055"] = 8, -- Residue
["122064"] = 9, -- Corrosive Resin
--Amber-Shaper Un'sok
["122784"] = 9, ["122370"] = 9, -- Reshape Life
["121949"] = 10, -- Parasitic Growth
--["Amber Globule"] = 9,
--Grand Empress Shek'zeer
["123707"] = 8, -- Eyes of the Empress
["124097"] = 8, -- Sticky Resin
["123788"] = 9, -- Cry of Terror
["124862"] = 10, ["124863"] = 10, -- Visions of Demise
--Mogu'shan Vaults
--The Stone Guard
["116281"] = 8, -- Cobalt Mine
["130395"] = 10, -- Jasper Chains
["116301"] = 9, -- Living Jade
["116304"] = 9, -- Living Jasper
["116199"] = 9, -- Living Cobalt
["116322"] = 9, -- Living Amethyst
--Feng the Accursed
["116942"] = 8, -- Flaming Spear
["116784"] = 9, -- Wildfire Spark
["116577"] = 10, ["116576"] = 10, ["116574"] = 10, ["116417"] = 10, -- Arcane Resonance
--Gara'jal the Spiritbinder
["117723"] = 8, -- Frail Soul
["122151"] = 9, -- Voodoo Doll
["122181"] = 10, -- Conduit to the Spirit Realm
--The Spirit Kings
["117708"] = 8, -- Maddening Shout
["118047"] = 8, ["118048"] = 8, -- Pillage
["118141"] = 9, -- Pinning Arrow
["118163"] = 8, -- Robbed Blind
["117514"] = 9, ["117529"] = 9, ["117506"] = 9,-- Undying Shadows
--Elegon
--["117878"] = 8, -- Overcharged
["117949"] = 9, -- Closed Circuit
["132222"] = 10, -- Destabilizing Energies
["132226"] = 10, -- Destabilized
--Will of the Emperor
["116829"] = 10, -- Focused Energy
--Terrace of Endless Spring
--Protectors of the Endless
["117436"] = 10, ["131931"] = 10, ["111850"] = 10, -- Lightning Prison
--Tsulong
["122777"] = 8, -- Nightmares
["123011"] = 10, ["123018"] = 10, -- Terrorize
--Lei Shi
["123705"] = 10, -- Scary Fog
["123121"] = 8, -- Spray
--Sha of Fear
["120629"] = 8, -- Huddle in Terror
--[[ T15 ]]--
--Throne of Thunder
--Jin'rokh the Breaker
--["138732"] = 9, ["138733"] = 9, ["139997"] = 9, -- Ionization (dispellable)
["137422"] = 4, -- Focused Lightning
--Horridon
["136708"] = 6, -- Stone Gaze (so it's > Sunbeam Debuff)
--Council of Elders
["137641"] = 9, -- Soul Fragment (Ball)
["137650"] = 7, -- Shadowed Soul
["136990"] = 8, -- Frostbite
["136992"] = 8, -- Biting Cold
--Tortos
["137552"] = 8, ["137633"] = 8, --Crystal Shell
["140701"] = 9, -- Crystal Shell: Max Capacity
--Megaera
["139857"] = 9, -- Torrent of Ice
["139822"] = 9, -- Cinders
--Ji-Kun
["134256"] = 9, -- Slimed
--Durumu the Forgotten
["139204"] = 9, -- Infrared Tracking
["139202"] = 9, -- Blue Ray Tracking
["133768"] = 10, -- Arterial Cut
["133597"] = 10, -- Dark Parasite
["133798"] = 10, -- Life Drain
--Primordius
["136228"] = 10, -- Volatile Pathogen
["136050"] = 9, -- Malformed Blood
["137000"] = 9, -- Black Blood
--Dark Animus
["138486"] = 9, -- Crimson Wake Target Debuff
["138609"] = 9, -- Matter Swap
["136962"] = 8, -- Anima Ring
--Iron Qon
["134647"] = 8, -- Scorched
["137668"] = 9, -- Burning Cinders
["137669"] = 9, -- Arcing Lightning
["135145"] = 9, -- Freeze
["137664"] = 8, -- Frozen Blood
--Twin Consorts
["137341"] = 4, -- Beast of Nightmares
["137360"] = 4, -- Corrupted Healing
["137408"] = 7, -- Fan of Flames
["137440"] = 8, -- Icy Shadows
--Lei Shen
["135695"] = 8, -- Static Shock
["136295"] = 8, -- Overcharge
["139011"] = 9, -- Helm of Command
["136478"] = 7, -- Fusion Slash
--Ra-den
--[[ T16 ]]--
--Siege of Orgrimmar
--Fallen Protectors
["143962"] = 9, -- Inferno Strike
["143840"] = 9, -- Mark of Anguish
--Sha of Pride
["146594"] = 3, ["144359"] = 3, -- Gift of the Titans
["146822"] = 4, -- Projection
["146817"] = 4, -- Aura of Pride
--Galakras
["147068"] = 8, -- Flames of Galakrond
--Iron Juggernaut
["146325"] = 8, -- Cutter Laser
--Kor'kron Dark Shaman
["144330"] = 8, -- Iron Prison
--Nazgrim
["143882"] = 8, -- Hunter's Mark
["145561"] = 8, -- Assassin's Mark
["143638"] = 4, -- Bonecracker
--Malkorok
["142863"] = 3, -- Weak Ancient Barrier
["142864"] = 3, -- Ancient Barrier
["142864"] = 3, -- Strong Ancient Barrier
["142913"] = 8, -- Displaced Energy
--Spoils of Pandaria
["145996"] = 4, -- Set to Blow
--Thok the Bloodthirsty
["133042"] = 8, -- Fixate
--Siegecrafter Blackfuse
["143828"] = 8, -- Laser Turret Target
},
}


--media files
cfg.statusbar_texture = "Interface\\AddOns\\oUF_Drk\\media\\Statusbar"
cfg.powerbar_texture = "Interface\\AddOns\\oUF_Drk\\media\\Aluminium"
cfg.raid_texture = "Interface\\AddOns\\oUF_Drk\\media\\Minimalist"
cfg.highlight_texture = "Interface\\AddOns\\oUF_Drk\\media\\raidbg"
cfg.portrait_texture = "Interface\\AddOns\\oUF_Drk\\media\\portrait"
cfg.backdrop_texture = "Interface\\AddOns\\oUF_Drk\\media\\backdrop"
cfg.backdrop_edge_texture = "Interface\\AddOns\\oUF_Drk\\media\\backdrop_edge"
cfg.debuff_border_texture = "Interface\\AddOns\\oUF_Drk\\media\\iconborder"


cfg.font = "Interface\\AddOns\\oUF_Drk\\media\\BigNoodleTitling.ttf"
cfg.smallfont = "Interface\\AddOns\\oUF_Drk\\media\\semplice.ttf"
cfg.raidfont = "Interface\\AddOns\\oUF_Drk\\media\\vibroceb.ttf"
cfg.squarefont = "Interface\\AddOns\\oUF_Drk\\media\\squares.ttf"

--do not change this
cfg.spec = nil
cfg.updateSpec = function()
cfg.spec = GetSpecialization()
end

-----------------------------
-- HANDOVER
-----------------------------

ns.cfg = cfg
Something went wrong with that request. Please try again.