Tehr's RaidCDs, ExternalCDs, UtilityCDs, AoECCs, RezCDs, & Interrupts

Updated Feb 21st 2017 WoW 7.1.5 User Tehr Views 104,303 Comments 77 Stars 124 Collections 31 Link https://wago.io/NyJLsr8PW
General UtilityRaid LeadingHealingTankingPvE UtilityDungeonsPvP Utility

Hey guys, if you know about a Talent or Artifact Trait that changes the CD of an ability (no Honor Talents, please) and I have not already added tracking for it, please either comment here or send me a message on Discord (Tehr#5246, Discord is much faster) and I'll update this ASAP!

Delete or rename the old version when updating to a new version! Not doing so will cause scaling to mess up.


, see adjustments below on how to hide it.

This WeakAura displays players' names and their associated abilities. Currently tracks every External CD, Utility CD, Raid CD, AoE Stun, Battle Rez, and Interrupt that I find important enough to track (or know how to track... looking at you, pet classes).

If a player is dead, the CD on their ability (or "READY", if it's available) will turn to gray so you know what you can and cannot call for.

If a player has a talent or artifact trait selected that reduces the CD on a certain ability, there will be a "+" displayed after the ability name to indicate this (e.g. "Grasp+" instead of "Grasp" if a Blood DK has Tightening Grasp as a talent).

To reset the aura, click the small "R" button in the top right corner (when maximized) and select which section you wish to reset.

To minimize the entire aura, click the small "-" button in the top right corner. Once the aura is hidden, click the "show" button in the bottom left corner to display it again.


To disable any of the sections (External CDs, Raid CDs, Utility CDs, AoE CC, Battle Rezzes, or Interrupts), go to "RaidCDs_NamesText" and change "true" to "false" for the sections you wish to disable (e.g. to disable Interrupts, change "local show_allInterrupts = true;" to "false;").

To add artifact support, e.g. if you know a Protection Paladin that has the "Sacrifice of the Just" Artifact Trait, a Retribution Paladin with the "Protector of the Ashen" Artifact Trait, a Holy Paladin with the "Blessings of the Silver Hand" Artifact Trait, or a Discipline Priests with the "Pain is in Your Mind" Artifact Trait, put his or her name in brackets and quotes inside the curly brackets at the top of the "RaidCDs_GroupPoll" display text and then indicate how many points they have allocated by adding "= 1", "= 2", or "= 3" (e.g. local paladinWithTraitName = { ["Tehr"] = 1 }) and the code will take care of the rest. Note that because Paladins can only get one point in "Sacrifice of the Just", adding any other number besides "= 1" will cause Blessing of Sacrifice to be treated as if the Paladin did not have the trait. Unfortunately, the same applies to the other Artifact Traits with 4 or more points (even though you can get more than 3 points with Relics, I have to add quite a bit of code and the relics are often not desirable anyway).

To change how high the background scales (if you change the font size), go to the very bottom of "RaidCDs_NamesText" and changing the numbers to suit your font. The first number ("lineCount * 11") will generally match up to the font size you choose (so increase it to 14 if you set the font to size 14), and the second number (" - 10) is to make adjustments depending on characteristics of the font you choose.

To hide the background, or to adjust its darkness, go to "RaidCDs_Background", and change the alpha of the background color. Currently set to 50% alpha, 0% is invisible and 100% is pure black. Deleting the background entirely will disable the ability to minimize the aura.

To display Interrupts/AoE CCs/Battle Rezzes in raid (defaults to Hidden when in a Raid, Displayed everywhere else), go to "RaidCDs_NamesText" and change "shows_allInterrupts_inRaids" to "true".

To display Blessing of Protection (BoP) in the External section (displays in the Utility section by default), go to the "RaidCDs_GroupPoll" aura and change "BoPisUtility" to "false". Note that if you get a lot of lag when editing the WA, it is recommended you copy everything (ctrl-A ctrl-C) and edit it in a text editor like Notepad++,

To adjust how far in names are indented, go to "RaidCDs_NamesText" and change how many spaces are in the local variable "raidCDsIndentAmount". You can choose between 0 (no indent, just leave the quotes "") and approximately 7 (any more and the names start overlapping with the CD name). Default is two spaces.

To make the aura grow downwards instead of upwards, change the Anchor Point of NamesText, Background, CDText, and TimeText to "Top Left" instead of "Bottom Left". It's likely that the aura will no longer be aligned properly, so keep in mind that you need to adjust it slightly after changing the anchor. It is also recommended that after you adjust the aura to your liking, you move the "RaidCDs_ButtonHandler" to anchor point of the aura.

To remove the buttons, go into RaidCDs_ButtonHandler --> Actions tab --> On Init, uncheck the "custom" button, and then reload your UI.

Note that this WeakAura was originally written by Yuqii and can be found here. I've been heavily modifying this over the last two years, and have permission from Yuqii to continue to publicly work on this aura.

Does not track Warlock Fel Hunter's Spell Lock ability or the three Beastmaster Battle Rezzes (Crane, Moth, Quillen).


Raise Ally


Skull Bash
Mind Freeze
Consume Magic
Wind Shear
Spear Hand Strike
Counter Shot
Solar Beam
Arcane Torrent


Divine Hymn
Ancestral Guidance
Commanding Shout
Healing Tide Totem
Spirit Link Totem
Power Word: Barrier
Aura Mastery
Aegis of Light
Ancestral Protection Totem
Vampiric Embrace


Nether Bond
Blessing of Sacrifice
Blessing of Spellwarding
Life Cocoon
Pain Suppression
Guardian Spirit


Blessing of Protection
Stampeding Roar
Symbol of Hope
Wind Rush Totem
Leap of Faith


Lightning Surge Totem
Summon Infernal
Binding Shot
Leg Sweep
Ursol's Vortex
Supernova (not a stun but yolo)
Mind Bomb
Chaos Nova
Gorefiend's Grasp
Sigil of Chains
War Stomp

Added a Raid Battle Rez counter when in a raid encounter (thanks Krazyito for the code and help!)

Fixed a small bug where Spellward wouldn't un-track if you specced out of it, and fixed some problems with the buttons

Added Arcane Torrent (Blood Elf) and War Stomp (Tauren)

Fixed a bug where mages swapping from Arcane to another spec would still display Supernova, and added a note about "Blessings of the Silver Hand" in the code

Now tracks "Blessings of the Silver Hand" for Holy Paladins, and now lets you choose whether BoP is displayed in External CDs or in Utility CDs (designed for tanks that display External CDs and hide everything else but still want to see BoP)

Changed the cooldowns of Aegis of Light, Gorefiend's Grasp, and Sigil of Chains. Removed Nether Bond

Added a minimize and maximize button, and a reset button (left click to choose which section to reset, right click to reset all sections), and you now have the option to track Ankh but hide the rest of the Battle Rezzes while in a raid

Added "Protector of the Ashen" Artifact Trait for Ret Pallies (thanks Lucivero), fixed "Pain is in your Mind" Artifact Trait tracking for Disc Priests (it wasn't properly reducing the CD), and added a way to display Battle Rezzes in raids (I high recommend you leave this disabled since Battle Rez CDs are done on a group-basis, and a player's individual CD doesn't matter)

Fixed "Sacrifice of the Just" Artifact Trait for Prot Pallies, and made it so the aura displays sample text when you have the options open and are in a group alone (so you can make adjustments without sitting in a party)

Ankh should now be working (I was tracking the wrong SpellID before), and you should no longer receive errors if you delete the Background

I broke some stuff in the 12/12 update (whoops!), that stuff is now fixed; by proxy, Crowd Control is in its own section now (if you want it back in UtilityCDs, tell me). Also, Gorefiend's Grasp and Sigil of Chains are now in the Crowd Control section. Lastly, I fixed the error that popped up when a player was unsuccessfully inspected (should no longer get any errors from this, it will ignore inspect errors and continue).

I've added in AoE stun abilities to the UtilityCDs section; this section has similar settings to the Interrupts section, and will by default display only when 1) the player is not in a raid, or 2) show_aoeCCs_inRaid is set to true.

I've added the ability to manually reset the WA (read the description), in addition to adding Combat Resurrections, as well as some back-end improvements.

Due to popular request, Blessing of Protection is now a Utility CD instead of an External CD.

By default now only displays Interrupts when NOT in a Raid. You can still override that setting and disable Interrupts permanently, and additionally you can choose to display Interrupts in raid if you'd like (change "shows_allInterrupts_inDungeonOnly" to "false" if you want Interrupts to be displayed in Raids).

I am temporarily removing support for Protection Paladin's artifact trait that displays Sac with reduced cooldown until I find a solution to a bug that causes the cooldown to never display.

Bug-fixing! Turns out Stampeding Roar was not being correctly tracked if the player did not have the Guttural Roars talent (love me some SpellID changes [/meme]), which by extension meant that Stampeding Roar was never tracked for Feral Druids.

Some minor bug-fixing (recently started getting a lot of errors and I'm not sure why, but the WA still functions just the same as normal), as of now you can actually disable External CDs without fucking up the formatting.

Now works for non-English clients (I THINK!). If you have any issues with a language not working let me know. Note that this does not mean that the display will be translated (it will still display CD names in English), it won't just error out in a non-English client (or simply not display any CDs).

Now tracks Guardian Angel talent, Sacrifice of the Just artifact trait, and Pain is in Your Mind artifact trait. However, the two artifact traits must be tracked manually until I figure out how to find the information I need from the inspect API.

This Weak Aura includes custom functions.


Posted by Tehr a day ago. Reply 2017-02-24 00:13
@Notcal Do you mean grouping by CD length, or by range? e.g. would you group Shaman with "Ranged Interrupts" because it's a ~30 yard range, or would you group it with "Melee Interrupts" because it's a sub-15s CD?
Posted by Notcal a day ago. Reply 2017-02-23 20:21
Can you look into an easy way to track ranged kicks and melee kicks separately?
Posted by Tehr 16 days ago. Reply 2017-02-09 16:09
@Nightglow I experimented with that a while back, I'll see what I can do. Will probably be some time, though.
Posted by Nightglow 17 days ago. Reply 2017-02-08 19:02
@Tehr Hi there! Long time user of this wa, love the frequent updates. Any plans to add support for legendaries/effects that reduce cd per cast? e.g. Skjoldr, Sanctuary of Ivagont bracers for disc priests (casting power word: shield reduces the cd of pain suppression by 4s) and Petrichor Lagniappe bracers for mw monks (casting renewing mist reduces the cd of revival by 2s) etc. I figured out how to hard code it for now but I think it would be a nice QoL addition to the base code, in the same vein as the artifact support you currently have.
Posted by Tehr 23 days ago. Reply 2017-02-02 16:51
@Malix I don't think I'll be adding that kind of stuff anytime soon (I guess it does have some applications in regards to soaking stuff, but pretty limited), but you're welcome to do so yourself.
Posted by Malix 23 days ago. Reply 2017-02-02 14:10
Is there a way you can start implementing Immunities? cloak, bubble, sometimes turtle, ams, that kind of stuff?
Posted by Tehr 23 days ago. Reply 2017-02-02 12:48
@Kadak When I was adding CC, I realized that there were upwards of 50 CC spells available to players, and adding them all would just be so much clutter. As such, I added just AoE stuns and similar effects (things that last a set duration and aren't interrupted by damage). While I may add more CC abilities in the future, adding all of them isn't that realistic.

Instead, you can add it yourself by checking out the information I gave in a comment posted on 2016-10-04. If you're having troubles, feel free to contact me on Discord.
Posted by Kadak 23 days ago. Reply 2017-02-02 07:47
@Tehr Thank you for all your hardwork! I was wondering why the paladin's "Blinding Light" isn't part of the Crowd control list? Any way to add it ?
Posted by McPhie a month ago. Reply 2017-01-28 16:18
Don't worry, found it in a previous comment
Posted by McPhie a month ago. Reply 2017-01-28 16:07
Is there any way to remove specific raid cooldowns? For example I don't want to track things like darkness, just healer CDs such as tranq
Posted by nottieboy a month ago. Reply 2017-01-25 05:27
@Tehr Thank you very much :)
Posted by Tehr a month ago. Reply 2017-01-24 10:21
@nottieboy I'm not currently planning on adding single-target stuns, but if you'd like to add it yourself, you can look at the comment I left on 2016-10-04 for instructions on how to add a new CD. Keep in mind that Chastise can have its CD reduced, so it won't be accurate unless you take additional steps yourself.
Posted by nottieboy a month ago. Reply 2017-01-24 06:15
@Tehr Hi, is there a way to add in Holy Word: Chastise - talented 5sec stun. ? spellid: 88625
Posted by nottieboy a month ago. Reply 2017-01-24 06:15
Hi, is there a way to add in Holy Word: Chastise - talented 5sec stun. ? spellid: 88625
Posted by Tehr a month ago. Reply 2017-01-23 12:34
@Hazal If I have to have a line of code to get the name for non-English clients for every SpellID, I might as well use SpellID.
Posted by Hazal a month ago. Reply 2017-01-23 03:44
@Tehr Have you considered to check the combatlog via the name of arcane torrent instead of checking for every spellID. And to be compatible with non english clients you can get the name of Arcane Torrent from the spellID? I think it's possible with name,_=GetSpellInfo(28730) for example
Posted by Tehr a month ago. Reply 2017-01-20 10:38
@alcaras I added Arcane Torrent and War Stomp for you Hordies
Posted by Tehr a month ago. Reply 2017-01-19 23:17
@alcaras Good idea, I will do so as soon as I can (as soon as I can do so without breaking shit).
Posted by alcaras a month ago. Reply 2017-01-19 21:35
Any way to add Arcane Torrents, at least when in party?
Posted by Tehr a month ago. Reply 2017-01-17 17:46
I just pushed out another update that lets you move BoP to the External section if you want.
Posted by Thunderspank a month ago. Reply 2017-01-17 16:00
@Tehr Thank you, I'll keep an eye out for new versions!
Posted by Tehr a month ago. Reply 2017-01-16 15:26
@Thunderspank After looking into the API a little I think I may have found a way to track dispels. If I remember, I will ping you when I finish.

MD/ToT should be easy to implement.
Posted by Thunderspank a month ago. Reply 2017-01-16 10:54
@Tehr I did not think about that. Yes, that will make it tougher for sure. I don't know enough about LUA/addons to understand how hard that would be though.

One of our raid healers was asking for this because she felt it would be super useful to see in real time.

Are misdirection / tricks of the trade easier to do? From what I remember, there used to be a talent for hunters that reset the CD for misdirection when cast on their pet in WoD. Dunno if that still applies and how it would complicate things.
Posted by Tehr a month ago. Reply 2017-01-16 09:35
@Thunderspank Hmm I think that might be a little difficult for Dispels. If I remember correctly, Dispels don't go on cooldown if there is nothing to dispel, right? If that's the case, tracking might be really difficult.
Posted by Thunderspank a month ago. Reply 2017-01-15 23:27
This is extremely useful. Thank you for all the work you've put into this!

Is there a way to add misdirect/tricks and dispels to the CDs that are tracked?
Posted by Xpariah 2 months ago. Reply 2017-01-08 18:28
Thank you so much for this WA!
Posted by ThorTue 2 months ago. Reply 2017-01-08 14:20
@Tehr Thx so much
Posted by Tehr 2 months ago. Reply 2017-01-08 11:00
@ThorTue I was actually working on that last night, that's a feature as of the 1/8/2017 update
Posted by ThorTue 2 months ago. Reply 2017-01-08 08:45
Hi, thx for your job. Can you dissociate ankh and battle rez ? Because I want to see ankh in raid but not battle rez.
Posted by Crazyfool 2 months ago. Reply 2016-12-30 12:12
@Tehr I just reimported and it fixed itself. Thanks anyway
Posted by Crazyfool 2 months ago. Reply 2016-12-30 12:00
@Tehr Sorry if this has been asked before but i can't seem to get the background to function. See image: http://imgur.com/a/yETvb

Even after disabling all addons but weakauras 2 the problem persist with the background just being that little bar at the top. Any help?

Posted by Tehr 2 months ago. Reply 2016-12-24 09:38
@Hacki Alternatively, go to the bottom of NamesText and delete the line WeakAuras.regions["RaidCDs_Background"].region:SetHeight( (lineCount * 11) - 10 );
Posted by Tehr 2 months ago. Reply 2016-12-24 09:27
@Hacki you edited the name of your background, or deleted it. You need to import the aura again or make an aura with the exact name as the error text.

If you don't want a background, just change the opacity to 0, don't delete it.
Posted by Hacki 2 months ago. Reply 2016-12-24 02:35
@Tehr, could you have a look at it? Impressive WA so far, but those lua error's get my UI crashed :-)
Posted by Hacki 2 months ago. Reply 2016-12-24 00:19
Hi, i got following lua error which counts every second. How can i fix/disable this?

Message: [string "return function () ..."]:420: attempt to index field 'RaidCDs_Background' (a nil value)
Time: 12/24/16 09:18:18
Count: 140
Stack: [string "return function () ..."]:420: in function <[string "return function () ..."]:1>
Interface\AddOns\WeakAuras\RegionTypes\text.lua:117: in function `UpdateCustomText'
Interface\AddOns\WeakAuras\WeakAuras.lua:2961: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:2957>

Locals: show_allExterns = true
show_allCDs = false
show_allUtility = false
show_aoeCCs = false
show_allRezzes = false
show_allInterrupts = false
show_allInterrupts_inRaid = false
show_aoeCCs_inRaid = false
raidCDsIndentAmount = " "
_ = false
instanceType = "none"
_ = ""
lineCount = 1
(*temporary) = nil
(*temporary) = ""
(*temporary) = ""
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'RaidCDs_Background' (a nil value)"
Posted by Tehr 2 months ago. Reply 2016-12-20 17:27
@Note read the description for enabling brezzes and interrupts in raid. You'd need to change a line in NamesText.
Posted by Note 2 months ago. Reply 2016-12-18 08:20
im having a problem with this WA not showing battle rez and reankh while in raid groups, but it does show in party. i checked instance type and i have them all on. please help
Posted by Tehr 2 months ago. Reply 2016-12-16 12:42
@elzzid I've been considering this for a while, and tinkered around with it for a bit, and I got a LOT of errors when doing so. I'm going to investigate this further and see if I can find a simpler method of adding interactivity, but I don't think I'll get around to it very soon (it's that time of year again...).
Posted by elzzid 2 months ago. Reply 2016-12-16 11:35
I really like the idea of this WA. Was wondering if it would be possible to make this clickable? E.g. (using the first preview image for names and abilities) if I clicked on the green 'READY' for Lilith's Darkness raid cd, it would post to chat/rw/yell something like 'Lilith use Darkness!' or clicking on the 'READY' for Pangaea's G-Spirit would say 'Pangaea use Guardian Spirit on me (or the tank's name or target name, etc.)!' Just a thought. Thanks for keeping this WA up and running!
Posted by Tehr 2 months ago. Reply 2016-12-15 13:07
@Windhøød I figured out how to fix the error, it's live in the most recent update.
Posted by User-5851073f75571c2e4 2 months ago. Reply 2016-12-14 00:50
Hello, Could you make a split version of each part of this WA, cause I am used to put tank CD and other at different places.
Posted by Tehr 2 months ago. Reply 2016-12-10 22:54
@Windhøød Unfortunately there's not much I can do about that error, as the way this function works is to get party members' inspect information. This error should only happen when another player joins your party and their inspect information is not available (you'll see their name displayed as "Unknown" or they won't appear in your raid frames), and the error will persist until you exit out of the error box.

The problem with inspecting a player is not, as far as I can tell, caused by my aura, but rather caused by *I believe* ElvUI (or one of ElvUI's plugins, perhaps Shadow&Light).

I will tinker around with some code and see if I can create a way to deal with errors behind-the-scenes so you don't have any problems, but if you have problems inspecting a player manually, try inspecting again if the inspect frame does not appear within a second or two.
Posted by Windhøød 2 months ago. Reply 2016-12-10 03:59

Thank you for creating such a useful WA. Impressive work!

It is causing some trouble, and I thought perhaps you could help?

I'm pretty sure your WA is causing this lua error:

Message: [string "return function ()..."]:626: Usage: CanInspect(unit [, showError])
Time: 12/10/16 10:28:29
Count: 1
Stack: [C]: ?
[C]: in function `CanInspect'
[string "return function ()..."]:626: in function <[string "return function ()..."]:1>
Interface\AddOns\WeakAuras\RegionTypes\text.lua:117: in function `UpdateCustomText'
Interface\AddOns\WeakAuras\WeakAuras.lua:2965: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:2961>

I havnt noticed it after deleting your WA. Also, I suspect its also your WA that causing some weird errors when inspecting other players. Sometimes the inspect action is delayed, other times it wont inspect at all.

Do you have any idea how to solve this?

Kind regards
Posted by Tehr 3 months ago. Reply 2016-12-08 15:30
@Dakaar If you want to put BOP in the External CDs section, you need to go to the BOP section of GroupPoll and Engine and change _utilityCDs_paladins to _externCDs_paladins.
Posted by Dakaar 3 months ago. Reply 2016-12-08 03:15
@Dakaar sry my fault xD
Posted by Dakaar 3 months ago. Reply 2016-12-08 03:08
Hi great work dude but i have a question why i cant see BoP in the external CD's section?
Posted by Tehr 3 months ago. Reply 2016-12-07 16:40
@ThorTue find the names of the spells in the Engine and GroupPoll and change them to what you want; everything else should be working already.

For example, find "H-Tide" and change it to "Heilungsflut" if you want it to be in German.

That being said, I don't know for sure if that's all you'd need to do, as I've never really experimented with it that much. If event types are changed (e.g. SPELL_CAST_SUCCESS is something else in another language's code) then you'll need to change more, but JUST changing spell names should work.
Posted by ThorTue 3 months ago. Reply 2016-12-07 08:30
Hi, how to translate this wa ? I have to replace all the spell in each table ?
Posted by Tehr 3 months ago. Reply 2016-11-29 22:09
@User-583dca07ee93c829289904b8 Stuns (and similar CCs) will be not be added in the upcoming update, but I have plans to add them in the future.

I am currently working on adding battle rezzes (for dungeons, there are plenty of addons available to track a raid's rez counter) and a manual reset option, and hope to have both features implemented soon.
Posted by User-583dca07ee93c829289904b8 3 months ago. Reply 2016-11-29 10:35
Stuns could be useful to track but only for 5-man dungeons. Thank you so much for your hard work.
Posted by Gffn 3 months ago. Reply 2016-11-28 13:12
@Gffn i found the issue, i had "no instance" checked.
Posted by Gffn 3 months ago. Reply 2016-11-28 13:07
@Tehr Somehow the Background of this WA loads, even though I'm not in an Instance. Everything else is unloaded, I just see a small bg rectangle. The settings are set to "load in instance" or whatever only.

Any idea what might cause this?
Posted by Tehr 4 months ago. Reply 2016-11-03 04:05
@Hellreiser At the moment Battle Rezzes are not tracked, but I have plans to add them in the future. The problem I have right now is making the cooldowns reset correctly.

I can add in Battle Rezzes without CD reset functionality easily though (perhaps with manual reset), and I will be doing so soon.
Posted by Hellreiser 4 months ago. Reply 2016-10-31 15:45
Is there an option to track Battle Rez's? Or am I missing something here.
Posted by Tehr 4 months ago. Reply 2016-10-24 13:11
@wanderkiel But yeah, that SENDCHATMESSAGE thing would go there
Posted by Tehr 4 months ago. Reply 2016-10-24 12:51
@wanderkiel Right after the line that sets the CD, so after _interrupts_rogues[sourceName]["Kick"] = GetTime() + 15; as an example
Posted by wanderkiel 4 months ago. Reply 2016-10-20 17:35
@Tehr Pardon my ignorance but would that go after the entry of SPELL_CAST_SUCCESS? And then I would just fill out this:

SendChatMessage("text" [, "chatType" [, languageIndex [, "channel"]]])

Posted by Tehr 4 months ago. Reply 2016-10-19 20:14
@wanderkiel I will not be integrating this, but if you'd like to do it yourself, it'd be rather easy to do so. All you have to do is put a "sendchatmessage" command in the Engine after the line that sets the CD.
Posted by wanderkiel 4 months ago. Reply 2016-10-18 17:32
Do you think it would be possible to integrate CD announcing into this?

Thank you so much for your work on this btw, really appreciated.
Posted by Photek 4 months ago. Reply 2016-10-11 15:59
@Tehr Thanks mate!
Posted by Tehr 4 months ago. Reply 2016-10-11 15:11
@Photek Note that the bit about removing the "\n" shouldn't be necessary anymore.
Posted by Tehr 4 months ago. Reply 2016-10-11 15:10
@Photek From another comment: i.imgur.com/gGd33lp.png

To disable individual CDs, go into GroupPoll and Engine, find the CDs you want to disable, and then comment them out.

For example, if you wanted to disable Darkness, in GroupPoll you would comment out:
if (_raidCDs_dhs[playerName]["Darkness"] == nil) then _raidCDs_dhs[playerName]["Darkness"] = GetTime(); end

and then in Engine you would commend out:
elseif(spellID == 196718 and eventType == "SPELL_CAST_SUCCESS") then -- Darkness -- if (_raidCDs_dhs == nil) then _raidCDs_dhs = { } end if (_raidCDs_dhs[sourceName] == nil) then _raidCDs_dhs[sourceName] = { } end _raidCDs_dhs[sourceName]["Darkness"] = GetTime() + 180;
Posted by Photek 5 months ago. Reply 2016-10-06 13:21
Any chance to have it grow downwards instead of upwards and how to disable individual CD's? Thanks.
Posted by Tehr 5 months ago. Reply 2016-10-04 13:55
@VodkaJack here is an example of how to add CDs, using Cloak of Shadows as an example:

First, add the following:

if (_utilityCDs_rogues[playerName]["Cloak"] == nil) then _utilityCDs_rogues[playerName]["Cloak"] = GetTime(); end

to GroupPoll in the Rogue area. If the ability is locked to certain specs, you have to add the above code to only the specs that have access to the ability (not doing so will display the CD for other members of that class regardless of whether they have it available), and then add the following to the specs that DO NOT have the ability:

_utilityCDs_rogues[playerName]["Cloak"] = nil

You can place the above code anywhere within that spec's list of CDs (for an example, look at Retribution's CDs, "specName == 70"). After that, make sure there is a section in the allCDs table that corresponds to the type of CD you're adding, and if it is not there, add:

allCDs["30"] = _utilityCDs_rogues;

to the bottom of GroupPoll (after the other numbered). After that, add in a way to track the spell you want to look at, making sure you have the correct spellID and CD (in this case, 31224 and 90 seconds):

elseif(spellID == 31224 and eventType == "SPELL_CAST_SUCCESS") then -- Cloak of Shadows -- if (_utilityCDs_rogues == nil) then _utilityCDs_rogues = { } end if (_utilityCDs_rogues[sourceName] == nil) then _utilityCDs_rogues[sourceName] = { } end _utilityCDs_rogues[sourceName]["Cloak"] = GetTime() + 90;

Keep in mind that some abilities (particularly Lay on Hands) have multiple ways their CD can be reduced, so you may find that getting an accurate estimate of CD will be more difficult than just adding in the ability. If you want to see how you might do that, take a look at how I've done Tranquility in the GroupPoll and Engine.
Posted by Cannu 5 months ago. Reply 2016-09-29 04:47
Seems that this aura is not tracking if paladin has reduced cd in Sacrifice
Posted by VodkaJack 5 months ago. Reply 2016-09-23 16:58
Hey mate, really love this weak aura. it's pretty awesome. one question tho, how can I add spells like "lay on hands" ? :D would be nice to know that.
Posted by Tehr 5 months ago. Reply 2016-09-12 12:08
@Cetraben If you're not going to use the rest of the code, you can just go into NamesText and change "true" to "false" for External CDs, Raid CDs, and Utility CDs.

Make sure you import the latest version first. You don't need to delete any code.
Posted by Cetraben 5 months ago. Reply 2016-09-12 04:43
Hi there,

Is it possible for the Interrupts to be available as their own standalone utility? Currently I have just cut out all the code around it to get this, but it's presenting me with a lot of LUA errors.

Posted by Tehr 6 months ago. Reply 2016-09-05 17:44
Hostik and I figured out what was wrong. Apparently Russian letters count as double the usual character amount, so if you notice that your names are only four letters long, find in RaidCDs_NamesText the line that says "string.sub(name, 0, 8);" and change the 8 to a 16. Note that this snippet is repeated 4 times, so make sure you go through the entire thing to find where it says that.
Posted by Tehr 6 months ago. Reply 2016-08-29 01:56
Okay, non-English client support is now integrated. Note that it won't translate into German or Russian or w/e, but it also won't just sit there and not display CDs.

If you find any errors/bugs, please report them either here or on Discord!
Posted by Tehr 6 months ago. Reply 2016-08-29 01:07
Hey, I'll update this to work for all languages ASAP (had a few requests already). The problem is in the GroupPoll section of code, it checks for UnitClass and GetSpecializationInfo and then cross-checks that with the English specs.

What that means is that when the code does UnitClass, the code will return something like Hexenmeister for Warlock (forgive me if that's not the right name for Warlock in German), whereas in the code I later check for "Warlock", so as far as my code's concerned you literally have nobody with the right class in your group.

To fix this yourself without waiting for me to update it, go into GroupPoll, and find all of the class and spec names and change them to your language's class and spec names. For example, where the code says "if (class == "Warlock") then", you change that to "if (class = "Hexenmeister") then" and it should work just fine.

Making this work regardless of language is my next step, looking to get it fixed tomorrow before Legion launch.
Posted by User-57c2e2bb7e09dfab1f644503 6 months ago. Reply 2016-08-28 06:15
Hi, i would rly like to use these wa on the german client. could you tell me how to get it working ?
Posted by Tehr 6 months ago. Reply 2016-08-28 01:05
@Hostik, please try re-importing the new version and let me know if it fixes anything.
Posted by Tehr 6 months ago. Reply 2016-08-28 00:30
@Hostik, what language do you use? It shouldn't have any issues.

There are two potential problems. One is that the code looks for a hyphen ("-") and and cuts the name off there. This is deprecated and no longer useful, and I'm going to remove it in the next update (names used to be displayed with their realms, and that code was invaluable to cut down on the overflow of letters). If for some reason everyone has a hyphen exactly 4 characters into their name, this would be the problem.

The only other thing I can think of is a line in the NamesText aura which limits names to a maximum of 8 characters, but that may have been changed accidentally.

Can you provide me a screenshot?
Posted by Hostik 6 months ago. Reply 2016-08-25 17:37
Great work on the aura mate. One question. How do I make it display the name longer than 4 letters?
On your screenshots it shows full names, for me it cuts off... Maybe has something to do with different language client? Idk..
Posted by eddym310 6 months ago. Reply 2016-08-16 01:23
How to make it grow down from Tehr: i.imgur.com/gGd33lp.png
Posted by eddym310 6 months ago. Reply 2016-08-14 22:09
Really like this weak aura, thanks. Is there anyway to make grow downwards?