Quartz
Quartz is a modular approach to a casting bar addon. An overview of (hopefully most of) the modules:
*Player
The core of Quartz is lightweight implementation of a standard casting bar, with configurable size, text and icon positioning, and colors.
*Target/Focus
Implementation of target and focus casting bars in similar fashion to the player cast bar.
*Buffs
Display of target and focus buffs and debuffs as duration bars.
*Flight
Hooks into FlightMap or InFlight to display the current flight progress on your casting bar.
*Global Cooldown
Displays a tiny spark-bar to show your Global Cooldown near the cast bar. Helpful for those who'd rather not squint at their action bars to see when they can cast again.
*Interrupt
Changes the color and text of your casting bar to help show that your cast has been interrupted (and show who interrupted it).
*Latency
Displays the amount of time spent between cast send and start events, in the form of a bar at the end of your casting bar, with optional text that displays the actual duration of the lag. This helps in canceling casts when they will not actually be interrupted, especially for users with consistently high pings.
*Mirror
Shows the 'basic' timers such as breath and feign death, as well as some 'odd' ones such as party invite time, resurrect timeout, and arena game start, and a framework for injecting custom timers into the bars.
*Range
Recolors the casting bar when your cast target moves out of range mid-cast.
*Swing
Displays a swing timer for your melee weapon as well as hunter autoshot.
*Timer
Allows for creating custom timers displayed on the mirror bars.
*Tradeskill Merge
Merges multiple casts of the same tradeskill item into one big cast bar.
Use /quartz to bring up the configuration menu.
Anyone have any ideas how to fix this?
-if (caster=="player" or caster=="pet" or caster=="vehicle") and duration > 0 then
I'm assuming that if I want to remove Mind Flay from being displayed in the debuffs, I would have to add to this line something to this effect:
-if (caster=="player" or caster=="pet" or caster=="vehicle") and duration > 0 and targetDebuff NEQ MindFlay() then
Can anyone point in the right verbiage I would need to make this work?
2. Then find following line:
Code:
if db.targetdebuffs then
And then first occourance of the following line (Should be line 272 in build #30000)
Code:
if duration and duration > 0 then
3. and replace it with following:
if (name == 'Misery') then
elseif (name == 'Mind Flay') then
elseif (name == 'Shadow Vulnerability') then
elseif (caster=="player" or caster=="pet" or caster=="vehicle") and duration > 0 then
And you're done =P
This will make quartz only show max 4 dots (VE, VT, SW:P , DP)
Also it will ONLY be your dots quartz shows.
/Bitemeh
Just added this to the line:
and duration > 0 and name ~= 'Mind Flay' and name ~= 'Misery' then
So if anyone has debuffs they don't want appearing on either a Focus, Target etc... just add the spell name to that line.
if db.targetdebuffs then
for i = 1, 40 do
local name, rank, texture, applications, dispeltype, duration, expirationTime, caster = UnitDebuff('target', i)
local remaining = expirationTime and (expirationTime - GetTime()) or nil
if not name then
break
end
if (caster=="player" or caster=="pet" or caster=="vehicle") and duration > 0 and name ~= 'Mind Flay' and name ~= 'Misery' then
local t = new()
tmp[#tmp+1] = t
t.name = name
t.texture = texture
t.duration = duration
t.remaining = remaining
t.dispeltype = dispeltype
t.applications = applications
end
end
end
"Interface\FrameXML\Cooldown.lua:3: attempt to compare number with nil"
Thanks.
I refuse to update it due to this, perhaps you should too.