Thread Tools Display Modes
10-19-10, 02:10 PM   #1
Narinka
A Chromatic Dragonspawn
Join Date: Oct 2008
Posts: 165
Filterset for debuffs on target?

Is it possible?
Wish to make some alerts for complex debuff check. Nowadays many classes have the same debuffs but with different names.


I have working alerts for buffs on myself, but can't make it work for debuffs on my target :\
  Reply With Quote
10-20-10, 01:17 AM   #2
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
Sorry, filterset only work with the raid members.
  Reply With Quote
10-20-10, 04:27 PM   #3
Narinka
A Chromatic Dragonspawn
Join Date: Oct 2008
Posts: 165
I forgot we have scripted vars now! It solves any problem you can have

If anyone needs same "feature" here it is:
Code:
local debuffs = {"DebuffName1", "DebuffName2", "DebuffName3"};

varsc_demo = false;
n = #debuffs;
inCombat = UnitAffectingCombat("player");
if inCombat then
  varsc_demo = true;
  for i = 1,n do
      if  UnitDebuff("target", debuffs[i]) then varsc_demo = false end;
  end;
end;
Use it to hide/show texture, subframe or whatever you need.
Just change debuff names and "varsc_demo" is name of scripted var in this example.
  Reply With Quote
10-21-10, 04:03 AM   #4
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
Thanks

I will add this code as a feature in RDX.

Cheers
  Reply With Quote

WoWInterface » Featured Projects » OpenRDX » OpenRDX Community » OpenRDX: Community Chat » Filterset for debuffs on target?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off