Ok. I fixed it. Whenever Mangle or Trauma is on the target, the target's name is red.
local buff1 = UnitAura("target","Mangle (Cat)",nil,"HARMFUL")
local buff2 = UnitAura("target","Trauma",nil,"HARMFUL")
if ( buff1 or buff2 ) then
return '|cffff0000%s',Name(unit)
else
return '%s',Name(unit)
end
I'm trying to craft a custom LuaText that changes the color of the unit frame's name if it has a bleed on it, but it isn't working for some reason. I also added UNIT_AURA to the event list. Anyone know what is wrong with it?
local buff1 = UnitAura(Name(unit),"Mangle (Cat)","HARMFUL")
local buff2 = UnitAura(Name(unit),"Trauma","HARMFUL")
if ( buff1 or buff2 ) then
return '|cffff0000%s',Name(unit)
else
return '%s',Name(unit)
end
I'm trying to use GetInboxInvoiceInfo to scan my successful auctions, but I am getting strange results. The function is returning nil for all the mail I haven't read\opened. I read this is due to server lag or something, but if I call the function again on the same item 5 mins later it still returns nil. How can I ensure GetInboxInvoiceInfo returns non nil info?
I HAVE been thinking of adding an option to PitBull_Aura that fades buffs/debuffs that don't originate from me and then offering that as a ticket. I COULD also add in to actually not show those buffs (which might actually be easier to implement than fading the unwanted).
I'm just a bit worried I'll lose other valuable information if I HIDE all the other buffs/debuffs...
What if you made your debuffs bigger than the others, and make sure they are always at the beginning on the list?
0
0
0
0
0
0
What if you made your debuffs bigger than the others, and make sure they are always at the beginning on the list?
0
0
http://www.wowwiki.com/API_RepairAllItems
0
All these errors disappeared and pitbull loaded properly after I deleted !Swatter.lua in my saved variables folder.
0