Only show HoW for DKs
Adrian L Lange [05-26-13 - 15:27]
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index 52153ed..8fe1fb5 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -212,7 +212,6 @@ do
[115189] = true, -- Anticipation
-- Death Knight
- [57330] = true, -- Horn of Winter
[48707] = true, -- Anti-Magic Shell
[51271] = true, -- Pillar of Frost
[53365] = true, -- Rune of the Fallen Crusader
@@ -223,6 +222,10 @@ do
[80353] = true, -- Time Warp
}
+ if(select(2, UnitClass('player')) == 'DEATHKNIGHT') then
+ spells[57330] = true -- Horn of Winter
+ end
+
function FilterPlayerBuffs(...)
local _, _, _, _, _, _, _, _, _, _, _, _, _, id = ...
return spells[id]