If anyone wants a quick and dirty tag for raid frames to show a phased icon for example to monitor when people phase into the void zone on archimonde.
Currently there is no indicator enabled for raid frame phasing so I hacked together a tag from the phasing indicator function used in groups in suf to show the icon if a unit is phased. Tested it on a phased location in MoP and it works great
if UnitIsConnected(unit) and not UnitInPhase(unit) then
This one will show your time in queue and wait time for LFD or LFR (Does not work for pvp or pet battles as those are a different API calls)
What it prints out is "r" for raid and "d" for dungeon, players in queue/total queue size, time in queue, and average wait time.
KI exclude seconds for the wait time as anything < 1="" minute="" is="" not="" going="" to="" matter="" and="" it="" just="" takes="" up="">
r: 4/25 | t: 2 min 45 sec | w: 35 min
It will also color the number in queue, red if less than the total number of tanks and healers queued, yellow if between that and total number - tanks, or green if equal or greater than total number minus tanks. so for a 25 man raid, there are 2 tanks and 5 healers so < 7="red," 7-22="yellow" and="">= 23 = green
Anyway here is the tag:
NOTE: You need to specify a time interval and enable for frequent updates when making the tag as events will not properly trigger this so every second if you want (I use every 5 second)
edit: added combat condition because don't want this firing in combat less it errors out or taints or just distracts you ;)
if (not UnitAffectingCombat('player')) then
for i = 1, 4 do
local hasData, _, tankNeeds, healerNeeds, dpsNeeds, totalTanks, totalHealers, totalDPS, instanceType , _, _, _, _, _, _, myWait, queuedTime = GetLFGQueueStats(i);
if (hasData) then
local timePassed = SecondsToTime(myWait,true);
if myWait <= 0 then timePassed = 0 end
local timeInQueue = SecondsToTime(GetTime() - queuedTime);
local numMissing = (tankNeeds + healerNeeds + dpsNeeds);
local numTotal = (totalTanks + totalHealers + totalDPS);
local numNeeded = (numTotal - numMissing);
if (numNeeded >= (numTotal - totalTanks)) then
colorNum = "|cff00ff00" -- green
elseif (math.random(numNeeded,numTotal) < (numTotal - totalTanks)) and (numNeeded > (totalTanks + totalHealers)) then
colorNum = "|cffffd200" -- yellow
colorNum = "|cffdd3a00" -- red
if instanceType == 1 then lfType = "r: " elseif instanceType == 6 then lfType = "d: " end
return (lfType .. colorNum .. numNeeded .. "/" .. numTotal .. "|r | t: " .. timeInQueue .. " | w: " .. timePassed);
Is there a built-in way to ensure a certain ordering for auras?
For example, ensure that my Unstable Affliction is always the first aura, then my Agony, then my Corruption, then my Haunt, then my Drain Soul, then all other auras.
I took a look at the code; it seems like the auras are always displayed by their UnitAura index. Usually this means that auras are ordered by recency of application, which is not ideal for me. If there is no such option I might try to implement it myself.
Haven't found an answer to this using search thread...
How do I set up to show the target of my focus target? Sometimes I like to focus my tank to keep track of what he's targeting. The unit configuration submenu only lists target, ToT, and focus as options, but not ToF.
So I've got one quick request, because I can't figure out how to do it on Shadowed. Demonology Warlocks now have an icon on the default UI that tracks their temporary demons from Call Dreadstalkers and Hand of Gul'dan. Is there an option to have Shadowed do this as well, and if not can there be?
Is it possible to hide the player frame, or any other frame for that matter, when in a vehicle and the default Blizz frame is up? I place my player and target frames in the lower centre part of the screen and they really get in the way. Thanks for the mod and all the hard work!
Not sure if I'm stupid and missing something, but it seems like I can't currently remove the bar for Arcane Charges from my Unit Frames. My main is a DK and I did remove the runes from his frame from an option in the "Class/misc bars" page, so it seems like the bar for Arcane Charges should be found there, too.
I have a problem with the target unit frame which looks to only be present when encountering Gul'dan in The Nighthold.
The target unit frame will for some reason display Gul'dan's energy level incorrectly. If I focus target him, the focus target unit frame will display the correct energy level, while the target frame will not. There are a few cases when the target unit frame will display the correct energy, but it is only for a short period and not reliable at all.
Is this a problem with Shadowed Unit Frames, or is it something on my end that is causing it?
Is there any way to show both party and raid frames in 5-man instances, without actually converting to a raid? The "show party as raid" option disables the normal party frames, and I'd like to keep them active.