Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
xmyno
376 lines (362 sloc) 17.42 kb
-----------------------------
-- 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:Germination][Druid:Regrowth]",
--["HUNTER"] = missdirect,
--["MAGE"] = ,
["MONK"] = "[Monk:EnvelopingMist][Monk:RenewingMist]",
--["PALADIN"] = ,
["PRIEST"] = "[Priest:Renew][Priest:SpiritShell][Priest:ClarityOfWill][Priest:PowerWordShield]",
--["ROGUE"] = tricks,
["SHAMAN"] = "[Shaman:Riptide][Shaman:EarthShield]",
--["WARLOCK"] = ,
["WARRIOR"] = "[Warrior:Vigilance]",
},
["SQUARE"] = {
--["DEATHKNIGHT"] = ,
["DRUID"] = "[Druid:WildGrowth]",
--["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
["156432"] = 3, -- Draenic Channeled Mana Potion
--[[## 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
--[[ T17 ]]--
--Highmaul
--Kar'gath
["158986"] = 9, -- Berserker Rush Fixate
["159947"] = 3, -- Chain Hurl
["159413"] = 4, -- Mauling Brew (Green Puddle)
["159386"] = 4, -- Iron Bomb
--Butcher
["156152"] = 4, -- Gushing Wounds
["156151"] = 3, -- Tenderizer (Tank Debuff)
--Tectus
["162346"] = 8, -- Crystalline Barrage
["162370"] = 3, -- Crystalline Barrage (Ground Effect)
--Brackenspore
["163241"] = 3, -- Rot (Tank Debuff)
--Twin Ogron
["158241"] = 8, -- Blaze
["155569"] = 7, -- Injured (Shield Charge)
--Ko'ragh
["172917"] = 7, -- Expel Magic: Fel (Ground Effect)
["162185"] = 8, -- Expel Magic: Fire
["162184"] = 7, -- Expel Magic: Shadow
["163472"] = 9, -- Dominating Power (Mind Control)
--Imperator Mar'gok
["157763"] = 9, -- Fixate (Gorian Warmages, Intermission)
["158553"] = 8, -- Crush Armor (Gorian Reaver, Intermission, Tank Debuff)
["156225"] = 10, ["164004"] = 10, ["164005"] = 10, ["164006"] = 10, -- Branded and all it's different forms
["157353"] = 7, -- Force Nova
["159200"] = 3, -- Destructive Resonance
--Blackrock Foundry
--Darmac
["154960"] = 8, -- Pinned Down
["154981"] = 9, -- Conflag
["155061"] = 7, ["162283"] = 7, -- Rend and Tear (Wolf and Boss)
["155499"] = 7, ["154989"] = 7, -- Fire Breath debuff (Rylak and Boss)
-- Gruul
["165298"] = 9, -- Flare
["155080"] = 7, -- Inferno Slice Fire Dot
-- Oregorger
["156374"] = 8, -- Explosive Shard Stun
["156203"] = 8, -- Retched Blackrock Pool
-- Flamebender
["155277"] = 9, -- Blazing Radiance Dot
["154932"] = 9, -- Meteor Target
["154952"] = 9, -- Wolf Fixate
["155049"] = 7, -- Singe (Wolf Line Dot)
-- Kromog
["157059"] = 7, -- Rune Grasp
-- Thogar
["164380"] = 9, -- Burning Dot
["165195"] = 8, -- Grenade Zone
["159481"] = 7, -- Siege Bomb Target
-- Iron Maidens
["160436"] = 4, -- Vortex Stun
["156214"] = 6, -- Convulsive Shadows (Dispel Dot)
["164271"] = 8, -- Penetrating Shot Target
["159724"] = 8, -- Blood Ritual Target
["158315"] = 9, -- Dark Hunt
["158601"] = 7, -- Dominator Blast
["156631"] = 8, -- Rapid Fire Targt
["170405"] = 3, -- Maraks Bloodcalling
["170395"] = 3, -- Sorkas Prey
-- Blast Furnace
["155196"] = 7, -- Fixate Slag Elementals
["156932"] = 6, -- Rupture
["174716"] = 7, -- Bomb
["176121"] = 8, -- Volatile Fire
},
}
--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
Jump to Line
Something went wrong with that request. Please try again.