Skip to content

Commit

Permalink
Update for 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nebularg committed Jul 27, 2018
1 parent b4eb0cb commit 6ebe889
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion BigWigs_CommonAuras.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 70300
## Interface: 80000

## Title: BigWigs |cffff0000+|r|cffffffffCommon Auras|r
## Title-deDE: BigWigs |cffff0000+|r|cffffffffHäufige Auren|r
Expand Down
38 changes: 20 additions & 18 deletions CommonAuras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,14 @@ local toggleOptions = {
6940, -- Blessing of Sacrifice
2825, -- Bloodlust
192077, -- Wind Rush Totem
97462, -- Commanding Shout
97462, -- Rallying Cry

--[[ Self ]]--
48792, -- Icebound Fortitude
55233, -- Vampiric Blood
204021, -- Fiery Brand
187827, -- Metamorphosis
22812, -- Barkskin
200851, -- Rage of the Sleeper (Artifact ability)
61336, -- Survival Instincts
122278, -- Dampen Harm
122783, -- Diffuse Magic
Expand Down Expand Up @@ -557,7 +556,7 @@ function mod:OnRegister()
[29893] = "Soulwell", -- Create Soulwell
[43987] = "Refreshment", -- Conjure Refreshment Table
-- Group
[97462] = "CommandingShout",
[97462] = "RallyingCry",
[106898] = "StampedingRoar",
[1022] = "BlessinOfProtection",
[204018] ="BlessingOfSpellwarding",
Expand All @@ -570,8 +569,7 @@ function mod:OnRegister()
[2825] = "Bloodlust", -- Bloodlust
[32182] = "Bloodlust", -- Heroism
[80353] = "Bloodlust", -- Time Warp
[90355] = "Bloodlust", -- Ancient Hysteria
[160452] = "Bloodlust", -- Netherwinds
[264667] = "Bloodlust", -- Hunter pet: Primal Rage
[178207] = "Bloodlust", -- Leatherworking: Drums of Fury
[230935] = "Bloodlust", -- Leatherworking: Drums of the Mountain
-- Tank
Expand All @@ -585,7 +583,6 @@ function mod:OnRegister()
[48792] = "IceboundFortitude",
[55233] = "VampiricBlood",
[22812] = "Barkskin",
[200851] = "RageOfTheSleeper",
[61336] = "SurvivalInstincts",
[115203] = "FortifyingBrew",
[115176] = "ZenMeditation",
Expand All @@ -596,6 +593,7 @@ function mod:OnRegister()
-- Healer
[33206] = "PainSuppression",
[62618] = "PowerWordBarrier",
[271466] = "PowerWordBarrier", -- Luminous Barrier
[47788] = "GuardianSpirit",
[64843] = "DivineHymn",
[102342] = "Ironbark",
Expand All @@ -615,6 +613,7 @@ function mod:OnRegister()
[115176] = "ZenMeditationOff",
[116849] = "LifeCocoonOff",
[204150] = "AegisOfLightOff",
[6940] = "BlessingOfSacrificeOff",
}
combatLogMap.SPELL_CREATE = {
[11419] = "Portals", -- Darnassus
Expand All @@ -632,11 +631,14 @@ function mod:OnRegister()
[53142] = "Portals", -- Dalaran - Northrend
[88345] = "Portals", -- Tol Barad (Alliance)
[88346] = "Portals", -- Tol Barad (Horde)
[120146] = "Portals", -- Ancient Portal: Dalaran
[132620] = "Portals", -- Vale of Eternal Blossoms (Alliance)
[132626] = "Portals", -- Vale of Eternal Blossoms (Horde)
[176246] = "Portals", -- Stormshield (Alliance)
[176244] = "Portals", -- Warspear (Horde)
[224871] = "Portals", -- Dalaran - Broken Isles
[281400] = "Portals", -- Boralus (Alliance)
[281402] = "Portals", -- Dazar'alor (Horde)
}
combatLogMap.SPELL_RESURRECT = {
[20484] = "Rebirth", -- Rebirth
Expand Down Expand Up @@ -749,7 +751,8 @@ end
--

-- Dedicated COMBAT_LOG_EVENT_UNFILTERED handler for efficiency
CAFrame:SetScript("OnEvent", function(_, _, _, event, _, _, source, _, _, _, target, _, _, spellId, spellName)
CAFrame:SetScript("OnEvent", function()
local _, event, _, _, source, _, _, _, target, _, _, spellId, spellName = CombatLogGetCurrentEventInfo()
if not combatLogMap[event] then return end

local f = combatLogMap[event][spellId]
Expand Down Expand Up @@ -887,11 +890,6 @@ function mod:Ironbark(target, spellId, nick, spellName)
bar(spellId, 12, target, spellName)
end

function mod:RageOfTheSleeper(_, spellId, nick, spellName)
message(spellId, L.used_cast:format(nick, spellName), nick)
bar(spellId, 10, nick, spellName)
end

function mod:StampedingRoar(_, spellId, nick, spellName)
message(spellId, L.used_cast:format(nick, spellName))
bar(spellId, 8, nick, spellName)
Expand Down Expand Up @@ -974,12 +972,12 @@ end

function mod:ArdentDefender(_, spellId, nick, spellName)
message(spellId, L.used_cast:format(nick, spellName), nick)
bar(spellId, 10, nick, spellName)
bar(spellId, 8, nick, spellName)
end

function mod:AuraMastery(_, spellId, nick, spellName)
message(spellId, L.used_cast:format(nick, spellName))
bar(spellId, 6, nick, spellName)
bar(spellId, 8, nick, spellName)
end

function mod:DivineProtection(_, spellId, nick, spellName)
Expand Down Expand Up @@ -1012,6 +1010,10 @@ function mod:BlessingOfSacrifice(target, spellId, nick, spellName)
bar(spellId, 12, target, spellName)
end

function mod:BlessingOfSacrificeOff(target, spellId, nick, spellName)
stopbar(spellName, target)
end

-- Priest

function mod:DivineHymn(_, spellId, nick, spellName)
Expand All @@ -1038,8 +1040,8 @@ function mod:PainSuppression(target, spellId, nick, spellName)
end

function mod:PowerWordBarrier(_, spellId, nick, spellName)
message(spellId, L.used_cast:format(nick, spellName))
bar(spellId, 10, nick, spellName)
message(62618, L.used_cast:format(nick, spellName))
bar(62618, 10, nick, spellName)
end

-- Shaman
Expand Down Expand Up @@ -1068,7 +1070,7 @@ end

function mod:WindRushTotem(_, spellId, nick, spellName)
message(spellId, L.used_cast:format(nick, spellName))
bar(spellId, 10, nick, spellName)
bar(spellId, 15, nick, spellName)
end

-- Warlock
Expand All @@ -1093,7 +1095,7 @@ function mod:LastStand(_, spellId, nick, spellName)
bar(spellId, 15, nick, spellName)
end

function mod:CommandingShout(_, spellId, nick, spellName)
function mod:RallyingCry(_, spellId, nick, spellName)
message(spellId, L.used_cast:format(nick, spellName))
bar(spellId, 10, nick, spellName)
end
Expand Down

0 comments on commit 6ebe889

Please sign in to comment.