From 2ea7e03dd639608326b1de47ec47665b5a395e46 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 19 Mar 2017 13:56:27 +0100 Subject: [PATCH] unitframes: add mage buffs --- api/unitframes.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/api/unitframes.lua b/api/unitframes.lua index ced1db4d..56cb26f2 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -152,6 +152,20 @@ function pfUI.uf:SetupBuffFilter() -- Battle Shout table.insert(pfUI.uf.buffs, "interface\\icons\\ability_warrior_battleshout") end + + + -- [[ MAGE ]] + if myclass == "MAGE" and pfUI_config.unitframes.raid.buffs_buffs == "1" then + -- Arcane Intellect + table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_magicalsentry") + table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_arcaneintellect") + + -- Dampen Magic + table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_abolishmagic") + + -- Amplify Magic + table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_flashheal") + end end function pfUI.uf:ClickAction(button)