View Single Post
12-08-14, 09:42 AM   #7
eiszeit
A Chromatic Dragonspawn
 
eiszeit's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 154
Originally Posted by Phanx View Post
The problem is as I described -- buffs cast by players who are not currently in your group will also have a nil caster. If you don't care about that (mainly an issue in town) then no, you don't need to check that you're in an instance.
So, I would also see debuffs/buffs of people inside town, even if they are players?

Originally Posted by Phanx View Post
Also:

1. You may want to show all debuffs on yourself, even if you can't dispel them.
You mean in the party part? Or also in target?

Originally Posted by Phanx View Post
2. You can combine the first and third of these checks:
Code:
        -- show when debuff and by me
        elseif icon.isDebuff and isPlayer[caster] then
            return true
        -- show stealable buffs
        elseif isStealable and not icon.isDebuff then
            return true
        -- show when by me and is not debuff
        elseif isPlayer[caster] and not icon.isDebuff then
            return true
Since you want to show anything you cast, regardless of whether it's a debuff or not, you don't need to check if it is a debuff, and then again if it's not a debuff.
Ah, thanks! Will test this when I am home from work (sadly, in 3 hours ....)
__________________
Lyn • I'm a mess of unfinished thoughts

Last edited by eiszeit : 12-08-14 at 09:51 AM.
  Reply With Quote