Macro/Addon for wand-spam

Macro/Addon for wand-spam

by Nonick » Wed May 27, 2015 11:48 am

I've been trying to macro my wand-attack so that when I spam the button I attack with my wand, but multiple presses does not make it stop attacking like the standard wand-button does. (Toggles on/off).

I'm thinking of a macro like how /cast !Mind Flay or /cast !Stealth functions, so that it doesn't toggle it off. It doesn't seem to work with wand though?

Or if there's an addon needed to do this available?

Need this for when you're coming out of a stun or a player is running around you in circles so you aren't toggling wand off when pressing it multiple times when you want to start wanding.
Nonick
Tester
 

Re: Macro/Addon for wand-spam

by DEDRICK » Wed May 27, 2015 3:59 pm

/script if not IsCurrentAction(61) then UseAction(61) end;

Put your Shoot Spell in the Bottom Left, slot 1 (Not to be confused with your main Bar 1), if you have all your bars on this is the Slot above Keybind 1. If you want it in a different spot you will have to figure out which slot number is which.

Action Bar Slots:
1 - 12 : Action Bar 1
13 - 24 : Action Bar 2
25 - 36 : Action Bar 3 (Right)
37 - 48 : Action Bar 4 (Right-2)
49 - 60 : Action Bar 5 (Bottom Right)
61 - 72 : Action Bar 6 (Bottom Left)
73 - 84 : Battle Stance (Warrior) or Stealth (Rogue)
85 - 96 : Defensive Stance (Warrior)
97 - 108 : Berserker Stance (Warrior)

Put this macro in place of where your Shoot spell was, this is the key you will use to shoot.

What the macro does is looks at the spell in slot 61, checks if it's active, if not active then use, else do nothing. This is how you can setup auto attack on melee classes as well but for them it is more like....

/script if not IsCurrentAction(61) then UseAction(61) end;
/cast Heroic Strike
Cachecow - Tauren Warrior
DEDRICK
Sergeant
Sergeant
 

Re: Macro/Addon for wand-spam

by Nonick » Thu May 28, 2015 5:46 am

Cheers for the response. Sadly doesn't seem to be working with wand (Shoot). It still toggles it on/off.

(I've tested the macro by replacing the bottomleft slot1 button where I got wand with shadow form and with shadow form it functions as it should do. But not with the Shoot ability)
Nonick
Tester
 

Re: Macro/Addon for wand-spam

by Ghecko » Thu May 28, 2015 1:19 pm

dosent wand attack have a 2 sec global cd? dont think it will work like u want it to:P
Ghecko
Private
Private
 

Re: Macro/Addon for wand-spam

by Wayleran » Wed Aug 05, 2015 6:33 pm

This works as a "spammable" wand macro...

Code: Select all
/script if not IsAutoRepeatAction(37) then CastSpellByName("Shoot") end


...(37) of course being the button that you place the macro on. Mine is on the 4th bar, 1st button.
User avatar
Wayleran
Private
Private
 

Re: Macro/Addon for wand-spam

by Maddey » Thu Aug 06, 2015 1:13 pm

Wayleran wrote:This works as a "spammable" wand macro...

Code: Select all
/script if not IsAutoRepeatAction(37) then CastSpellByName("Shoot") end


...(37) of course being the button that you place the macro on. Mine is on the 4th bar, 1st button.

Would this work with hunters auto shoot, something like this:
/script if not IsAutoRepeatAction(37) then CastSpellByName("Auto shot") end
Maddey
Private
Private
 

Re: Macro/Addon for wand-spam

by Maddey » Thu Aug 06, 2015 1:14 pm

It does, thanks Wayleran!
Maddey
Private
Private
 

Re: Macro/Addon for wand-spam

by Wayleran » Sun Aug 09, 2015 9:08 pm

Maddey wrote:It does, thanks Wayleran!


Try this for a hunter dude.
Code: Select all
/run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(1) then CastSpellByName("Auto Shot") end


It will use Auto Shot and it'll be "spammable" AND if the target gets too close you can press it again to switch the melee. I rebind it to "T" so it's a better version of the default "Attack Target" macro.

Check out my other macros at:
http://forum.nostalrius.org/viewtopic.php?f=63&t=16693

And my personal Vanilla AddOn I wrote, AutoMate:
https://forum.nostalrius.org/viewtopic.php?f=63&t=16597
User avatar
Wayleran
Private
Private
 


Return to Addons & macros