Code:
-----------------------------------------------------
-- EDIT YOUR BUFFS/DEBUFFS IN HERE
-- IMPORTANT, TAGS HAVE TO BE UNIQUE!!!
-----------------------------------------------------
-- to enable the icons OOC, put this to 1 while moving the icons and to 0 when ready
-- 0 = off // 1 = on
local testmode = 1
--alpha when buff/debuff/cd not active
--values between 0 and one are allowed
local alpha_when_not_active = 0
local alpha_when_in_combat = 0
--make icon grey when buff noch active
--0 = off // 1 = on
local use_grey_vertex = 1
local bordertexture = "Interface\\AddOns\\rTextures\\simplesquare_roth"
--DEFAULT_CHAT_FRAME:AddMessage("found "..rf2_player_name.." : "..rf2_player_class)
if rf2_player_name == "Grombur" and rf2_player_class == "HUNTER" then
rf2_spell_list = {
buffs = {
[1] = { tag = "rapid", spellid = 3045, unit = "player", size = 24, fontsize = 18, posx = -64, posy = -270, framestrata = "BACKGROUND", anchor = "UIParent"},
--[2] = { tag = "commanding", spellid = 469, unit = "player", size = 32, fontsize = 24, posx = 40, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
},
debuffs = {
[1] = { tag = "mark", spellid = 14325, ismine = 0, unit = "target", size = 24, fontsize = 18, posx = -32, posy = -270, framestrata = "LOW", anchor = "UIParent"},
[2] = { tag = "serpent", spellid = 49000, ismine = 0, unit = "target", size = 24, fontsize = 18, posx = 0, posy = -270, framestrata = "LOW", anchor = "UIParent"},
[3] = { tag = "scorpid", spellid = 27060, ismine = 0, unit = "target", size = 24, fontsize = 18, posx = 32, posy = -270, framestrata = "LOW", anchor = "UIParent"},
--14325 mark
--49000 serpentsting
--27060 poison
},
cooldowns = {
--[1] = { tag = "wrath", spellid = 19574, size = 32, fontsize = 24, posx = 0, posy = 80, framestrata = "BACKGROUND", anchor = "UIParent"},
--[2] = { tag = "rapid", spellid = 3045, size = 32, fontsize = 24, posx = 40, posy = 80, framestrata = "BACKGROUND", anchor = "UIParent"},
--[3] = { tag = "arcane", spellid = 27019, size = 32, fontsize = 24, posx = 80, posy = 80, framestrata = "BACKGROUND", anchor = "UIParent"},
},
}
elseif rf2_player_name == "Rothar" and rf2_player_class == "WARRIOR" then
rf2_spell_list = {
buffs = {
[1] = { tag = "commanding", spellid = 469, unit = "player", size = 24, fontsize = 16, posx = -64, posy = -320, framestrata = "LOW", anchor = "UIParent"},
[2] = { tag = "battle", spellid = 2048, unit = "player", size = 24, fontsize = 16, posx = -32, posy = -320, framestrata = "LOW", anchor = "UIParent"},
--[3] = { tag = "snb", spellid = 50227, unit = "player", size = 48, fontsize = 32, posx = 0 , posy = -30, framestrata = "LOW", anchor = "UIParent"},
--[4] = { tag = "block", spellid = 2565, unit = "player", size = 32, fontsize = 20, posx = -50 , posy = -30, framestrata = "LOW", anchor = "UIParent"},
--[5] = { tag = "gnomeblocker", spellid = 35169, unit = "player", size = 32, fontsize = 20, posx = 50 , posy = -30, framestrata = "LOW", anchor = "UIParent"},
--[6] = { tag = "fireblood", spellid = 40459, unit = "player", size = 32, fontsize = 20, posx = 0 , posy = 20, framestrata = "LOW", anchor = "UIParent"},
--[4] = { tag = "freehero", spellid = 58398, unit = "player", size = 32, fontsize = 20, posx = 0 , posy = -80, framestrata = "LOW", anchor = "UIParent"},
--[3] = { tag = "snb", spellid = 50227, size = 20, fontsize = 15, posx = 30, posy = -260, framestrata = "BACKGROUND", anchor = "UIParent"},
--[3] = { tag = "rampage", spellid = 30033, size = 18, fontsize = 14, posx = -25, posy = -260, framestrata = "BACKGROUND", anchor = "UIParent"},
--[3] = { tag = "berserker", spellid = 18499, size = 32, fontsize = 24, posx = 160, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
},
debuffs = {
[1] = { tag = "sunder", spellid = 25225, ismine = 0, unit = "target", size = 24, fontsize = 16, posx = 0, posy = -320, framestrata = "LOW", anchor = "UIParent"},
[2] = { tag = "demo", spellid = 25203, ismine = 0, unit = "target", size = 24, fontsize = 16, posx = 64, posy = -320, framestrata = "LOW", anchor = "UIParent"},
[3] = { tag = "clap", spellid = 25264, ismine = 1, unit = "target", size = 24, fontsize = 16, posx = 32, posy = -320, framestrata = "LOW", anchor = "UIParent"},
--[4] = { tag = "scorpid", spellid = 3043,ismine = 0, unit = "target", size = 18, fontsize = 16, posx = 60, posy = -300, framestrata = "LOW", anchor = "UIParent"},
--[5] = { tag = "fearie", spellid = 26993, ismine = 0, unit = "target", size = 18, fontsize = 16, posx = 90, posy = -300, framestrata = "LOW", anchor = "UIParent"},
--[6] = { tag = "fearieferal", spellid = 27011, ismine = 0, unit = "target", size = 18, fontsize = 16, posx = 90, posy = -300, framestrata = "LOW", anchor = "UIParent"},
--[7] = { tag = "curseofreck", spellid = 27226, ismine = 0, size = 18, fontsize = 14, posx = 50, posy = -230, framestrata = "BACKGROUND", anchor = "UIParent"},
--[8] = { tag = "curseoftong", spellid = 11719, ismine = 0, size = 18, fontsize = 14, posx = 75, posy = -230, framestrata = "BACKGROUND", anchor = "UIParent"},
},
cooldowns = {
[1] = { tag = "bloodrage", spellid = 2687, size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
[2] = { tag = "berserkercool", spellid = 18499, size = 32, fontsize = 24, posx = 50, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
[3] = { tag = "revenge", spellid = 30357, size = 32, fontsize = 24, posx = 0, posy = 80, framestrata = "BACKGROUND", anchor = "UIParent"},
[4] = { tag = "shieldslam", spellid = 30356, size = 32, fontsize = 24, posx = 40, posy = 80, framestrata = "BACKGROUND", anchor = "UIParent"},
},
}
end