== CCBreakWarner 1.6 ==
by Wikwocket (wikwocket@gmail.com)
This AddOn alerts you when a mob you have CC'd (crowd controlled) breaks free. You will see a text warning and hear a sound effect whenever a CC spell you cast fades, is broken, or is dispelled off of a mob.
This AddOn support the following types of CC:
* Druid: Cyclone, Entangling Roots, Hibernate
* Hunter: Freezing Trap Effect, Scare Beast, Wyvern Sting
* Mage: Polymorph (and its variations)
* Paladin: Repentance, Turn Evil/Turn Undead
* Priest: Shackle Undead
* Rogue: Blind, Sap
* Shaman: Hex
* Warlock: Banish, Fear, Seduction
This AddOn will work in any language version of WoW. The warning texts are in English.
Since the 3.0.2 patch has hit, you will now be warned every time your CC spell fades or is broken, whether the target is focused or not. So focus macros, while still very handy, are no longer required to use this mod!
Here is a sample focus target CC 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 configuration is necessary; each time a CC spell you cast drops from a mob, you'll be alerted.
I hope you find this mod useful. Feedback and suggestions are always welcome!
CCBreakWarner 1.6 (WoW 3.0.2):
* Added support for Shaman's Hex, Hunter's Scare Beast and Wyvern Sting, Paladin's Repentance and Turn Evil/Turn Undead, and Rogue's Blind.
* Removed old pre-3.0 code and documentation.
CCBreakWarner 1.5 (WoW 2.4.3):
* Enhanced mod due to upcoming 3.0 patch's new combat log events:
** In 3.0, CC breaks will be reported from all targets, not just your focus target. Whenever your sheep/shackle/sap breaks, you will get a warning, with no need to use a focus target!
** In 3.0, the mod also displays the name of the unit broken from CC.
** Until 3.0 is live, the mod will continue to work as-is, via focus targets.
* Updated localization code to use GetSpellInfo(). This should allow the mod to work in all locales without further translation!
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.6 (WoW 3.0.2):
* Added support for Shaman's Hex, Hunter's Scare Beast and Wyvern Sting, Paladin's Repentance and Turn Evil/Turn Undead, and Rogue's Blind.
* Removed old pre-3.0 code and documentation.
Optional Files - CCBreakWarner
Sorry, there are currently no optional files available.
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.
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? In my opinion thats the only thing this is missing... great job!!
There is some discussion of this on the curse gaming page as well. I'm going to look into mods that do that, and see if it's possible.
Last edited by Wikwocket : 06-13-2007 at 01:54 PM.
Is there any chance you can add a function to whisper party/raid members if they target your CC while you are casting? In my opinion thats the only thing this is missing... great job!!
I'll try to add Cyclone and Entangling Roots this week. They are not traditional CC spells, that you would use to keep an add CC'd for a minute while your raid does something, but they are easy to add so no problem!
Edit: I was able to add this in version 1.2 released today. Thanks for the suggestion!
Last edited by Wikwocket : 06-07-2007 at 03:34 PM.
The Druid spell, 'Cyclone', sounds like it would be a good candidate for inclusion as well. Any chance it could be added? I can hack it into the English version as a patch and leave stubs for the French and German version is you're interested.
Originally posted by EnSabahNur an Option to Warn in Group and or Raid Channel when CC Breaks.
For now, I think I will not add this to the main version, as I fear it could be a bit spammy, but here is a way you can add it yourself.
Open the file CCBreakWarner.lua in the folder, in any text editor like WordPad. Scroll to the end of the file, and add this line:
SendChatMessage(TextMessage, "PARTY");
right after this line:
function CCBreakWarnerNotify(TextMessage)
if (className == "MAGE") then
Print("CCBreakWarner " .. VERSION .. " enabled, for Mage CC types on your focus");
ccName1 = "Verwandlung";
ccName2 = "Verwandlung: Schwein";
ccName3 = "Verwandlung: Schilkröte";
elseif (className == "PRIEST") then
Print("CCBreakWarner " .. VERSION .. " enabled, for Priest CC types on your focus");
ccName1 = "Untote fesseln";
elseif (className == "ROGUE") then
Print("CCBreakWarner " .. VERSION .. " enabled, for Rogue CC types on your focus");
ccName1 = "Kopfnuss";
elseif (className == "WARLOCK") then
Print("CCBreakWarner " .. VERSION .. " enabled, for Warlock CC types on your focus");
ccName1 = "Verbannen";
ccName2 = "Furcht";
ccName3 = "Verführung";