Power Word: Shield with a twist
ok so my actionbar's are macro'd like crazy. But there is still one important (to me) macro i cant figure out. here's what i want it to do.
I would press the macro, it would cast Power word shield on myself, but when i press it again it casts on my target. if i have no target or if my target has Weakened Soul, or if my target is an enemy i want the glowing hand to pop up so i can select a target. i think it would look someting like this Code:
#showtooltip |
Hi Logan,
Unfortunately you can’t have different targets for different spells in a cast sequence. The closest you could get to that would be to have the macro cast Power Word: Shield on yourself when you right-clicked it, or held a modifier key like Shift or Alt. /cast [mod:alt, @player] [btn:2, @player] [] Power Word: Shield The empty brackets [] are important because they tell WoW to cast the spell “normally” if neither of the first two conditions are met. |
the only problem is im not going to be pressing it with my mouse its on an actionbar slot that is keybound. i think i made it sound over complicated.
how about it casts on me then just casts normally? so maybe a sequence that first it casts on me and second it trys on whatever im targeting / glowing hand if nothings targeted |
maybe even if its possible. just to try to cast it on me, if not target/glowinghand
|
There’s no way for a macro to do what you’re describing. You can’t cast a different spell each time you press the button without using a cast sequence, and you can’t switch targets in the middle of a cast sequence. Macros also can’t tell whether you have a spell on the cursor, or pick a target for the glowing hand. Blizzard wrote the macro system on purpose so that it’s not possible to have a macro (or addon) that makes decisions like that on the fly. Even though what you’re describing is probably something Blizzard would be okay with, there’s just no way for them to make it possible without also making it possible for macros to do lots of other things that Blizzard isn’t okay with.
With the macro I posted before, you can also self-cast by holding down the Alt key while pressing the key binding for the button it’s on. You can change the Alt to Shift or Ctrl if you like, and remove the btn:2 part if you know you’ll never click it. |
Quote:
/cast [help] [@player] Power Word: Shield That would cast it on you unless you had a friendly target. |
i tried it but it wasn't quite working right. but what seems to be working ok is
Code:
/cast [help]Power Word: Shield |
Quote:
Code:
/cast [help][@player]Power Word: Shield Code:
/cast [@mouseover,help][@mouseovertarget,help][help][@targettarget,help][@player,mod][]Power World: Shield
|
All times are GMT -6. The time now is 07:39 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI