Go to Page... |
Compatibility: | Shadows of Argus (7.3.0) |
Updated: | 08-29-17 04:34 AM |
Created: | 08-11-13 03:13 PM |
Downloads: | 4,460 |
Favorites: | 32 |
MD5: |
This small addon allows you to set up macros to cast a spell or toggle the spell it casts.
What this addon does
There are sometimes spells we macro for situations that don't have a [condition]. For instance, warriors fighting one mob will use Heroic Strike, or fighting ten mobs will use Cleave instead. Battle Shout if no Death Knight in the group, Commanding Shout otherwise. Monks might use Tiger Palm if in melee range, or Crackling Jade Lightning at a distance. Warlocks might use Curse of Elements in PVE, or Curse of Exhaustion in PVP. etc
Modifier keys like Alt+ Ctrl+ and Shift+ are useful for doubling up more than one spell onto a macro. But it can get mildly tedious hitting those extra keys to cast alternate spells for long stretches. It's even more tedious to muck around with action bars when a DK joins the group or you queue for a BG.
This addon allows you to double up spells onto macros without requiring a modifier to cast the alternate spell every time. You set up a toggle (either a separate macro or the same macro) to alternate which spell the macro will cast.
How to use
You can bring up the UI by entering /spelltoggle or /st into chat.
Hopefully the UI is self explanatory, but for each toggle you need to give it a name and the spell(s) it's going to toggle.
Once saved, you can now use the /click commands in place of /cast to cast or toggle the spell. You can copy-paste them from the bottom of the UI to your macro if you want.
For instance, if you've been using this macro:
/cast [mod:alt] Commanding Shout; Battle ShoutIt casts Commanding Shout if Alt is held, and Battle Shout otherwise.
/click Shout:CastTo toggle to the other shout:
/click Shout:ToggleJust about anything you can do with /cast you can do with /click. Some examples:
/click [mod:alt] Shout:Toggle; Shout:CastTo always do a shout even while toggling:
/click [mod:alt] Shout:ToggleTo cast the current shout, unless the macro is right-clicked, then toggle:
/click Shout:Cast
/click [btn:2] Shout:Toggle; Shout:CastA toggle with one spell
#showtooltip Colossus Smashwhich is fine for trash or soloing, but you probably want greater control when Bloodbath is used for raid bosses. You can set up a toggle with only one spell and use this addon to toggle the spell on or off:
/cast Bloodbath
/cast Colossus Smash
#showtooltip Colossus SmashNow when you're out soloing you can have Bloodbath cast alongside Colossus Smash. When you join a raid you can toggle Bloodbath off to use the cooldown separately for more control.
/click [mod] Bloodbath:Toggle; Bloodbath:Cast
/cast Colossus Smash
#showtooltip Colossus Smashand remember you can have separate macros to cast and toggle to make things simpler:
/click [mod] BerserkerRage:Toggle; BerserkerRage:Cast
/click [mod] Recklessness:Toggle; Recklessness:Cast
/click [mod] Bloodbath:Toggle; Bloodbath:Cast
/click [mod] SkullBanner:Toggle; SkullBanner:Cast
/cast Colossus Smash
#showtooltip Colossus SmashToggle whether all those cooldowns will attempt to fire when you use the above macro:
/click BerserkerRage:Cast
/click Recklessness:Cast
/click Bloodbath:Cast
/click SkullBanner:Cast
/cast Colossus Smash
/click BerserkerRage:ToggleToggling more than two spells
/click Recklessness:Toggle
/click Bloodbath:Toggle
/click SkullBanner:Toggle
Comment Options |
Gello |
View Public Profile |
Send a private message to Gello |
Find More Posts by Gello |
Add Gello to Your Buddy List |
01-09-23, 07:18 AM | |
|
Wrath Classic
Just a note that I'm still using this, it's not dead.
It works as is on Wrath Classic Live (3.4.0) at time of posting. It only needs a minor dust off for 3.4.1 (currently on PTR) and it will continue working on that client as well. The fix needed is simply updating the .text parentkey to .Text (lowercase t to uppercase T) I did it in a conditional so it keeps working in 3.4.0 until 3.4.1 goes live. (if <widget>.Text then <widget>.Text:<blah> else <widget>.text:<blah>) Select (the addon) needed similar changes (in more places) for the .text / .Text parentkey change as well a smarter detection of client version (3.4.1 folds a bunch of API into C_Container like the 10.x client)
Last edited by Dridzt : 01-09-23 at 07:40 AM.
|
|
Dridzt |
View Public Profile |
Send a private message to Dridzt |
Find More Posts by Dridzt |
Add Dridzt to Your Buddy List |
06-27-16, 08:09 AM | ||
|
Then the toggles should happen quietly. |
|
|
Gello |
View Public Profile |
Send a private message to Gello |
Find More Posts by Gello |
Add Gello to Your Buddy List |
06-26-16, 03:53 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
Hey this is just what I was looking for. Is there anyway though you can add an option to disable the chat toggle log? I'm currently toggling like 6 spells at once (shifting from damage spells to healing spells as a shaman) and it gets a little noisy in chat.
Keep it up, love it so far! |
|
Sorcelator |
View Public Profile |
Send a private message to Sorcelator |
Find More Posts by Sorcelator |
Add Sorcelator to Your Buddy List |
06-04-15, 04:36 PM | |||
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
|
||
|
infernalaura |
View Public Profile |
Send a private message to infernalaura |
Find More Posts by infernalaura |
Add infernalaura to Your Buddy List |
06-04-15, 04:33 PM | ||
|
Uploading new one in moments. |
|
|
Gello |
View Public Profile |
Send a private message to Gello |
Find More Posts by Gello |
Add Gello to Your Buddy List |
06-04-15, 04:08 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
Is there any change I need to make for the latest patch work cause it seem like I still have that ? Icon for my Maul Toggle.
Edit : Actually nevermind you made an error in the upload. You uploaded Select 1.0.6 instead of SpellToggle.
Last edited by infernalaura : 06-04-15 at 04:27 PM.
|
|
infernalaura |
View Public Profile |
Send a private message to infernalaura |
Find More Posts by infernalaura |
Add infernalaura to Your Buddy List |
06-03-15, 05:59 PM | ||
|
edit: I've isolated the problem to being if a SetMacroSpell is ever cleared (set to "" or a spell you don't know), then the client will cease to respect the spell set to the macro even after further SetMacroSpells set it to a proper value. So the problem will occur for spell toggles of only one spell, and for spells that you cease to know (changing spec and then toggling to a spell you don't know). The temporary fix going up tonight will replace the red ? icon for the "Armor Skills" icon. I'll post a bug report on the official bug forum and pray it's fixed.
Last edited by Gello : 06-03-15 at 09:13 PM.
|
|
|
Gello |
View Public Profile |
Send a private message to Gello |
Find More Posts by Gello |
Add Gello to Your Buddy List |
06-03-15, 04:31 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
Hmmm it's the only thing I use this as a toggle for many many other macro that I don't bother too much about the icon.
I have a Macro that goes /cast Mangle /click Maul:Cast for Lacerate, Thrash etc... The idea is when I know I will have alot of rage I right click the Toggle and then spam my other button to use Maul every 3 sec when I am starving then I right click it again so it stop. The "problem" is before WoD I would right click it would show Maul icon telling me it's on ... and when It wasn't on it was the ? icon and it was reliable but now I can't really check this I have to remember if I pressed it or not. If I forgot then I have to tap it a few time for the addon to tell me in chat if it's on or not. In all honesty this is a silly example the real purpose of the macro is an On/Off Switch I have a Dominos bar next to my TMW Icon that is lock and big enough with only this macro on. I am using Clique to make a custom macro when I press Shift+F that does the /click Maul:Toggle. It's mainly a display for me to know when it's on or off so I don't try and spam my active mitigation again Maul really.
Last edited by infernalaura : 06-03-15 at 05:49 PM.
|
|
infernalaura |
View Public Profile |
Send a private message to infernalaura |
Find More Posts by infernalaura |
Add infernalaura to Your Buddy List |
06-03-15, 03:15 PM | ||
|
edit: I'm able to reproduce this and I know the cause. When you incarnate the client is updating all actionbar buttons and it's trying to be helpful and updating the maul macro but it's not respecting the spell set onto the macro. Can you post the rest of the macro? Or does the macro have only those two lines? I ask because I think the best fix is to choose another spell to be the macro's icon, probably something else in the macro. I'm assuming this is something you toggle on when out soloing, and it's tied with other spells? If you use #showtooltip and there's a /cast in the macro, then this addon ceases to touch the icon and the client will take control. I can do a refresh of macro icons when buffs change but imho the cure would be worse than the symptom. Its processing time to handle this issue would eclipse all other functions of the addon by several orders of magnitude.
Last edited by Gello : 06-03-15 at 04:08 PM.
|
|
|
Gello |
View Public Profile |
Send a private message to Gello |
Find More Posts by Gello |
Add Gello to Your Buddy List |
06-03-15, 03:11 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
Well sorry for the delay I was trying without some addon that modify my action bar and what not.
Code:
/click [button:2] Maul:Toggle /click Maul:Cast and the Spell Toggle is the First Spell being Empty and the Second spell being Maul. |
|
infernalaura |
View Public Profile |
Send a private message to infernalaura |
Find More Posts by infernalaura |
Add infernalaura to Your Buddy List |
06-03-15, 02:57 PM | ||
|
edit: I thought this was the thread for Select woops. I'm still not sure exactly what's involved. Is something toggling with Maul or is it just a toggle with Maul only (to turn off and on)? If you have #showtooltip and another /cast in your macro then Spell Toggle should not touch the macro icon.
Last edited by Gello : 06-03-15 at 03:02 PM.
|
|
|
Gello |
View Public Profile |
Send a private message to Gello |
Find More Posts by Gello |
Add Gello to Your Buddy List |
06-01-15, 07:58 PM | ||
|
|
|
|
Gello |
View Public Profile |
Send a private message to Gello |
Find More Posts by Gello |
Add Gello to Your Buddy List |
06-01-15, 05:32 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
I was wondering if you were still working on this addon and if you do if there is a way to resolve the icon Texture of Macro after shapeshift.
I am using this addon alot on my druid for Bear form on a toggle for Maul. The problem is after Shapeshifting or using Incarnation the icon lose it's texture and become the default interogation mark. It's a little bit of an issue cause I have a button on my bar that when I have maul on should display the maul icon and when it's off it should be the interogation mark. |
|
infernalaura |
View Public Profile |
Send a private message to infernalaura |
Find More Posts by infernalaura |
Add infernalaura to Your Buddy List |
03-05-15, 03:19 PM | ||
|
If/when Blizzard ever gives us SetMacroIcon then I'll look into it. |
|
|
Gello |
View Public Profile |
Send a private message to Gello |
Find More Posts by Gello |
Add Gello to Your Buddy List |