Go to Page... |
Updated: | 04-21-08 04:47 PM |
Created: | unknown |
Downloads: | 3,754 |
Favorites: | 9 |
MD5: |
==========================================================
I would suggest you to use oUF_DebuffHighlight instead. It has many options that oUF_DC don't have and its a lot better written(more efficient, less cpu usage, etc..).
==========================================================
oUF_DispelColor is a plugin for the unitframes addon "oUF".
It will color the backdrop/border of the frames based on the first debuff color. If no backdrop/border found, then it will create a texture and color that texture instead.
It won't load if the player class is "Hunter", "Rogue", "Warrior" and "Warlock".
*New way to handle things*
Now you don't need to have self.debuffs enabled. This mean you can enable oUF_DC on any frames without actually showing/spawning debuffs, or show all debuffs.
oUF_DC will only react on friendly units and will ignore hostiles ones.
How to enable oUF_DC on a frame?
Just add the variable "self.oufdc = true" to the frame.
Click-Casting
I added click casting(decursing) on frames handled by oUF_DC.
I will uses the correct spells based on your level.
It uses Mouse5 as button and Shift as modifier by default but you can change that easily in the lua. You can change the order of the spells too. Just read the comments carefully.
Class = Click / Shift-Click
Priest = Dispel Magic / Abolish Disease
Shaman = Cure Poison / Cure Disease
Druid = Abolish Poison / Remove Curse
Mage = Remove Lesser Curse
Paladin = Cleanse
*Note: This will change based on your level. (ie. It will use Purify for pally until they reach lvl 42(Cleanse))
Useful Links
oUF - The core mod for the unitframes layout.
oUF_Lily - Layout for oUF by haste.
oUF_P3lim - Layout for oUF by P3lim.
oUF_Lighterfluid - My layout for oUF.
oUF_Banzai - Plugin for oUF to color UFs based on aggro. (*You need LibBanzai-2.0*)
Wowace Forums - oUF modifications/layouts thread.
Comment Options |
08-10-08, 10:46 AM | |
A Murloc Raider
Forum posts: 5
File comments: 13
Uploads: 0
|
miss
Last edited by dutorien : 08-10-08 at 12:03 PM.
|
|
dutorien |
View Public Profile |
Send a private message to dutorien |
Find More Posts by dutorien |
Add dutorien to Your Buddy List |
04-21-08, 08:49 PM | ||
|
|
|
|
Coldfury |
View Public Profile |
Send a private message to Coldfury |
Find More Posts by Coldfury |
Add Coldfury to Your Buddy List |
ganders |
View Public Profile |
Send a private message to ganders |
Find More Posts by ganders |
Add ganders to Your Buddy List |
04-20-08, 04:25 PM | ||
A Deviate Faerie Dragon
Forum posts: 10
File comments: 56
Uploads: 0
|
|
|
|
Gaenjin |
View Public Profile |
Send a private message to Gaenjin |
Find More Posts by Gaenjin |
Add Gaenjin to Your Buddy List |
04-20-08, 02:58 PM | ||
|
You'll need to enable oUF_DC by adding something like "self.oufdc = true". What this mean is that you won't have to show any debuffs on any frames and oUF_DC will still be working. And if you decide to show debuffs, it won't force the filter to be true so you could enable oUF_DC on the target frame, and show all debuffs, and oUF_DC will only color it if the target is friendly and if it has a removable debuffs. If you want to enable oUF_DC on raid frames, but don't want to actually see any debuffs, just dont spawn the debuffs and add self.oufdc variable. Like you can have no debuffs shown and still have the frame colored based on removable debuffs. what do you think? |
|
|
Coldfury |
View Public Profile |
Send a private message to Coldfury |
Find More Posts by Coldfury |
Add Coldfury to Your Buddy List |
04-20-08, 03:13 AM | ||
A Deviate Faerie Dragon
Forum posts: 10
File comments: 56
Uploads: 0
|
I like that functionality, because TBH, I'd prefer only my target frame to be completely unaffected by DC, and be able to just filter my group and raid frames using DC. Which as I understand, Kosken's raidframes (the grid style I'm in love with) doesn't have any debuff display function, but thats a whole other mountain to cross. So far I've just been focusing on the 4 major food groups... player, target, tot and group. |
|
|
Gaenjin |
View Public Profile |
Send a private message to Gaenjin |
Find More Posts by Gaenjin |
Add Gaenjin to Your Buddy List |
04-20-08, 01:41 AM | ||
|
exemple: setting "self.nodc = true" in the target frame modification would make oUF_DC ignore target frame, therefor not forcing the debuffs.filter, but it won't colorize the target frame at all, even if the unit is friendly. but anyway, i hope to get that fix in oUF asap. |
|
|
Coldfury |
View Public Profile |
Send a private message to Coldfury |
Find More Posts by Coldfury |
Add Coldfury to Your Buddy List |
04-20-08, 01:23 AM | ||
A Deviate Faerie Dragon
Forum posts: 10
File comments: 56
Uploads: 0
|
|
|
|
Gaenjin |
View Public Profile |
Send a private message to Gaenjin |
Find More Posts by Gaenjin |
Add Gaenjin to Your Buddy List |
04-19-08, 11:05 AM | ||
|
The UnitCanCooperate check it to make sure we dont color blue the target frame if the druid we are attacking has a magic. In other words, why color the frame based on curable debuffs since we can't cure it since its hostile. If you can't see the debuffs on hostile target its because its only filtering debuffs you can remove. Like i said in the addons description, this addon will force debuffs.filter to be true to work correctly. The problem here, is from oUF, because debuffs.filter applies no mater if the unit is hostile or friendly, but why filter curable debuffs on hostile target? I emailed a fix to this to haste(author of oUF) and it should be in the next release of oUF i hope. This fix will make debuffs.filter to filter curable debuffs on friendly units and show all debuffs on hostile units. just to clearify, when you are not running oUF_DC, the debuffs.filter isnt set to true, so its showing ALL debuffs(the one you can apply are always moved first in the debuffs order, all other debuffs follow).
Last edited by Coldfury : 04-19-08 at 11:08 AM.
|
|
|
Coldfury |
View Public Profile |
Send a private message to Coldfury |
Find More Posts by Coldfury |
Add Coldfury to Your Buddy List |
04-19-08, 06:04 AM | ||
A Deviate Faerie Dragon
Forum posts: 10
File comments: 56
Uploads: 0
|
Without DC loaded (using just oUF+Layout), I can see debuff icons that I apply on hostile targets just fine. (like Faerie Fire, Mangle, etc) With DC loaded, I cannot see those debuff icons, they are prevented from being displayed by DC for some reason. edit: More specifically, if the routine is being ended if target is Hostile: Code:
-- check if the frame needs to be colored local function applyDispelColor(frame) if(UnitCanAttack("player", frame.unit)) then return end if(frame) then local icon = frame.Debuffs[1] if(icon) then r,g,b,a = icon.overlay:GetVertexColor() if(r and icon:IsVisible()) then applyColor(frame) else unapplyColor(frame) end else unapplyColor(frame) end end if(not frame.unit) then unapplyColor(frame) end end
Last edited by Gaenjin : 04-19-08 at 06:17 AM.
|
|
|
Gaenjin |
View Public Profile |
Send a private message to Gaenjin |
Find More Posts by Gaenjin |
Add Gaenjin to Your Buddy List |
04-17-08, 04:40 AM | ||
|
Ya, the idea with the list, where you can add the Spells on your own, sounds very nice. |
|
|
nodq |
View Public Profile |
Send a private message to nodq |
Find More Posts by nodq |
Add nodq to Your Buddy List |
04-16-08, 03:14 PM | ||
|
No, atm oUF can't filter debuffs by what you can apply but i think its on the to-do list of haste(oUF author), ill speak to him about that. If not, i might try to work something out but if i do, i will prolly be a list of spell that you enter(the debuffs that you want to be "track") based on your class and then check if does debuffs are applied, or.. i dunno.. well see |
|
|
Coldfury |
View Public Profile |
Send a private message to Coldfury |
Find More Posts by Coldfury |
Add Coldfury to Your Buddy List |
04-16-08, 04:24 AM | |
|
Hey great new version, this 2.x!
About the Option to make it possible to see what debuffs are on the Hostile Target etc. you think thats possible with just oUF and layout? Would be great to have something like "Readyspells" showing all the debuffs you can apply to a target as icons somewhere, and if they are applied then the are hidden. Im just asking, because "Readyspells" is my last ace2 addon i have, which i cant play without anymore keep it up bro greets
Last edited by nodq : 04-16-08 at 04:24 AM.
|
|
nodq |
View Public Profile |
Send a private message to nodq |
Find More Posts by nodq |
Add nodq to Your Buddy List |
04-15-08, 08:56 PM | ||
|
If you mean that it doesnt color the unitframe of hostile unit based on debuffs color, it's intended to be like that. Again, you gotta explain to me why you want to color the frame of a hostile unit? since you can't decurse him... im just wondering or you mean the the debuffs icons don't appear? If so, you need to understand that debuff.filter is to filter debuffs that you can REMOVE. Atm, theres no way of showing only debuffs that you can APPLY in oUF. but it should come soon. |
|
|
Coldfury |
View Public Profile |
Send a private message to Coldfury |
Find More Posts by Coldfury |
Add Coldfury to Your Buddy List |
04-15-08, 08:51 PM | ||
|
|
|
|
Coldfury |
View Public Profile |
Send a private message to Coldfury |
Find More Posts by Coldfury |
Add Coldfury to Your Buddy List |