Download
(2Kb)
Download
Updated: 11-23-11 08:05 PM
Pictures
File Info
Updated:11-23-11 08:05 PM
Created:02-20-10 09:52 PM
Downloads:6,218
Favorites:17
MD5:

oUF RaidDebuffs  Popular! (More than 5000 hits)

Version: 40200.2
by: yleaf [More]

Raid debuff mod for oUF!

The plugin shows debuff as icon on your raid frames (like GridStatusRaidDebuff does). It scans the debuff by name/id or debuff type. Debuff data must be provide by the layout (or copy from others). So this addon don't need to be updated frequently.

Since the rewrite, the new version is easier to use than the old one. If you find any problems just leave a comment.

My setup: https://github.com/yaroot/oUF_leaf/blob/master/layout/raid.lua
Git repo: https://github.com/yaroot/oUF_RaidDebuffs

40200.2
.icon is not required
.SetDebuffTypeColor instead of .SetBackdropColor

40200.1
Major rewrite, you might have to change some settings.
Beta Files (2)
File Name
Version
Hits
Size
Author
Date
40200.2
1,012
2kB
yleaf
11-23-11 07:56 PM
40200.1
1,005
2kB
yleaf
11-23-11 05:12 AM


Optional Files (0)


Post A Reply Comment Options
Unread 12-26-10, 04:36 AM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
@Tattiquero
Yes, but it's recommend to do it like:
Code:
local raidDebuffPostUpdate(element, .....)
...
end

local styleFunc(.....)
...
self.RaidDebuffs.PostUpdate = raidDebuffPostUpdate
..
end
And the arguments passed to the post update func might be defferent as I post before.
Report comment to moderator  
Reply With Quote
Unread 12-25-10, 04:36 AM  
Tattiquero
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally posted by yleaf
@Tattiquero:
Oh.....I get it.. You could do a PostUpdate in the new version to hide the icon:

Code:
self.RaidDebuffs.PostUpdate = function(rd, priority, name, icon, count, debuffType, duration, endTime)
    if(priority<5 and debuffType) then
        rd.icon:Hide()
    end
end
It's on github and ready for test.
So, i have to add this code at the end of the file .lua? thank u for ur patiance
Report comment to moderator  
Reply With Quote
Unread 12-23-10, 06:57 PM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
@Tattiquero:
Oh.....I get it.. You could do a PostUpdate in the new version to hide the icon:

Code:
self.RaidDebuffs.PostUpdate = function(rd, priority, name, icon, count, debuffType, duration, endTime)
    if(priority<5 and debuffType) then
        rd.icon:Hide()
    end
end
It's on github and ready for test.
Report comment to moderator  
Reply With Quote
Unread 12-23-10, 12:52 PM  
Tattiquero
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Debuff icon and Highlight

Originally posted by yleaf
No border for boss abilities? Black isn't good for you? I'm developing a new version, it'll has a PostUpdate for you to override it.
I mean, for example... If a mage cast on me a frostbolt i don't like the debuff icon, i want to show that i have a magic debuff only with an highlight border. Meanwhile, if a boss cast a debuff on tank i want to see it with an icon ...

i don't know if u can understand me... my english isn't so good. Thank u anyway
Report comment to moderator  
Reply With Quote
Unread 12-23-10, 09:30 AM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
Re: Debuff icon and Highlight

Originally posted by Tattiquero
With Grid is possibile have icon debuff only for boss ability and highlights for all the other (like blue border for magic, purple for curse, brown for disease an green for poison)?
No border for boss abilities? Black isn't good for you? I'm developing a new version, it'll has a PostUpdate for you to override it.
Report comment to moderator  
Reply With Quote
Unread 12-23-10, 04:33 AM  
Tattiquero
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Debuff icon and Highlight

With Grid is possibile have icon debuff only for boss ability and highlights for all the other (like blue border for magic, purple for curse, brown for disease an green for poison)?
Report comment to moderator  
Reply With Quote
Unread 07-06-10, 04:18 PM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
Originally posted by janangler
One question about clients using other locales than english. Is it somehow possible to retrieve the "localize" the zone name in the debuff list without manually replacing the text in

instances = {
["Zonename"] = {
No.
But LibBabble-Zone is a good choice to do that.
Report comment to moderator  
Reply With Quote
Unread 07-06-10, 02:58 PM  
janangler
A Kobold Labourer

Forum posts: 0
File comments: 33
Uploads: 0
One question about clients using other locales than english. Is it somehow possible to retrieve the "localize" the zone name in the debuff list without manually replacing the text in

instances = {
["Zonename"] = {
Report comment to moderator  
Reply With Quote
Unread 04-17-10, 06:22 AM  
McBloed
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 33
Uploads: 1
mega thx^^
much easier than i thought.
Report comment to moderator  
Reply With Quote
Unread 04-17-10, 06:13 AM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
@McBloed
Here's a step-by-step instruction: http://gist.github.com/369501
Hope it's useful to you.
Report comment to moderator  
Reply With Quote
Unread 04-17-10, 05:46 AM  
McBloed
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 33
Uploads: 1
ouf_Raiddebuffs still not works, i have added it in the ouf_caellian.toc, added the code
Code:
Setup in layout:

Code:
	self.RaidDebuffs = CreateFrame('Frame', nil, self)
	self.RaidDebuffs:SetHeight(20)
	self.RaidDebuffs:SetWidth(20)
	self.RaidDebuffs:SetPoint('CENTER', self)
	self.RaidDebuffs:SetFrameStrata'HIGH'
	
	self.RaidDebuffs:SetBackdrop({
		bgFile = [=[Interface\ChatFrame\ChatFrameBackground]=],
		insets = {top = -1, left = -1, bottom = -1, right = -1},
	})
	
	self.RaidDebuffs.icon = self.RaidDebuffs:CreateTexture(nil, 'OVERLAY')
	self.RaidDebuffs.icon:SetTexCoord(.1,.9,.1,.9)
	self.RaidDebuffs.icon:SetAllPoints(self.RaidDebuffs)
	
	self.RaidDebuffs.cd = CreateFrame('Cooldown', nil, self.RaidDebuffs)
	self.RaidDebuffs.cd:SetAllPoints(self.RaidDebuffs)
	
	--[[ uncomment this if you are not using omnicc
	self.RaidDebuffs.time = self.RaidDebuffs:CreateFontString(nil, 'OVERLAY')
	self.RaidDebuffs.time:SetFont(STANDARD_TEXT_FONT, 12, 'OUTLINE')
	self.RaidDebuffs.time:SetPoint('CENTER', self.RaidDebuffs, 'CENTER', 0, 0)
	self.RaidDebuffs.time:SetTextColor(1, .9, 0)
	]]
	
	self.RaidDebuffs.count = self.RaidDebuffs:CreateFontString(nil, 'OVERLAY')
	self.RaidDebuffs.count:SetFont(STANDARD_TEXT_FONT, 8, 'OUTLINE')
	self.RaidDebuffs.count:SetPoint('BOTTOMRIGHT', self.RaidDebuffs, 'BOTTOMRIGHT', 2, 0)
	self.RaidDebuffs.count:SetTextColor(1, .9, 0)
to the ouf_cmain.lua , in the section with Lootmaster and made a seperate debuff.lua in the ouf_raiddebuffs folder with the debuffs i want to see and addet that file to the ouf_raiddebuffs.toc.
looks like :
Code:
local _, ns = ...
local ORD = ns.oUF_RaidDebuffs or oUF_RaidDebuffs

if not ORD then return end

-- these are defaults
ORD.ShowDispelableDebuff = true
ORD.FilterDispellableDebuff = true
ORD.MatchBySpellName = false -- false: matching by spellID
ORD.SHAMAN_CAN_DECURSE = true


local debuff_data = {
--Koralon	
67332, --Flaming Cinder

--Toravon
71993, --Frozen Mallet
72098, --Frostbite
72104, --Freezing Ground
	
}


ORD:RegisterDebuffs(debuff_data)

nothing happens.
when i enter the code to the section with self.cdebuffs it shows allways a white 20x20 frame in all oufframes (player,pet, party...) whats not the kind how its meent to be. i am getting crazy.
Report comment to moderator  
Reply With Quote
Unread 03-25-10, 07:38 AM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
@McBloed
I'm not playing in English either. I did write a wrapper to make grid-status-raid-debuff work with oUF. But that's too much pain, I like what it is now, simple and stupid.
Report comment to moderator  
Reply With Quote
Unread 03-25-10, 07:26 AM  
McBloed
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 33
Uploads: 1
Originally posted by yaroot
@McBloed
You can just put the name, or look it up on wowhead.com:
http://www.wowhead.com/?spell=71993 [/b]
of course its enough to put just the spellname or the spellid, or look up on wowhead. but i´m putridly , and i like to know wich spellname the spellid meens. i am playing the game in german, the spellnames are longer in german as in english (most times). and why i have to make the work by myself if a otherone did it allready?
Last edited by McBloed : 03-30-10 at 02:24 PM.
Report comment to moderator  
Reply With Quote
Unread 03-25-10, 04:59 AM  
Kurtz
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
[quote]Originally posted by yaroot
[b]You should create a file to do that like what McBloed did, not modifying this mod.

Thanks a lot!!!!!!!!
Report comment to moderator  
Reply With Quote
Unread 03-25-10, 01:58 AM  
yaroot
A Kobold Labourer
 
yaroot's Avatar

Forum posts: 1
File comments: 31
Uploads: 0
Originally posted by Kurtz
But I wrote in ouf_RaidDebuff.lua line 12, it didn't work. no error message.
You should create a file to do that like what McBloed did, not modifying this mod.

@McBloed
You can just put the name, or look it up on wowhead.com:
http://www.wowhead.com/?spell=71993
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: