Skip to content

Commit

Permalink
Update oUF, numerous further changes
Browse files Browse the repository at this point in the history
  • Loading branch information
drae committed Feb 13, 2017
1 parent 9482a2d commit d9fe0a5
Show file tree
Hide file tree
Showing 41 changed files with 987 additions and 304 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,3 @@
// Place your settings in this file to overwrite default and user settings.
{
}
38 changes: 21 additions & 17 deletions config/config.defaults.lua
Expand Up @@ -49,10 +49,10 @@ C["frames"] = {
focusYoffset = 75,
focusTargetXoffset = 10, -- Relative to right of focus target
focusTargetYoffset = 0,
petXoffset = 62, -- Relative to left of player
petYoffset = -100,
petTargetXoffset = 10, -- Relative to right of pet
petTargetYoffset = 0,
petXoffset = -6, --62, -- Relative to left of player
petYoffset = 30, ---100,
petTargetXoffset = 6, -- Relative to right of pet
petTargetYoffset = -10,
bossXoffset = 0, -- Relative to left of target
bossYoffset = -100,
arenaXoffset = 0, -- Relative to left of player
Expand Down Expand Up @@ -147,7 +147,7 @@ C["frames"] = {
C["raidframes"] = {
-- General frame parameters
width = 60,
width = 65,
height = 40,
gridLayout = "HORIZONTAL", -- groups are arranged horizontally - one above (or below) the other,
-- VERTICAL would have groups appear to the right (or left) of each other
Expand All @@ -159,42 +159,46 @@ C["raidframes"] = {
colorPet = false,
colorCharmed = true,
indicatorLrg = 8,
indicatorSml = 5,
-- X, Y position of frames - the 1, 2, 3, etc. tables
-- Equates to the total number of groups in the raid (not each group!). If you do not
-- specify a position for a total number of groups the position of the last highest
-- will be used
position = {
[1] = { "BOTTOMLEFT", UIParent, "CENTER", -166, -320 },
[2] = { "BOTTOMLEFT", UIParent, "CENTER", -166, -390 },
[3] = { "BOTTOMLEFT", UIParent, "CENTER", -166, -430 },
[5] = { "BOTTOMLEFT", UIParent, "CENTER", -940, -150 },
[1] = { "BOTTOMLEFT", UIParent, "CENTER", -176, -320 },
[2] = { "BOTTOMLEFT", UIParent, "CENTER", -176, -390 },
[3] = { "BOTTOMLEFT", UIParent, "CENTER", -176, -420 },
[6] = { "BOTTOMLEFT", UIParent, "CENTER", -940, -150 },
},
-- Button parameters
raidnamelength = 7,
showRaidHealthPct = true, -- Show health as a "remaining percentage" rather than an "absolute deficit"
showRaidHealthPct = false, -- Show health as a "remaining percentage" rather than an "absolute deficit"
showOnlyDispellable = false, -- true to only show dispellable unknown debuffs
}
-- Player, target and focus castbar
C["castbar"] = {
player = {
width = 150,
height = 6,
xOffset = 12,
yOffset = 0,
xOffset = -6,
yOffset = 40,
anchor = "DraePlayer",
anchorat = "LEFT",
anchorat = "RIGHT",
anchorto = "RIGHT",
},
target = {
width = 150,
height = 6,
xOffset = -12,
yOffset = 0,
xOffset = 7,
yOffset = 40,
anchor = "DraeTarget",
anchorat = "RIGHT",
anchorat = "LEFT",
anchorto = "LEFT",
},
focus = {
Expand Down
12 changes: 4 additions & 8 deletions config/indicators/hunter.lua
Expand Up @@ -14,11 +14,6 @@ P["HUNTER"] = {
["dispel_curse"] = { debuff = "Curse", pr = 50, mine = false, color = { r = 0.6, g = 0, b = 1.0} },
["buff_feigndeath"] = { buff = "Feign Death", pr = 50, mine = false, text = "FEIGN" },
-- Attack Power
["buff_trueshotaura"] = { buff = "Trueshot Aura", pr = 5, mine = false, color = { r = 0.8, g = 0.8, b = 0.8} },
["buff_hornofwinter"] = { buff = "Horn of Winter", pr = 5, mine = false, color = { r = 0.8, g = 0.8, b = 0.8} }, -- Deathknight
["buff_battleshout"] = { buff = "Battle Shout", pr = 5, mine = false, color = { r = 0.8, g = 0.8, b = 0.8} }, -- Warrior
-- Specific
["buff_misdirection"] = { buff = "Misdirection", pr = 5, mine = false, color = { r = 0, g = 0.4, b = 0.9 } },
},
Expand Down Expand Up @@ -56,14 +51,15 @@ P["HUNTER"] = {
["buff_feigndeath"] = true,
},
["LEFT"] = {
["status_dmgred"] = true,
},
["TOP"] = {
["buff_misdirection"] = true
},
["BOTTOMRIGHT"] = {
["buff_trueshotaura"] = true,
["buff_hornofwinter"] = true,
["buff_battleshout"] = true,
},
}
}
6 changes: 2 additions & 4 deletions config/indicators/paladin.lua
Expand Up @@ -19,7 +19,6 @@ P["PALADIN"] = {
["buff_auraofsacrifice"] = { buff = "Aura of Sacrifice", pr = 50, mine = true, color = { r = 1.0, g = 0, b = 0.7 } },
["buff_devotionaura"] = { buff = "Devotion Aura", pr = 50, mine = true, color = { r = 1.0, g = 0, b = 0.7 } },
["buff_greaterblessingofmight"] = { buff = "Greater Blessing of Might", pr = 50, mine = true, color = { r = 0, g = 0.4, b = 1.0 } },
["buff_greaterblessingofkings"] = { buff = "Greater Blessing of Kings", pr = 50, mine = true, color = { r = 0.8, g = 0.8, b = 0.8} },
["buff_greaterblessingofwisdom"] = { buff = "Greater Blessing of Wisdom", pr = 50, mine = true, color = { r = 0.8, g = 0.0, b = 0.4} },
Expand All @@ -30,7 +29,7 @@ P["PALADIN"] = {
["buff_blessingofspellwarding"] = { buff = "Blessing of Spellwarding", pr = 85, mine = false, color = { r = 0, g = 0.8, b = 0.5 } },
["buff_bestowfaith"] = { buff = "Bestow Faith", pr = 60, mine = true, color = { r = 1.0, g = 0.8, b = 0 } },
["buff_tyrsdeliverance"] = { buff = "Tyr's Deliverance", pr = 80, mine = false, color = { r = 1.0, g = 0.7, b = 0 } },
["buff_tyrsdeliverance"] = { buff = "Tyr's Deliverance", pr = 80, mine = false, color = { r = 1.0, g = 0.7, b = 0 }, flash = true },
["buff_beaconoflight"] = { buff = "Beacon of Light", pr = 40, mine = true, color = { r = 1.0, g = 0.8, b = 0 } },
["buff_beaconoffaith"] = { buff = "Beacon of Faith", pr = 40, mine = true, color = { r = 1.0, g = 0.6, b = 0 } },
["buff_beaconofvirtue"] = { buff = "Beacon of Virtue", pr = 40, mine = true, color = { r = 1.0, g = 0.8, b = 0.2 } },
Expand Down Expand Up @@ -94,11 +93,10 @@ P["PALADIN"] = {
},
["BOTTOMRIGHTL"] = {
["buff_greaterblessingofmight"] = true,
["buff_greaterblessingofwisdom"] = true,
},
["BOTTOMRIGHTT"] = {
["buff_greaterblessingofwisdom"] = true,
},
["BOTTOMLEFT"] = {
Expand Down
1 change: 1 addition & 0 deletions config/instancedebuffs/embed.xml
Expand Up @@ -3,4 +3,5 @@

<!-- Expacs -->
<Include file="warlordsofdraenor\embed.xml" />
<Include file="legion\embed.xml" />
</Ui>
6 changes: 6 additions & 0 deletions config/instancedebuffs/legion/black_rook_hold.lua
@@ -0,0 +1,6 @@
local T, C, G, P, U, _ = unpack(select(2, ...))
local UF = T:GetModule("UnitFrames")

UF["raiddebuffs"]["instances"]["Black Rook Hold"] = function()

end
6 changes: 6 additions & 0 deletions config/instancedebuffs/legion/court_of_stars.lua
@@ -0,0 +1,6 @@
local T, C, G, P, U, _ = unpack(select(2, ...))
local UF = T:GetModule("UnitFrames")

UF["raiddebuffs"]["instances"]["Court of Stars"] = function()
local zoneid = 1081
end
32 changes: 32 additions & 0 deletions config/instancedebuffs/legion/darkheart_thicket.lua
@@ -0,0 +1,32 @@
local T, C, G, P, U, _ = unpack(select(2, ...))
local UF = T:GetModule("UnitFrames")

-- Auchindoun

UF["raiddebuffs"]["instances"]["Auchindoun"] = function()
-- Trash
UF:AddRaidDebuff(true, 157168, 6, true) -- Fixate (Abyssal)

-- Vigilant Kaathar
UF:AddRaidDebuff(true, 152954, 6) -- Sanctified Strike

-- Nyami
UF:AddRaidDebuff(true, 155327, 6, true) -- Soul Vessel
UF:AddRaidDebuff(true, 154477, 6) -- Shadow Word: Pain
UF:AddRaidDebuff(true, 154218, 6) -- Arbiter's Hammer
UF:AddRaidDebuff(true, 176931, 6) -- Crusader Strike

-- Azzakel
UF:AddRaidDebuff(true, 153727, 6) -- Fel Lash
UF:AddRaidDebuff(true, 153392, 6) -- Curtain of Flame
UF:AddRaidDebuff(true, 154018, 6) -- Conflagration
UF:AddRaidDebuff(true, 153500, 6) -- Fel Pool

-- Terongor
UF:AddRaidDebuff(true, 156921, 6, true) -- Seed of Malevonence
UF:AddRaidDebuff(true, 156921, 6) -- Drain Life
UF:AddRaidDebuff(true, 156842, 6) -- Corruption
UF:AddRaidDebuff(true, 156964, 6) -- Immolate
UF:AddRaidDebuff(true, 156857, 6) -- Rain of Fire
UF:AddRaidDebuff(true, 164841, 6) -- Curse of Exhaustion
end
13 changes: 13 additions & 0 deletions config/instancedebuffs/legion/embed.xml
@@ -0,0 +1,13 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Script file="black_rook_hold.lua" />
<Script file="court_of_stars.lua" />
<Script file="darkheart_thicket.lua" />
<Script file="eye_of_azhara.lua" />
<Script file="halls_of_valor.lua" />
<Script file="karazhan.lua" />
<Script file="maw_of_souls.lua" />
<Script file="neltharions_lair.lua" />
<Script file="the_arcway.lua" />
<Script file="vault_of_the_wardens.lua" />
<Script file="violet_hold.lua" />
</Ui>
32 changes: 32 additions & 0 deletions config/instancedebuffs/legion/eye_of_azhara.lua
@@ -0,0 +1,32 @@
local T, C, G, P, U, _ = unpack(select(2, ...))
local UF = T:GetModule("UnitFrames")

-- Auchindoun

UF["raiddebuffs"]["instances"]["Auchindoun"] = function()
-- Trash
UF:AddRaidDebuff(true, 157168, 6, true) -- Fixate (Abyssal)

-- Vigilant Kaathar
UF:AddRaidDebuff(true, 152954, 6) -- Sanctified Strike

-- Nyami
UF:AddRaidDebuff(true, 155327, 6, true) -- Soul Vessel
UF:AddRaidDebuff(true, 154477, 6) -- Shadow Word: Pain
UF:AddRaidDebuff(true, 154218, 6) -- Arbiter's Hammer
UF:AddRaidDebuff(true, 176931, 6) -- Crusader Strike

-- Azzakel
UF:AddRaidDebuff(true, 153727, 6) -- Fel Lash
UF:AddRaidDebuff(true, 153392, 6) -- Curtain of Flame
UF:AddRaidDebuff(true, 154018, 6) -- Conflagration
UF:AddRaidDebuff(true, 153500, 6) -- Fel Pool

-- Terongor
UF:AddRaidDebuff(true, 156921, 6, true) -- Seed of Malevonence
UF:AddRaidDebuff(true, 156921, 6) -- Drain Life
UF:AddRaidDebuff(true, 156842, 6) -- Corruption
UF:AddRaidDebuff(true, 156964, 6) -- Immolate
UF:AddRaidDebuff(true, 156857, 6) -- Rain of Fire
UF:AddRaidDebuff(true, 164841, 6) -- Curse of Exhaustion
end
32 changes: 32 additions & 0 deletions config/instancedebuffs/legion/halls_of_valor.lua
@@ -0,0 +1,32 @@
local T, C, G, P, U, _ = unpack(select(2, ...))
local UF = T:GetModule("UnitFrames")

-- Auchindoun

UF["raiddebuffs"]["instances"]["Auchindoun"] = function()
-- Trash
UF:AddRaidDebuff(true, 157168, 6, true) -- Fixate (Abyssal)

-- Vigilant Kaathar
UF:AddRaidDebuff(true, 152954, 6) -- Sanctified Strike

-- Nyami
UF:AddRaidDebuff(true, 155327, 6, true) -- Soul Vessel
UF:AddRaidDebuff(true, 154477, 6) -- Shadow Word: Pain
UF:AddRaidDebuff(true, 154218, 6) -- Arbiter's Hammer
UF:AddRaidDebuff(true, 176931, 6) -- Crusader Strike

-- Azzakel
UF:AddRaidDebuff(true, 153727, 6) -- Fel Lash
UF:AddRaidDebuff(true, 153392, 6) -- Curtain of Flame
UF:AddRaidDebuff(true, 154018, 6) -- Conflagration
UF:AddRaidDebuff(true, 153500, 6) -- Fel Pool

-- Terongor
UF:AddRaidDebuff(true, 156921, 6, true) -- Seed of Malevonence
UF:AddRaidDebuff(true, 156921, 6) -- Drain Life
UF:AddRaidDebuff(true, 156842, 6) -- Corruption
UF:AddRaidDebuff(true, 156964, 6) -- Immolate
UF:AddRaidDebuff(true, 156857, 6) -- Rain of Fire
UF:AddRaidDebuff(true, 164841, 6) -- Curse of Exhaustion
end
14 changes: 14 additions & 0 deletions config/instancedebuffs/legion/karazhan.lua
@@ -0,0 +1,14 @@
local T, C, G, P, U, _ = unpack(select(2, ...))
local UF = T:GetModule("UnitFrames")

UF["raiddebuffs"]["instances"]["Karazhan"] = function()
-- Trash
UF:AddRaidDebuff(true) -- Fixate (Abyssal)

-- Nightbane
UF:AddRaidDebuff(true, 228808, 5) -- Charred Earth
UF:AddRaidDebuff(true, 228796, 9, false, true) -- Ignite Soul
UF:AddRaidDebuff(true, 228829, 7) -- Burning Bones
UF:AddRaidDebuff(true, 228835, 6) -- Absorb Vitality
UF:AddRaidDebuff(true, 228833, 8) -- Bone Shrapnel
end
32 changes: 32 additions & 0 deletions config/instancedebuffs/legion/maw_of_souls.lua
@@ -0,0 +1,32 @@
local T, C, G, P, U, _ = unpack(select(2, ...))
local UF = T:GetModule("UnitFrames")

-- Auchindoun

UF["raiddebuffs"]["instances"]["Auchindoun"] = function()
-- Trash
UF:AddRaidDebuff(true, 157168, 6, true) -- Fixate (Abyssal)

-- Vigilant Kaathar
UF:AddRaidDebuff(true, 152954, 6) -- Sanctified Strike

-- Nyami
UF:AddRaidDebuff(true, 155327, 6, true) -- Soul Vessel
UF:AddRaidDebuff(true, 154477, 6) -- Shadow Word: Pain
UF:AddRaidDebuff(true, 154218, 6) -- Arbiter's Hammer
UF:AddRaidDebuff(true, 176931, 6) -- Crusader Strike

-- Azzakel
UF:AddRaidDebuff(true, 153727, 6) -- Fel Lash
UF:AddRaidDebuff(true, 153392, 6) -- Curtain of Flame
UF:AddRaidDebuff(true, 154018, 6) -- Conflagration
UF:AddRaidDebuff(true, 153500, 6) -- Fel Pool

-- Terongor
UF:AddRaidDebuff(true, 156921, 6, true) -- Seed of Malevonence
UF:AddRaidDebuff(true, 156921, 6) -- Drain Life
UF:AddRaidDebuff(true, 156842, 6) -- Corruption
UF:AddRaidDebuff(true, 156964, 6) -- Immolate
UF:AddRaidDebuff(true, 156857, 6) -- Rain of Fire
UF:AddRaidDebuff(true, 164841, 6) -- Curse of Exhaustion
end
32 changes: 32 additions & 0 deletions config/instancedebuffs/legion/neltharions_lair.lua
@@ -0,0 +1,32 @@
local T, C, G, P, U, _ = unpack(select(2, ...))
local UF = T:GetModule("UnitFrames")

-- Auchindoun

UF["raiddebuffs"]["instances"]["Auchindoun"] = function()
-- Trash
UF:AddRaidDebuff(true, 157168, 6, true) -- Fixate (Abyssal)

-- Vigilant Kaathar
UF:AddRaidDebuff(true, 152954, 6) -- Sanctified Strike

-- Nyami
UF:AddRaidDebuff(true, 155327, 6, true) -- Soul Vessel
UF:AddRaidDebuff(true, 154477, 6) -- Shadow Word: Pain
UF:AddRaidDebuff(true, 154218, 6) -- Arbiter's Hammer
UF:AddRaidDebuff(true, 176931, 6) -- Crusader Strike

-- Azzakel
UF:AddRaidDebuff(true, 153727, 6) -- Fel Lash
UF:AddRaidDebuff(true, 153392, 6) -- Curtain of Flame
UF:AddRaidDebuff(true, 154018, 6) -- Conflagration
UF:AddRaidDebuff(true, 153500, 6) -- Fel Pool

-- Terongor
UF:AddRaidDebuff(true, 156921, 6, true) -- Seed of Malevonence
UF:AddRaidDebuff(true, 156921, 6) -- Drain Life
UF:AddRaidDebuff(true, 156842, 6) -- Corruption
UF:AddRaidDebuff(true, 156964, 6) -- Immolate
UF:AddRaidDebuff(true, 156857, 6) -- Rain of Fire
UF:AddRaidDebuff(true, 164841, 6) -- Curse of Exhaustion
end
32 changes: 32 additions & 0 deletions config/instancedebuffs/legion/the_arcway.lua
@@ -0,0 +1,32 @@
local T, C, G, P, U, _ = unpack(select(2, ...))
local UF = T:GetModule("UnitFrames")

-- Auchindoun

UF["raiddebuffs"]["instances"]["Auchindoun"] = function()
-- Trash
UF:AddRaidDebuff(true, 157168, 6, true) -- Fixate (Abyssal)

-- Vigilant Kaathar
UF:AddRaidDebuff(true, 152954, 6) -- Sanctified Strike

-- Nyami
UF:AddRaidDebuff(true, 155327, 6, true) -- Soul Vessel
UF:AddRaidDebuff(true, 154477, 6) -- Shadow Word: Pain
UF:AddRaidDebuff(true, 154218, 6) -- Arbiter's Hammer
UF:AddRaidDebuff(true, 176931, 6) -- Crusader Strike

-- Azzakel
UF:AddRaidDebuff(true, 153727, 6) -- Fel Lash
UF:AddRaidDebuff(true, 153392, 6) -- Curtain of Flame
UF:AddRaidDebuff(true, 154018, 6) -- Conflagration
UF:AddRaidDebuff(true, 153500, 6) -- Fel Pool

-- Terongor
UF:AddRaidDebuff(true, 156921, 6, true) -- Seed of Malevonence
UF:AddRaidDebuff(true, 156921, 6) -- Drain Life
UF:AddRaidDebuff(true, 156842, 6) -- Corruption
UF:AddRaidDebuff(true, 156964, 6) -- Immolate
UF:AddRaidDebuff(true, 156857, 6) -- Rain of Fire
UF:AddRaidDebuff(true, 164841, 6) -- Curse of Exhaustion
end

0 comments on commit d9fe0a5

Please sign in to comment.