== CCBreakWarner 1.4 ==
by Wikwocket (wikwocket@gmail.com)
This AddOn alerts you when a mob you have CC'd (crowd controlled) breaks free, as long as you use a focus target macro to cast your CC spell. You will see a text warning and hear a sound effect whenever a CC spell you can cast fades off of your focus target.
This AddOn support the following types of CC:
* Polymorph / Polymorph: Pig / Polymorph: Turtle
* Shackle Undead
* Sap
* Banish
* Fear
* Seduction
* Hibernate
* Freezing Trap Effect
This AddOn will work with the English, French, and German versions of WoW.
You must use a focus target macro to cast the CC, because there is no combat log warning for most CC spells breaking (the exception is Seduction; since this is a pet spell it can be tracked independently).
Here is a sample focus target macro:
/clearfocus [button:2]
/stopmacro [button:2]
/clearfocus [target=focus,dead]
/clearfocus [target=focus,noexists]
/focus [target=focus,noexists]
/cast [target=focus] Polymorph
The first time you click this, the macro will make your current target your focus and polymorph them. Each following time, it will re-polymorph your focus target regardless of what your current target is. It will also clear your focus if you right-click the macro, or your focus is dead. (You can replace Polymorph in the macro with any CC spell).
No other configuration is necessary; each time one of the CC spells you can cast drops from your focus, you'll be alerted.
I hope you find this mod useful. Feedback and suggestions are always welcome!
CCBreakWarner 1.4 (WoW 2.3.3):
* Updated check for Warlock's Seduction spell to happen whenever the Succubus stops channeling. This means that you will get a warning whenever Seduction breaks, even if you do not use a focus macro for Seducing. You can therefore use a focus macro for Fear or Banish, and get warnings when it breaks, as well as when Seduction breaks.
CCBreakWarner 1.3 (WoW 2.1.1):
* Updated code to not warn of broken CC if you just change from one CC spell to another, for example via a random Polymorph macro. (Suggested by Belleboom at curse-gaming.com)
CCBreakWarner 1.2 (WoW 2.1.1):
* Added support for Cyclone and Entangling Roots for Druids.
CCBreakWarner 1.1 (WoW 2.1.1):
* Localized CC spell names for French and German WoW. Please let me know if there are any problems.
CCBreakWarner 1.0 (WoW 2.1.0):
* Initial release.
Change Log - CCBreakWarner
CCBreakWarner 1.4 (WoW 2.3.3):
* Updated check for Warlock's Seduction spell to happen whenever the Succubus stops channeling. This means that you will get a warning whenever Seduction breaks, even if you do not use a focus macro for Seducing. You can therefore use a focus macro for Fear or Banish, and get warnings when it breaks, as well as when Seduction breaks.
Optional Files - CCBreakWarner
Sorry, there are currently no optional files available.
The mod should work in 2.3. I prefer not to release new packages that just consist of updating the TOC number. If there are any problems with the mod in 2.3, please let me know and I'll look into them. Thanks!
Quote:
Originally posted by Irsh me again.. do you plan on updating this for 2.3?
Last edited by Wikwocket : 11-27-2007 at 10:46 AM.
Yes, the sound file does not always play since 2.2, this is a Blizzard problem that affects many addons.
Here is a temporary workaround that has been reported to work, but I haven't been able to test it myself:
Open the file CCBreakWarner.lua in a text editor (Notepad is fine)
- Go to line 95 (second to last line)
- Before the line "PlaySoundFile("Sound\\Doodad\\CollectorTubeShutdown.wav");", add the line "PlaySound("igMiniMapZoomIn");"
- After this, the end of the file should look like:
Code:
function CCBreakWarnerNotify(TextMessage)
Print(TextMessage);
if (UIErrorsFrame) then
UIErrorsFrame:AddMessage(TextMessage, 1, 1, 0, 1.0, UIERRORS_HOLD_TIME);
end
PlaySound("igMiniMapZoomIn");
PlaySoundFile("Sound\\Doodad\\CollectorTubeShutdown.wav");
end
- Save the file and reload your UI, and it should work.
Thanks for the last reply, I never came back to tell you thanks BUT HOWEVER... since the new patch, there is no longer a sound file when the CC breaks. Does this have something to do with the fact that Blizz has messed with the sound related things to help support their chat system?? Thanks for the help
You can easily change the sound to whatever you like, with a little editing. Belleboom posted a few comments on how to do this on the AddOn's curse-gaming page.
I was wondering if it is possible to change the break sound. Sometimes in the raids, I have my ear trained on voices in vent and it is hard to hear the break sound. Can I change this?? Thanks for your help
That's why I said it was a tangent. I was wondering if there was a way to identify the raid icon in use on your focus target so you could announce it to other people. Obviously you could just assign one on purpose and announce it, but very often things don't happen the way you plan and you find yourself controlling a different target than you expected. As a rule, I find it bad form to change the raid icons in the middle of a fight.
Anyway, if you're avoiding warning broadcasts via chat, there's no point in looking into that.
Well, the main purpose of the mod is to alert you, the CC caster, than your CC has broken, so your attention can be elsewhere instead of babysitting your mob.
Given how many great timer mods there are that can show you the time left on a CC, I will probably not add that feature. For example Natur's Enemy Cast Bars will show me the expected duration of all CC spells cast by party members.
I am hesitant to add an announce feature to this mod since it can be spammy if the CC keeps breaking, and again, the primary goal is to alert oneself. I do realize that Sap is unique, I may have to think about that.
Regarding raid targets, you can add lines to your macro:
/script SetRaidTargetIcon("target", 4);
/say Casting my CC spell on green triangle!
(you can use one through 8)
Quote:
Originally posted by vaedin Sap cannot be reapplied and it is more useful for the tank to know when it is going to break rather than when it is broken. It would be very cool to have the option to tell your party or raid that "Sap on <focus target's name> is breaking in X seconds." where X is configurable or just a static number like 5 or 10.
Now off on a tangent. Is it possible to get the raid icon assigned to the focus target? Reporting that in text could also be useful. "<CC> on <COLOR SHAPE> broke! Pick it up!"
Sorry if any of this is already covered, but I haven't had the time or opportunity to try out the addon just yet.
Sap cannot be reapplied and it is more useful for the tank to know when it is going to break rather than when it is broken. It would be very cool to have the option to tell your party or raid that "Sap on <focus target's name> is breaking in X seconds." where X is configurable or just a static number like 5 or 10.
Now off on a tangent. Is it possible to get the raid icon assigned to the focus target? Reporting that in text could also be useful. "<CC> on <COLOR SHAPE> broke! Pick it up!"
Originally posted by Eljinar Is there any chance you can add a function to whisper party/raid members if they target your CC while you are casting?
To give more information about this, someone posted on the curse page, that you can do this by macro, for example:
/cast Polymorph
/run for i=1,GetNumRaidMembers()-1 do local u,t="raid"..i,"target"if UnitIsUnit(u..t,t)then SendChatMessage("Change targets! Trying to sheep...","WHISPER",nil,UnitName(u)) end end
So a macro may be useful if you desire this functionality.
Originally posted by mythrilgolem I assume you only support the focus frame and also assume that is because you are scanning buffs. On my lock I use a focus macro for fears and an assist pet macro to renew seduce (3 targets ftw). Would/Could this also notify when seduce breaks off of my pet target when I have a different focus?
You are correct that I am scanning the buffs to determine when CC breaks, snice it is the only reliable way to detect some CC types breaking. I will look at this, maybe I could add the option just for seduce since it is a unique CC type. Do you know if the Succubus loses/changes her target if seduce times out, or is broken, or she is hit with an attack?
just discovered your mod and it looks useful. I'll DL and check it out,
but I have a question...
I assume you only support the focus frame and also assume that is because you are scanning buffs. On my lock I use a focus macro for fears and an assist pet macro to renew seduce (3 targets ftw). Would/Could this also notify when seduce breaks off of my pet target when I have a different focus?
I looked into reporting on who breaks the CC, and it looks like it can only be done for Polymorph, and not most of the other CC spells. This is due to not getting combat messages on who broke the spell and when, which is why I wrote the mod to begin with.