Download
(6Kb)
Download
Updated: 10-08-11 05:04 AM
Pictures
File Info
Updated:10-08-11 05:04 AM
Created:10-08-11 05:04 AM
Downloads:2,965
Favorites:1
MD5:

oUF BuffFilter

Version: BETA 0.9
by: Mischback [More]

..:: oUF_BuffFilter ::..

Provides Buff-/Debuff-Filtering on certain units in oUF-layouts.

While I have worked on different oUF-layouts I felt the need for buff-/debuff-filtering on certain units. Since I didn't want to write the same stuff again and again, I created this plugin to ease this task.

Basically, what it does: The oUF-core provides the possibility to filter buffs/debuffs with a custom filter function (.CustomFilter). This addon provides a central possibility for this feature.

oUF_BuffFilter provides three functions, that can be used as custom filter:

  • oUF_BuffFilter_Buffs
  • oUF_BuffFilter_Debuffs
  • oUF_BuffFilter_PvEBossDebuffs
As you can see, you can filter buffs/debuffs independently and this works for several units independently. Currently supported are:
  • player
  • target
  • focus
  • pet


Configuration:

oUF_BuffFilter stores the configuration in a per character saved variable, so you will be able to have different settings for different chars.

Sample:
Code:
	["player"] = {
		["buffs"] = {
			["mode"] = "whitelist",
			["list"] = {
				[55694] = true,
				[29801] = true,
				[12964] = true,
				[2565] = true,
				[85730] = true,
				[87096] = true,
				[16491] = true,
				[6673] = true,
				[871] = true,
				[50720] = true,
				[50227] = true,
				[12976] = true,
				[57516] = true,
				[18499] = true,
				[57519] = true,
				[52437] = true,
				[97463] = true,
			},
		},
		["debuffs"] = {
			["mode"] = "blacklist",
			["list"] = {
				[12721] = true,
			},
		},
	},
Here's a snippet of my configuration to explain it:
You find the configuration in [YOUR WOW FOLDER]/WTF/Account/[YOUR ACCOUNT NAME]/[YOUR REALM NAME]/[YOUR CHAR NAME]/SavedVariables/oUF_BuffFilter.lua.

You see the part, which controls which buffs are displayed on my player-frame. The buff-filter works in whitelist-mode, which means, only the buffs will be shown, that are in the following list. This works regardless of your localisation, because the actual spellIDs are used.
The following debuff-filter works in blacklist-mode, which means everything will be shown, except of the listed debuffs.

You can easily obtain spellIDs through wowhead.com, if you know, what you're looking for.
oUF_BuffFilter has its own list of (seen ingame) buffs/debuffs with their spellIDs, this list is located in [YOUR WOW FOLDER]/WTF/Account/[YOUR ACCOUNT NAME]/SavedVariables/oUF_BuffFilter.lua.



oUF_BuffFilter_PvEBossDebuffs

This special filter function filters for very special debuffs which are crucial in raid environment:
  • 8% Spell DMG
  • 5% Spell Crit
  • 4% Melee DMG
  • 12% reduced armor
  • 20% reduced Attack Speed
  • 10% reduced DMG done
  • 30% increased Bleed DMG
The list is based on this thread and not yet completed.

Currently known to be missing are:
  • Waylay (Rogue)
  • Earth Shock (Shaman)
  • Curse of Weakness (Warlock)
Please drop me a note if you find any other debuff missing.


Usage:

In your layout apply a custom Filter to your Buffs
self.Buffs.CustomFilter = oUF_BuffFilter_Buffs
or Debuffs
self.Debuffs.CustomFilter = oUF_BuffFilter_Debuffs


Credits:

elouyn for the list of raid-debuffs

Optional Files (0)


Post A Reply Comment Options
Unread 10-14-11, 08:00 AM  
Mischback
A Cobalt Mageweaver
 
Mischback's Avatar
AddOn Author - Click to view AddOns

Forum posts: 221
File comments: 68
Uploads: 7
Originally posted by Soopala
Hi,

Is there a way to filter only buff I have cast? (and add a blacklist to them)

may I have to do it in my layout?
No, this is not the purpose of this addon. You may add these functionality to your layout by using a PostUpdate-function.
__________________
Report comment to moderator  
Reply With Quote
Unread 10-11-11, 12:35 PM  
Soopala
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Hi,

Is there a way to filter only buff I have cast? (and add a blacklist to them)

may I have to do it in my layout?
Last edited by Soopala : 10-12-11 at 12:27 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: