From b592f2724a2623b7eb390c4678c02804bc138219 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sun, 26 May 2013 17:27:20 +0200 Subject: [PATCH] Only show HoW for DKs --- oUF_P3lim.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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] -- 1.7.9.5