Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-04-07, 11:23 AM   #1
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
Buff Conditions

Okay, we have the following buff conditions. What more would you guys like to see?

Code:
Buffs.conditions = {
	["All"] = function(u,c) return true end,
	["Warrior"] = function(u,c) return c == "WARRIOR" end,
	["Priest"] = function(u,c) return c == "PRIEST" end,
	["Druid"] = function(u,c) return c == "DRUID" end,
	["Paladin"] = function(u,c) return c == "PALADIN" end,
	["Shaman"] = function(u,c) return c == "SHAMAN" end,
	["Hunter"] = function(u,c) return c == "HUNTER" end,
	["Rogue"] = function(u,c) return c == "ROGUE" end,
	["Warlock"] = function(u,c) return c == "WARLOCK" end,
	["Mage"] = function(u,c) return c == "MAGE" end,
	["Mana"] = function(u,c) return c == "DRUID" or c == "PRIEST" or c == "PALADIN" or c == "SHAMAN" or c == "MAGE" or c == "WARLOCK" or c == "HUNTER" end,
	["Caster"] = function(u,c) return c == "MAGE" or c == "WARLOCK" or c == "SHAMAN" or c == "DRUID" end,
	["Melee"] = function(u,c) return c == "WARRIOR" or c == "ROGUE" end,
	["Healer"] = function(u,c) return c == "PRIEST" or c == "SHAMAN" or c == "DRUID" or c == "PALADIN" end,
	["NonTank"] = function(u,c) return c ~= "WARRIOR" end,
}
Someone has already suggested "MyGroup" so they can watch for missing totem buffs on their party. Anyone else have suggestions?
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote
 

WoWInterface » Featured Projects » Cladhaire's Mods » Buff Conditions


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