This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Serpent/Viper Sting Macro
Post Reply
Return to board index
Post by
Llort
Hey all, I'm looking for some help with a Serpent/Viper Sting macro that will:
1) Cast Serpent Sting on my current target with no modifier held down, and no mouseover
2) Cast Viper Sting on my current target with a modifier held down, but no mouseover, and cast Viper Sting on my mousover target when the same modifier is held down
3) Cast Viper Sting on my focus target when another modifier is held down
So far, i have this:
#showtooltip
/cast Serpent Sting
/cast Viper Sting
But the last line doesnt seem to work: when i have a focus target, and use the ctrl modifier it wont cast Viper Sting on that current.
Any ideas?
Thanks
Post by
Wanderingfox
/cast Viper Sting; Serpent Sting
Is what you're looking for. Viper Sting on focus with control held, Viper Sting on mouseover if it exists and is not dead with shift held, Viper Sting on target if shift is held and no mouseover or mouseover is dead, Serpent Sting on target in all other cases.
Post by
Llort
Excellent, works perfectly. Thanks for such a quick reply.
Post by
Wanderingfox
Probably worth noting that you may wish to put a harm conditional on the focus and mouseover checks to avoid casts on friendly targets. I didn't include it in my original macro suggestion as I didn't want to change the functionality (although I did that anyway with nodead instead of exists, but I did that because you don't ever really need to use exists :3).
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.