Skip to content

Commit

Permalink
Get rid of Monk buffs/stances
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyball committed Aug 14, 2016
1 parent dfeae48 commit a0cc0cf
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions modules/Monk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,6 @@
local myname, Cork = ...
if Cork.MYCLASS ~= "MONK" then return end


-- Legacy of the Emperor
local spellname, _, icon = GetSpellInfo(115921)
local MARK, KINGS = GetSpellInfo(1126), GetSpellInfo(20217)
local GRACE, MIGHT = GetSpellInfo(116956), GetSpellInfo(19740)
Cork:GenerateRaidBuffer(spellname, icon, nil, nil, function(unit)
-- If a druid already hit this unit, we don't need to
if UnitAura(unit, MARK) then return true end

-- If a pally cast Kings when he should have put up Might, overwrite it
if UnitAura(unit, KINGS) then
-- If either mastery buff is also present, we're good and don't need to buff
return UnitAura(unit, MIGHT) or UnitAura(unit, GRACE)
end
end)


-- Legacy of the White Tiger
local spellname, _, icon = GetSpellInfo(116781)
local ARCBRIL, DALBRIL = GetSpellInfo(1459), GetSpellInfo(61316)
Cork:GenerateRaidBuffer(spellname, icon, ARCBRIL, nil, function(unit)
-- We have to account for all forms of arcane briliance, ugh
if UnitAura(unit, DALBRIL) then return true end
end)


-- Stance
Cork:GenerateAdvancedSelfBuffer("Stance", {103985, 115069, 115070}, false, true)


-- Enlightenment (EXP boost buff)
local UnitAura = Cork.UnitAura or UnitAura
local ldb, ae = LibStub:GetLibrary("LibDataBroker-1.1"), LibStub("AceEvent-3.0")
Expand Down

0 comments on commit a0cc0cf

Please sign in to comment.