Hi there,
I am working on a macro that would to the following:
when I press it, it will cast Flash of Light on a mouseover target, if there isn’t one, it will call it on me
I want to introduce a modifier to this macro that would do the same with Holy Light when I press shift
Where and how do I write the [mod:shift] and Holy Light part?
#showtooltip
/cast [@mouseover, exists] Holy Light; [] Holy Light
#showtooltip
/cast [mod:shift,@mouseover,help,nodead] [mod:shift] Holy Light; [@mouseover,help,nodead] [] Flash of Light
Keep in mind that keybinds take priority over macro modifiers and by default shift 1-6 are bound to action page 1-6. You’ll need to unbind them to use them as modifiers on those keys.
Thanks! It works wonders.
What should I change to make it work on enemy targets for example let’s say that I want to hurl my Hammer of Wrath by default but cast Repentance on shift?
Change all the instances of help
to harm
Thanks! Last question. I press the button it casts Hammer of Justice on my target, when I press shift, it casts on mouseover, when I press ctrl it casts on my focus. Is this possible?
#showtooltip
/cast [mod:ctrl,@focus] [mod:shift,@mouseover] [] SPELL
You can add existence checks to the above but you technically don’t need them because you’re using the modifier pick the unit.
More templates if ya need em:
General Macro Templates
Dragonriding Mount Macro
#showtooltip
/run if IsUsableSpell(368896) then C_MountJournal.SummonByID(1589) end
/cast [flyable] FLYING_MOUNT; GROUND_MOUNT
/dismount [mounted]
Replace 1589 with the ID of the mount you want to summon:
1589: Renewed Proto-Drake
1590: Windborne Velocidrake
1591: Cliffside Wylderdrake
1563: Highland Drake
Known Macro
With the addition of the known condition you can now filter macro logic by spell name or spell id.
#showtooltip
/cast [know…
9.2.5 Blizzard has broken reticle spell macros that are bound to any key combination that includes you Interface > Combat > Self Cast Key modifier. In order to continue to use macros that leverage modifers to cast different spells you’ll need...
Reading time: 18 mins 🕑
Likes: 16 ❤
Thanks again, you’ve helped a lot!
system
(system)
closed
October 27, 2022, 6:51am
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.