-- // rFilter3 -- // zork - 2012 --get the addon namespace local addon, ns = ... --object container local cfg = CreateFrame("Frame") ns.cfg = cfg cfg.rf3_BuffList, cfg.rf3_DebuffList, cfg.rf3_CooldownList = {}, {}, {} --local player_name, _ = UnitName("player") local _, player_class = UnitClass("player") ----------------------------- -- DEFAULT CONFIG ----------------------------- cfg.highlightPlayerSpells = true --player spells will have a blue border cfg.updatetime = 0.3 --how fast should the timer update itself cfg.timeFontSize = 16 cfg.countFontSize = 18 if player_class == "DEATHKNIGHT" then -- Buffs cfg.rf3_BuffList = { [1] = { spec = nil, spellid = 64856, -- Blade Barrier size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -138, y = 410 }, unit = "player", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 57330, -- HoW spelllist = { --check a list instead because other classes can do the same [1] = 57330, [2] = 6673, [3] = 8076, [4] = 93435, }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -108, y = 410 }, unit = "player", ismine = false, hide_ooc = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [3] = { spec = nil, spellid = 49222, -- Bone Shield size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -232, y = 445 }, unit = "player", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [4] = { spec = nil, spellid = 55233, -- VB size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -197, y = 445 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [5] = { spec = nil, spellid = 48792, -- IBF size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -267, y = 445 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [6] = { spec = nil, spellid = 48707, -- AMS size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -197, y = 445 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [7] = { spec = nil, spellid = 59052, -- Freezing fog size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -232, y = 447 }, spelllist = { --Procc [1] = 59052, -- Rime [2] = 81141, --Blood Swarm [3] = 81340, -- Sudden Doom [4] = 26017, [5] = 702, [6] = 50256, [7] = 24423, }, unit = "player", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [8] = { spec = nil, spellid = 51124, -- Killing machine size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -232, y = 495 }, unit = "player", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [9] = { spec = nil, spellid = 49028, -- Dancing Rune Weapon size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -232, y = 495 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [10] = { spec = nil, spellid = 35706, -- Pain Suppression size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -267, y = 495 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [11] = { spec = nil, spellid = 47788, -- Guardian Spirit size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -302, y = 495 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [12] = { spec = nil, spellid = 49039, -- Lichborne size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -232, y = 445 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [13] = { spec = nil, spellid = 77513, -- Blood Shield size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -168, y = 410 }, unit = "player", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [14] = { spec = nil, spellid = 91342, -- Shadow Infusion spelllist = { --check a list instead because other classes can do the same [1] = 91342, -- Shadow Infusion [2] = 63560, -- Dark Transformation }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -138, y = 410 }, unit = "pet", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [15] = { spec = nil, spellid = 77606, -- Dark Simulacrum size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -178, y = 420 }, unit = "player", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, --~ [16] = { --~ spellid = 16236, -- Ancestral Fortitude --~ spelllist = { --check a list instead because other classes can do the same --~ [1] = 16236, -- Ancestral Fortitude --~ [2] = 15357, --Inspiration --~ }, --~ size = 28, --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -198, y = 410 }, --~ unit = "player", --~ ismine = false, --~ desaturate = true, --~ alpha = { --~ found = { --~ frame = 1, --~ icon = 1, --~ }, --~ not_found = { --~ frame = 0.0, --~ icon = 0.6, --~ }, --~ }, --~ }, } -- Debuffs cfg.rf3_DebuffList = { [1] = { spec = nil, spellid = 55095, -- FF size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 108, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 55078, -- BP size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 138, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [3] = { spec = nil, spellid = 81130, -- Scarlet Fever spelllist = { --check a list instead because other classes can do the same [1] = 81130, [2] = 1160, [3] = 99, [4] = 26017, [5] = 702, [6] = 50256, [7] = 24423, }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 168, y = 410 }, unit = "target", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [4] = { spec = nil, spellid = 45524, -- CoI / slows spelllist = { --check a list instead because other classes can do the same [1] = 45524, -- CoI [2] = 68766, -- Desecration [3] = 50041, -- Chilblains }, size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 142, y = 445 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [5] = { spec = nil, spellid = 73975, -- Necro size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 168, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [6] = { spec = nil, spellid = 64856, -- PvE Stuff spelllist = { --check a list instead because other classes can do the same [1] = 79624, -- Power Generator Arcanotron [2] = 92512, -- Aegis of Flame 25 [3] = 82631, -- Aegis of Flame 10 [4] = 88826, -- Double Attack }, size = 34, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 108, y = 520 }, unit = "target", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, } cfg.rf3_CooldownList = { --~ [1] = { --~ spec = 2, --~ spellid = 49016, -- Unholy Frenzy --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -150, y = 132 }, --~ size = 32, --~ desaturate = true, --~ alpha = { --~ cooldown = { --~ frame = 1, --~ icon = 0.6, --~ }, --~ no_cooldown = { --~ frame = 1, --~ icon = 1, --~ }, --~ }, --~ }, --~ [2] = { --~ spec = 2, --~ spellid = 49206, -- Summon Gargoyle --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -110, y = 132 }, --~ size = 32, --~ desaturate = true, --~ alpha = { --~ cooldown = { --~ frame = 1, --~ icon = 0.6, --~ }, --~ no_cooldown = { --~ frame = 1, --~ icon = 1, --~ }, --~ }, --~ }, [1] = { spec = nil, spellid = 45529, -- Blood Tap pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -70, y = 132 }, size = 32, desaturate = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 1, icon = 1, }, }, }, [2] = { spec = nil, spellid = 77575, -- Outbreak pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -30, y = 132 }, size = 32, desaturate = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 1, icon = 1, }, }, }, } end if player_class == "SHAMAN" then -- Buffs cfg.rf3_BuffList = { [1] = { spec = nil, spellid = 53390, -- Tidal Waves size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -138, y = 410 }, unit = "player", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 98619, -- Wings of Flame size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -138, y = 410 }, unit = "player", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, } -- Debuffs cfg.rf3_DebuffList = { [1] = { spec = nil, spellid = 8050, -- Flame Shock size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 108, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, --~ [2] = { --~ spec = nil, --~ spellid = 55078, -- BP --~ size = 28, --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 138, y = 410 }, --~ unit = "target", --~ ismine = true, --~ desaturate = true, --~ alpha = { --~ found = { --~ frame = 1, --~ icon = 1, --~ }, --~ not_found = { --~ frame = 0.0, --~ icon = 0.6, --~ }, --~ }, --~ }, --~ } --~ cfg.rf3_CooldownList = { --~ [1] = { --~ spec = nil, --~ spellid = 2094, -- Blind --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -150, y = 132 }, --~ size = 32, --~ desaturate = true, --~ alpha = { --~ cooldown = { --~ frame = 1, --~ icon = 0.6, --~ }, --~ no_cooldown = { --~ frame = 1, --~ icon = 1, --~ }, --~ }, --~ }, --~ [2] = { --~ spec = nil, --~ spellid = 57934, -- Tricks --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -110, y = 132 }, --~ size = 32, --~ desaturate = true, --~ alpha = { --~ cooldown = { --~ frame = 1, --~ icon = 0.6, --~ }, --~ no_cooldown = { --~ frame = 1, --~ icon = 1, --~ }, --~ }, --~ }, --~ [3] = { --~ spec = nil, --~ spellid = 68992, -- Worgen Sprint --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -70, y = 132 }, --~ size = 32, --~ desaturate = true, --~ alpha = { --~ cooldown = { --~ frame = 1, --~ icon = 0.6, --~ }, --~ no_cooldown = { --~ frame = 1, --~ icon = 1, --~ }, --~ }, --~ }, } end if player_class == "WARLOCK" then -- Buffs cfg.rf3_BuffList = { --~ [1] = { --~ spec = nil, --~ spellid = 17941, -- Shadowtrance --~ size = 28, --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -108, y = 480 }, --~ unit = "player", --~ ismine = true, --~ desaturate = true, --~ alpha = { --~ found = { --~ frame = 1, --~ icon = 1, --~ }, --~ not_found = { --~ frame = 0.0, --~ icon = 0.6, --~ }, --~ }, --~ }, --~ [2] = { --~ spec = nil, --~ spellid = 64371, -- Eradication --~ size = 28, --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -108, y = 445 }, --~ unit = "player", --~ ismine = true, --~ desaturate = true, --~ alpha = { --~ found = { --~ frame = 1, --~ icon = 1, --~ }, --~ not_found = { --~ frame = 0.0, --~ icon = 0.6, --~ }, --~ }, --~ }, --~ [3] = { --~ spec = nil, --~ spellid = 74434, -- Soulburn --~ size = 28, --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -180, y = 410 }, --~ unit = "player", --~ ismine = true, --~ desaturate = true, --~ alpha = { --~ found = { --~ frame = 1, --~ icon = 1, --~ }, --~ not_found = { --~ frame = 0.0, --~ icon = 0.6, --~ }, --~ }, --~ }, } -- Debuffs cfg.rf3_DebuffList = { [1] = { spec = nil, spellid = 30108, -- UA size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 108, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 172, -- Corr size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 138, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [3] = { spec = nil, spellid = 980, -- Bane of Agony spelllist = { --check a list instead because other classes can do the same [1] = 980, -- BoA [2] = 603, -- BoD }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 168, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [4] = { spec = nil, spellid = 980, -- Curse spelllist = { --check a list instead because other classes can do the same [1] = 1490, -- CoE [2] = 1714, -- CoT [3] = 85547, -- Jinx Ele [4] = 18223, -- CoEx }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 168, y = 445 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, --~ [5] = { --~ spec = nil, --~ spellid = 32389, -- Shadow Embrace --~ size = 28, --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 138, y = 445 }, --~ unit = "target", --~ ismine = true, --~ desaturate = true, --~ alpha = { --~ found = { --~ frame = 1, --~ icon = 1, --~ }, --~ not_found = { --~ frame = 0.0, --~ icon = 0.6, --~ }, --~ }, --~ }, --~ [6] = { --~ spec = nil, --~ spellid = 48181, -- Haunt --~ size = 28, --~ pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 108, y = 445 }, --~ unit = "target", --~ ismine = true, --~ desaturate = true, --~ alpha = { --~ found = { --~ frame = 1, --~ icon = 1, --~ }, --~ not_found = { --~ frame = 0.0, --~ icon = 0.6, --~ }, --~ }, --~ }, } end if player_class == "HUNTER" then -- Buffs cfg.rf3_BuffList = { [1] = { spec = nil, spellid = 53220, -- Improved Steady size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -108, y = 410 }, unit = "player", ismine = true, hide_ooc = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.5, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 3045, -- Rapid Fire size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -138, y = 410 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [3] = { spec = nil, spellid = 136, -- Mend Pet size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -112, y = 435 }, unit = "pet", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [4] = { spec = nil, spellid = 82926, -- Amied! size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -152, y = 415 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, } -- Debuffs cfg.rf3_DebuffList = { [1] = { spec = nil, spellid = 1978, -- Serpent Sting size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 108, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 1130, -- Hunter's Mark spelllist = { --check a list instead because other classes can do the same [1] = 1130, [2] = 88691, }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 138, y = 410 }, unit = "target", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, } end if player_class == "ROGUE" then -- Buffs cfg.rf3_BuffList = { [1] = { spec = nil, spellid = 73651, -- Recu size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -108, y = 410 }, unit = "player", ismine = true, hide_ooc = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 5171, -- SnD size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -138, y = 410 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [3] = { spec = nil, spellid = 74001, -- CR size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -112, y = 435 }, unit = "pet", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [4] = { spec = nil, spellid = 13877, -- Blade Flurry size = 34, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -138, y = 495 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [5] = { spec = nil, spellid = 1966, -- Feint size = 34, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -178, y = 495 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [6] = { spec = nil, spellid = 13750, -- AR/Dance spelllist = { [1] = 13750, [2] = 51713, }, size = 34, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -218, y = 495 }, unit = "player", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, } -- Debuffs cfg.rf3_DebuffList = { [1] = { spec = nil, spellid = 1943, -- Rupture size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 108, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 2818, -- DP --~ spelllist = { --check a list instead because other classes can do the same --~ [1] = 1130, --~ [2] = 88691, --~ }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 138, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [3] = { spec = nil, spellid = 56807, -- Glyph of Hemorrhage --~ spelllist = { --check a list instead because other classes can do the same --~ [1] = 1130, --~ [2] = 88691, --~ }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 168, y = 410 }, unit = "target", ismine = true, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, } end if player_name == "Pawny" and player_class == "WARRIOR" then --Rothars Buff List cfg.rf3_BuffList = { [1] = { spec = nil, spellid = 469, --commanding shout spelllist = { [1] = 469, [2] = 79105, [3] = 6307, [4] = 90364, }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 130, y = 107 }, unit = "player", validate_unit = true, ismine = false, desaturate = true, match_spellid = false, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.4, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 6673, --battle shout spelllist = { [1] = 6673, [2] = 57330, [3] = 8076, [4] = 93435, }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 100, y = 107 }, unit = "player", ismine = false, desaturate = true, match_spellid = false, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.4, icon = 0.6, }, }, }, [3] = { spec = nil, spellid = 2565, --shield block size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -130, y = 138 }, unit = "player", ismine = true, desaturate = true, match_spellid = false, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0.6, }, }, }, [4] = { spec = nil, spellid = 87096, --thunderclap dps boost size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -100, y = 138 }, unit = "player", ismine = true, desaturate = true, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0.6, }, }, }, [5] = { spec = nil, spellid = 60503, --overpower size = 38, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -175, y = 142 }, unit = "player", ismine = true, desaturate = true, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0, }, }, }, } --Rothars Debuff List cfg.rf3_DebuffList = { [1] = { spec = nil, spellid = 58567, --sunder armor spelllist = { [1] = 58567, [2] = 91565, [3] = 8647, [4] = 95467, [5] = 95466, }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -130, y = 107}, unit = "target", validate_unit = true, hide_ooc = true, ismine = false, desaturate = true, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.4, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 6343, --thunderclap spelllist = { [1] = 6343, [2] = 55095, [3] = 58180, [4] = 68055, [5] = 8042, [6] = 90315, [7] = 54404, }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -100, y = 107 }, unit = "target", validate_unit = true, hide_ooc = true, ismine = false, desaturate = true, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.4, icon = 0.6, }, }, }, [3] = { spec = nil, spellid = 1160, --demo shout spelllist = { [1] = 1160, [2] = 81130, [3] = 99, [4] = 26017, [5] = 702, [6] = 50256, [7] = 24423, }, size = 28, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -160, y = 107 }, unit = "target", validate_unit = true, hide_ooc = true, ismine = false, desaturate = true, move_ingame = false, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.4, icon = 0.6, }, }, }, [4] = { spec = nil, spellid = 86346, --colossus smash size = 50, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -225, y = 142 }, unit = "target", validate_unit = true, hide_ooc = true, ismine = true, desaturate = true, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0, }, }, }, } --Rothars Cooldown List cfg.rf3_CooldownList = { [1] = { spec = nil, spellid = 100, --charge pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 40, y = 107 }, size = 28, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 1, icon = 1, }, }, }, [2] = { spec = nil, spellid = 20252, --intercept pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 70, y = 107 }, size = 28, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 1, icon = 1, }, }, }, [3] = { spec = nil, spellid = 86346, --CS pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 160, y = 107 }, size = 28, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 1, icon = 1, }, }, }, } end if player_name == "Pwnty" and player_class == "MAGE" then cfg.rf3_DebuffList = { [1] = { spec = nil, spellid = 36032, --arcane blast debuff size = 32, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -150, y = 173 }, unit = "player", ismine = false, desaturate = true, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0.6, }, }, }, } end if player_name == "Pawnee" and player_class == "DRUID" then -- Buff List cfg.rf3_BuffList = { --Proc [1] = { spec = nil, spellid = 96230, --Synapse Spring size = 36, pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -135, y = -80 }, unit = "player", validate_unit = true, ismine = true, desaturate = true, match_spellid = false, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0, }, }, }, [2] = { spec = nil, spellid = 74241, --Power Torrent size = 36, pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = 45, y = -80 }, unit = "player", validate_unit = true, ismine = true, desaturate = true, match_spellid = false, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0, }, }, }, [3] = { spec = 2, spellid = 89091, --Volcanic Destruction size = 36, pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = 0, y = -80 }, unit = "player", validate_unit = true, ismine = true, desaturate = true, match_spellid = false, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0, }, }, }, [4] = { spec = 2, spellid = 90164, --Astral Alignment size = 36, pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -90, y = -80 }, unit = "player", validate_unit = true, ismine = true, desaturate = true, match_spellid = false, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0, }, }, }, [5] = { spec = 2, spellid = 93400, --Shooting Stars size = 36, pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -45, y = -80 }, unit = "player", validate_unit = true, ismine = true, desaturate = true, match_spellid = false, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0, }, }, }, -- Buff [6] = { spec = nil, spellid = 16870, --Clearcasting size = 36, pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = 90, y = -80 }, unit = "player", validate_unit = true, ismine = true, desaturate = true, match_spellid = false, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0, icon = 0, }, }, }, } -- Debuff List cfg.rf3_DebuffList = { [1] = { spec = nil, spellid = 64856, -- PvE Stuff spelllist = { --check a list instead because other classes can do the same [1] = 79624, -- Power Generator Arcanotron [2] = 92512, -- Aegis of Flame 25 [3] = 82631, -- Aegis of Flame 10 [4] = 88826, -- Double Attack }, size = 34, move_ingame = true, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 108, y = 520 }, unit = "target", ismine = false, desaturate = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [2] = { spec = nil, spellid = 33786, --CYCLONE size = 40, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 140, y = 420 }, unit = "target", validate_unit = true, hide_ooc = false, ismine = false, desaturate = true, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, [3] = { spec = nil, spellid = 339, --ROOT size = 40, pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 172, y = 420 }, unit = "target", validate_unit = true, hide_ooc = false, ismine = false, desaturate = true, move_ingame = true, alpha = { found = { frame = 1, icon = 1, }, not_found = { frame = 0.0, icon = 0.6, }, }, }, } -- Cooldown List cfg.rf3_CooldownList = { [1] = { spec = 2, spellid = 78674, --Starsurge pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -150, y = 132 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 1, icon = 1, }, }, }, [2] = { spec = 2, spellid = 88751, --Wild Mushroom: Detonate pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -30, y = 132 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 0, icon = 0, }, }, }, [3] = { spec = nil, spellid = 20484, --Rebirth pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -440, y = -160 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 1, }, no_cooldown = { frame = 0, icon = 0, }, }, }, [4] = { spec = nil, spellid = 740, --Tranquility pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -400, y = -160 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 1, }, no_cooldown = { frame = 0, icon = 0, }, }, }, [5] = { spec = 2, spellid = 78675, --Solar Beam pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -360, y = -160 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 1, }, no_cooldown = { frame = 0, icon = 0, }, }, }, [6] = { spec = 1, spellid = 48438, --Wild Growth pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -150, y = 132 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 1, icon = 1, }, }, }, [7] = { spec = 1, spellid = 17116, --Nature Swiftness pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -110, y = 132 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 1, icon = 1, }, }, }, [8] = { spec = 1, spellid = 18562, --Swiftmend pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -70, y = 132 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 1, icon = 1, }, }, }, [9] = { spec = 2, spellid = 48505, --starfall pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -110, y = 132 }, size = 32, move_ingame = true, desaturate = true, alpha = { cooldown = { frame = 1, icon = 0.6, }, no_cooldown = { frame = 1, icon = 1, }, }, }, [10] = { spec = nil, spellid = 16689, --NG pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -440, y = -160 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 1, }, no_cooldown = { frame = 0, icon = 0, }, }, }, [11] = { spec = nil, spellid = 58984, --shadowmeld pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -440, y = -160 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 1, }, no_cooldown = { frame = 0, icon = 0, }, }, }, [12] = { spec = nil, spellid = 33831, --barkskin pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -440, y = -160 }, size = 32, desaturate = true, move_ingame = true, alpha = { cooldown = { frame = 1, icon = 1, }, no_cooldown = { frame = 0, icon = 0, }, }, }, } end