Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » The Dung Heap » The Banhammer

 
 
LinkBack Thread Tools
Old 06/25/09, 10:39 AM   #1
Kaubel
Sledgehammer Emeritus
 
Kaubel's Avatar
 
Tauren Druid
 
Mal'Ganis
Infraction for Dankz: 2. All opinions should be stated as succinctly as possible.

Post: Mage UI and Add-ons (READ THE FIRST POST)
User: Dankz
Infraction: 2. All opinions should be stated as succinctly as possible.
Points: 1

Administrative Note:

Message to User:
It's a good thing you included that giant quote in your post.
Original Post:
if not UnitIsFriend(unit,'player') then
local i = 1
local ttw,dam,hit,crit,wisdom,scorch = false,false,false,false,false,false
local tr,tg,tb = 64,64,64
local dr,dg,db = 64,64,64
local hr,hg,hb = 64,64,64
local cr,cg,cb = 64,64,64
local wr,wg,wb = 64,64,64
local sr,sg,sb = 64,64,64
while true do
local name,_,icon = UnitAura(unit,i,"HARMFUL")
if not name then
break
elseif name == "Thunder Clap" then
ttw = true
elseif name == "Infected Wounds" then
ttw = true
elseif name == "Icy Touch" then
ttw = true
elseif name == "Earth and Moon" then
dam = true
elseif name == "Ebon Plague" then
dam = true
elseif name == "Curse of Elements" then
dam = true
elseif name == "Misery" then
hit = true
elseif name == "Faerie Fire" then
hit = true
elseif name == "Totem of Wrath" then
crit = true
elseif name == "Master Poisoner" then
crit = true
elseif name == "Heart of the Crusader" then
crit = true
elseif name == "Judgment of Wisdom" then
wisdom = true
elseif name == "Improved Scorch" then
scorch = true
elseif name == "Winter's Chill" then
scorch = true
elseif name == "Improved Shadowbolt" then
scorch = true
end
i = i + 1
end
if ttw then
tr,tg,tb = 00,255,00
end
if dam then
dr,dg,db = 00,255,00
end
if hit then
hr,hg,hb = 00,255,00
end
if crit then
cr,cg,cb = 00,255,00
end
if wisdom then
wr,wg,wb = 00,255,00
end
if scorch then
sr,sg,sb = 00,255,00
end
return "|cff%02x%02x%02xTtW|r |cff%02x%02x%02xSP|r |cff%02x%02x%02xSH|r |cff%02x%02x%02x3%%|r |cff%02x%02x%02x5%%|r |cff%02x%02x%02xWis|r" ,tr,tg,tb,dr,dg,db,hr,hg,hb,cr,cg,cb,sr,sg,sb,wr,wg,wb
end
I'm pretty sure you will want to change Curse of Elements to Curse of the Elements and Faerie Fire to Improved Faerie Fire. Also I cant seen to get Judgment of Wisdom to light up. Hotan does it work for you?

United States Offline
 

Go Back   Elitist Jerks » The Dung Heap » The Banhammer

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Infraction for J1M: 2. All opinions should be stated as succinctly as possible. Chicken The Banhammer 0 05/31/09 5:38 PM
Infraction for hps: 2. All opinions should be stated as succinctly as possible. Kaubel The Banhammer 0 04/13/09 9:43 PM
Infraction for Mex: 2. All opinions should be stated as succinctly as possible. Kaubel The Banhammer 0 03/17/09 7:37 PM
Infraction for Psy: 2. All opinions should be stated as succinctly as possible. Kaubel The Banhammer 0 02/21/09 1:36 PM
Infraction for c0x: 2. All opinions should be stated as succinctly as possible. Kaubel The Banhammer 0 02/21/09 10:38 AM