Message: Wrong spell id. Please report this error with the following information: id=1243, class=PRIEST, version=v1.5-beta-4, line=309
Time: 10/20/10 16:21:58
Count: 1
Stack: Interface\AddOns\InlineAura\ClassDefaults.lua:61: in function <Interface\AddOns\InlineAura\ClassDefaults.lua:60>
Interface\AddOns\InlineAura\ClassDefaults.lua:123: in function `GroupBuffs'
Interface\AddOns\InlineAura\ClassDefaults.lua:309: in main chunk
Combined the 2 ideas (colored shield) and added Prayer of Mending. Makes yellow total number when there's only shields. There is also paladin buff called Flash of Light but don't know if it's worth mentioning being a small after-hot of a fast cast spell.
Edit: Removing Gift of Naaru and Prayer of Healing from my use, they are also minor effects.
Do you think this is too slow for 25 man raid frames?
local i = 1
local mine,other,shields,shieldcolor = 0, 0, 0, "00ff00"
while true do
local name, _, _, _, _, _, _, caster = UnitAura(unit,i,"HELPFUL")
if not name then
break
elseif name == "Renew"
or name == "Rejuvenation"
or name == "Regrowth"
or name == "Lifebloom"
or name == "Wild Growth"
or name == "Earthliving"
or name == "Riptide"
or name == "Gift of the Naaru"
or name == "Glyph of Prayer of Healing"
then
if caster == "player" then
mine = mine+1
else
other = other+1
end
elseif name == "Power Word: Shield"
or name == "Guardian Spirit"
or name == "Divine Aegis"
or name == "Earth Shield"
or name == "Living Seed"
or name == "Sacred Shield"
or name == "Prayer of Mending"
then
if caster == "player" then
shieldcolor = "00ff00"
elseif shields == 0 then
shieldcolor = "ff0000"
end
shields = shields+1
end
i = i + 1
end
local total = mine+other+shields
if total>0 then
local s = ""
if mine>0 then
s = format("|cff00ff00%s|r",total)
elseif other>0 then
s = format("|cffff0000%s|r",total)
else
s = format("|cffffff00%s|r",total)
end
if shields>0 then
return "|cff%s(|r%s|cff%s)|r",shieldcolor,s,shieldcolor
else
return s
end
end
Oh, and to see any effect to it with Pitbull 4 you have to enable Event "UNIT_AURA" for this text.
Are you sure that you configured groups right? Everything has been working correctly for many raids for me by now, and i am using Pitbull 4 for Raid frames and smaller raid pet frames separately.
Edit: Only thing that doesn't work is 5 player party layout if 5 people are divided into 2+ groups.
My code colors shield always yellow and the hot based on if i have any heal or shield on target green, otherwise red. I have found it useful knowing how many heal effects target has, it works awesome in raid frames.
Your code would only color based on last shield buff in the list - not working properly. Quick fix to that by sorting the if's:
if caster == "player" then
shieldcolor = "00ff00"
elseif shield=false then
shieldcolor = "ff0000"
end
shield = true
How about this: It makes text look like (2) if target has 1 shield and 1 hot. I might have missed some shield for now, let me know of any...
local i = 1
local mine, other, shield = 0, 0, false
while true do
local name, _, _, _, _, _, _, caster = UnitAura(unit,i,"HELPFUL")
if not name then
break
elseif name == "Renew"
or name == "Rejuvenation"
or name == "Regrowth"
or name == "Lifebloom"
or name == "Wild Growth"
or name == "Earthliving"
or name == "Riptide"
or name == "Gift of the Naaru"
or name == "Glyph of Prayer of Healing"
then
if caster == "player" then
mine = mine + 1
else
other = other + 1
end
elseif name == "Power Word: Shield"
or name == "Guardian Spirit"
or name == "Divine Aegis"
or name == "Earth Shield"
or name == "Living Seed"
or name == "Sacred Shield"
then
shield = true
if caster == "player" then
mine = mine + 1
else
other = other + 1
end
end
i = i + 1
end
local total = mine + other
if total>0 then
local s = ""
if mine>0 then
s = format("|cff00ff00%s|r", total)
else
s = format("|cffff0000%s|r", total)
end
if shield then
return "|cffffff00(|r%s|cffffff00)|r",s
else
return s
end
end
Got them done. ICC debuff is called "Chill of the Throne" btw.
But you forgot to mention the beginning of process. First i had to select in Current filter - "Default debuffs", then i could have made new filter by custom name but i didn't, i instead went and changed Filter type to "name" which gave a warning that it can break something but i accepted. Then List type section appeared and i was able to select Blacklist. Rest was cake...
Edit: Decided to make own filters of blacklists and keep Default buffs and debuffs as meta. Which ended up needing ReloadUI and stuff but maybe i'll handle now.
I'm raiding ICC with Pitbull UI and raid frames. There is a general debuff on all raid members that reduces dodge and i want to hide it. I was playing around with filter configs during the raid (didn't cause wipes :p) by adding custom filter in Aura module or something but it's such a mess i couldn't make it to work.
To be more general, i need a way to hide certain debuffs by a list preferrably unique by layout and show everything else. Is it possible? This is because there are million different encounters in this game with different important debuffs. It would be stupid to think it from opposite way and make list of debuffs that you want to see...
Edit: To explain it bit more detail; i want to see important debuffs next to the raid frames wether i can dispel them or not. I do not use decursive or grid. Currently there is this general debuff on every player which is kind of distracting.
And another place that is focus frame. I need to hide buffs such as "Tree of life" from it down to only seeing my hots on him (tank). I was able to hide Gift of the wild but adding Tree of life and unchecking it just didn't do anything.
0
0
+ you can make a hot counter as new text, ps. http://forums.wowace.com/showthread.php?t=17253
0
Edit: Removing Gift of Naaru and Prayer of Healing from my use, they are also minor effects.
Do you think this is too slow for 25 man raid frames?
Oh, and to see any effect to it with Pitbull 4 you have to enable Event "UNIT_AURA" for this text.
0
Edit: Only thing that doesn't work is 5 player party layout if 5 people are divided into 2+ groups.
0
Your code would only color based on last shield buff in the list - not working properly. Quick fix to that by sorting the if's:
0
0
But you forgot to mention the beginning of process. First i had to select in Current filter - "Default debuffs", then i could have made new filter by custom name but i didn't, i instead went and changed Filter type to "name" which gave a warning that it can break something but i accepted. Then List type section appeared and i was able to select Blacklist. Rest was cake...
Edit: Decided to make own filters of blacklists and keep Default buffs and debuffs as meta. Which ended up needing ReloadUI and stuff but maybe i'll handle now.
0
To be more general, i need a way to hide certain debuffs by a list preferrably unique by layout and show everything else. Is it possible? This is because there are million different encounters in this game with different important debuffs. It would be stupid to think it from opposite way and make list of debuffs that you want to see...
Edit: To explain it bit more detail; i want to see important debuffs next to the raid frames wether i can dispel them or not. I do not use decursive or grid. Currently there is this general debuff on every player which is kind of distracting.
And another place that is focus frame. I need to hide buffs such as "Tree of life" from it down to only seeing my hots on him (tank). I was able to hide Gift of the wild but adding Tree of life and unchecking it just didn't do anything.