DontCast
Warns a player when their current target has buffs or debuffs that eliminate (or significantly mitigate) incoming damage. The default buff/debuff list will switch modes (between magical and physical) depending on the current spec of the player (healers will see both magical and physical buffs/debuffs). Displays the name and icon of the buff/debuff, as well as a timer displaying a countdown of time remaining until the effect expires. Buffs and debuffs can be added and removed with the appropriate slash commands.
Default Buffs/Debuffs
- Anti-Magic Shell (Magical mode only)
- Aspect of the Turtle
- Blessing of Protection (Physical mode only)
- Blessing of Spellwarding (Magical mode only)
- Cloak of Shadows (Magical mode only)
- Cyclone
- Dark Pact
- Deterrence
- Die by the Sword (Physical mode only)
- Diffuse Magic (Magical mode only)
- Dispersion
- Divine Shield
- Ethereal Form (Physical mode only)
- Grounding Totem (Magical mode only)
- Guardian of the Forgotten Queen
- Ice Block
- Imprison
- Life Cocoon
- Nether Ward (Magical mode only)
- Netherwalk
- Paralysis
- Polymorph
- Riposte (Physical mode only)
- Shield of Vengeance
- Smoke Bomb
- Soul Barrier
- Spell Reflection (Magical mode only)
- Temporal Shield
- Thorns (Physical mode only)
- Tombstone
- Touch of Karma
Prior to version 1.3.7 any auras added to the default list (e.g. Dispersion in v1.1.3) would not be enabled for players updating to (or beyond) that DontCast version. This was changed in v1.3.7 (e.g. all players will now have Aspect of the Turtle enabled by default) but this required changing how auras are removed/disabled. As a result any players that prior to v1.3.7 disabled an aura (via /dontcast remove
) that is on the default list will have that aura re-enabled. Auras disabled in v1.3.7 (or higher) will not be affected by future changes to the default list.
Commands
/dontcast add NAME
- adds the named buff or debuff to the base list of auras (those that will show in either magical or physical mode)/dontcast addm NAME
- adds the named buff or debuff for magical mode only/dontcast addp NAME
- adds the named buff or debuff for physical mode only/dontcast remove NAME
- removes the named buff or debuff/dontcast threshold #.##
- set the threshold for changing color of countdown text/dontcast show threshold
- display the threshold color of countdown text changes/dontcast list
- display what will trigger the warning/dontcast default
- reverts to the default triggers/dontcast show
- Shows the addon and allows repositioning and resizing/dontcast hide
- Hides (and locks) the addon/dontcast center
- Sets the position to center of screen/dontcast config
- Opens the options UI/dontcast ?
or/dontcast help
- Prints the command list
TODOs
- customizable text colors
- integrate adding/removing auras via options UI
- set expiring soon threshold to a provided spell's cast-time
- add support for immunity effects not shown as aura on target player (e.g. Counterstrike Totem, Mass Spell Reflection)
Any chance a Wrath classic version of this will be available? I've come to love it on retail and would love to have it for wrath pvp too.
In reply to maswell7:
Glad to hear you're enjoying the addon in retail but unfortunately it's unlikely to have wrath support added since I only play retail and not wrath (or any other form/flavor of classic). Sorry, I know it's not what you were hoping to hear but it's hard to commit the time (both for the initial work necessary and any potential ongoing support of bugs found etc) for a game (or version of a game) I don't play.
I'd suggest checking out one of the more widely used addons like TellMeWhen or WeakAuras which are more likely to support classic variants since those are maintained by a team of people instead of just one person/player (neither of those addons will do what this does right out of the box, but both should be able to be configured easily enough to do something similar for the desired buffs/debuffs).
In reply to exuperjun:
A little disappointing to hear but thank you for the detailed response! I'll look into those other addons. There will be fewer things to track in wrath than in retail I think anyway.
Ahh that did the trick! Thank you for your help.
In reply to Calvinize:
Doesn't work for me. I'm hitting OK and the position always resets.
Edit: I deleted all my settings and the addon and reinstalled and the problem seems to have gone away so I'm considering this resolved.
Hi, I'm reporting another bug I found. This time, the position of the text is reset back to (0, 0) after I log off.
So what I did was I modified the position from layout-local.txt, logged into the game and pressed the Unlock button to verify the position. Then I pressed Escape to close the window and log out from the game. After logging off, I checked layout-local.txt and it's reset to (0, 0). I logged in again to verify this and sure enough, the position is back to the center of the screen.
In reply to Calvinize:
If you are opening the configuration GUI to alter any settings (including position) you need to hit "Okay" to save those changes. If you select "Cancel" or dismiss the window by hitting Escape those changes (intentionally) will not be saved.
Also, before copying the profile from another character make sure to first log into the character you want to copy FROM and move the location (even slightly), this can be done either via the config GUI or by typing `/dontcast show`
Hello, firstly, thank you for making this addon. I'm currently using this and wanted to make the position and settings of the text the same for all my characters, but apparently the copy configuration from another character option is not working? Everytime I select another character from the dropdown box, everything is reset. Can I modify the position and settings from the .lua file instead?
In reply to Calvinize:
Oh nevermind I found out that I could input the position in layout-local.txt
In reply to Calvinize:
Sorry the config copy isn't working properly. Glad you were able to find a workaround but I'll look into correcting the addon's behavior this weekend.
In reply to exuperjun:
Thanks! Looking forward to the update :)
In reply to Calvinize:
Just uploaded a new version (v1.4.14) that will include position when copying an existing config (please note before copying a config FROM another character you must first log into that character for the position info to be saved and available on other characters).
In reply to exuperjun:
Awesome! Updating it now. Thank you for the quick update :D
Hello, thank you for the addon. Do you think it'd be possible to add masque support for this addon in the future? I love your addon but it looks out of place with my ui. :)
In reply to Dalfang:
Glad you enjoy the addon and thanks for the suggestion. I wasn't familiar with Masque but taking a look at their API documentation and code it looks like it only supports (re)skinning of buttons, not icons (I realize that visually the two have similarities but at the code level they are very different types of objects) and in DontCast the spell is displayed using the latter.
It may be feasible to change the spell icon to be a (non-functional) button, but this would be additional pre-requisite work on top of the changes necessary to support Masque. Not making any promises but it's something I can look into possibly including with any changes that will be necessary once the SL pre-patch drops.
hi,thanks for keeping updated:
Simplified Chinese character environment cannot be displayed normally
textFrame:SetText ------- Belongs to Unicode
cdTextFrame:SetText ------ Belongs to Unicode
Chinese characters need UTF-8
Please consider improving,or do a multi-language localization,thank you
My temporary solution:
local FONTS = {
zhCN = "Fonts\\ARKai_T.ttf",
Arial = "Fonts\\ARIALN.TTF",
FritzQuad = "Fonts\\FRIZQT__.TTF",
Morpheus = "Fonts\\MORPHEUS.ttf",
Skurri = "Fonts\\skurri.ttf"
local function showAndUnlockFrame()
textFrame:SetFont('Fonts\\ARKai_T.ttf', 21)
textFrame:SetText("点击这里移动") -- textFrame:SetText("Click here to move")
cdTextFrame:SetFont('Fonts\\ARKai_T.ttf', 21) -- Custom add from yasen
cdTextFrame:SetText("")
iconFrame:SetTexture("Interface\\ICONS\\INV_Misc_QuestionMark")
resizeButton:Show()
mainFrame:Show()
mainFrame:EnableMouse(true)
In reply to yasen:
In reply to yasen:
In reply to exupery:
Hi and thanks for keeping this addon updated! :)
Another spell for the default list should be Mistweaver's Life Cocoon: https://www.wowhead.com/spell=116849/life-cocoon