P3lim, your code assumes an icon is always a buff / debuff. which is only true if you use .Debuffs/.Buffs, but not in the case of .Auras, hence your code is flawed.
The problem with doing it that way is that if an aura icon is used as a debuff, and then reused later as a buff, it would still have the same highlight color of the debuff. (I think.)
Is there any way to fake a sort of configuration mode during development of a layout? For example, to show the maximum number of debuffs on a unit frame to see how they're looking without actually being in a raid environment. Or showing all 5 party frames without being in a full party.
Sorry for my english
I editing a oUF_Lighterfluid author Coldfury.
my ask is if i can active a focus target's and targetoftargetoftarget.
I less a oUF code and i understaind when this can modify for active this unit.
local ttt = oUF:Spawn("targettargettarget", "oUF_targettargettarget")
and for focus target
local focustarget = oUF:Spawn("focustarget", "oUF_focustarget")
and other quest
i have this code
local color = UnitIsPlayer(unit) and
RAID_CLASS_COLORS[select(2, UnitClass(unit))] or
UnitReactionColor[UnitReaction(unit, "player")]
but i rewrite this in
local color = RAID_CLASS_COLORS[select(2, UnitClass(unit))]
my ask is: why u use UnitIsPlayer(unit) ? for select played and modify also this character and
not modify npc, mob or this can create problem in other event?
If your unit is a human player it will color after the class color. If the unit is not a human player (assuming its an npc) you will color it by reaction (friendly, neutral, hostile).
Your new code will leave a default color on anything that is not a player (either ugly yellow-ish or a default statusbar color that you might have set)
Tnx for help
Im italian and i speack little englis :'(
i have another queston :D
i try to add buff duration up aura... but i not know becouse this not spawn!!
i try to less a oUF/Elements/aura.lua ... and in this code not have a this text
this is a problem becouse i can't add duration in debuff and buff?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm also feeling lazy today, so all I'm going to tell you is that your code is flawed.
-Ammo
It works so far, I'm gonna see how it holds up.
There isn't much oUF can do about the focus unit however.
dumb question but i still cant figure out how i dl the latest version from http://ixo.no/git/
http://ixo.no/git/oUF.git/commit/?id=b4058defaf17575893d0b88afef256d9aa78aecf
There's a zip and a tarball.
spanks
This link will always go to latest version: http://ixo.no/git/oUF.git/commit/
Direct download link: http://ixo.no/git/oUF.git/snapshot/oUF-master.zip
Just note that oUF creates upvalues of the globals, so changing the global doesn't affect oUF. You'll have to change it in oUFs code.
edit: I was a little bit fast typing that, the code should actually work now :p
I editing a oUF_Lighterfluid author Coldfury.
my ask is if i can active a focus target's and targetoftargetoftarget.
I less a oUF code and i understaind when this can modify for active this unit.
Anyone can :D
id guess...
for tot's target:
and for focus target:
havent tested though
and for Spawn??
i use this code??
and other quest
i have this code
but i rewrite this in
my ask is: why u use UnitIsPlayer(unit) ? for select played and modify also this character and
not modify npc, mob or this can create problem in other event?
If your unit is a human player it will color after the class color. If the unit is not a human player (assuming its an npc) you will color it by reaction (friendly, neutral, hostile).
Your new code will leave a default color on anything that is not a player (either ugly yellow-ish or a default statusbar color that you might have set)
Hope this helps. By the way, where are you from?
Im italian and i speack little englis :'(
i have another queston :D
i try to add buff duration up aura... but i not know becouse this not spawn!!
i try to less a oUF/Elements/aura.lua ... and in this code not have a this text
this is a problem becouse i can't add duration in debuff and buff?