-
Alt modifier help
I am trying to cast Holy fire only when I use hold the atl +1 Keys and if I press 1 on my main it won't cast it.
Can anyone help redesign it that it will only cast if I use the alt key thank you
this is the macro
/focus
/assist target
/cast [modifier:alt] [exists,harm,nodead] Holy Fire
-
First off if you start off with /focus your going to change your focus to be your priest's current target. Also each seperate set of brackets before a spell is a different condition in which to activate the spell, thus combining your 2 conditionals is the way to go. Each conitional within a [ ] acts as "and" meaning all conditions have to be met. Also you don't need [exists] if you have [harm] as both [help] and [harm] implies something [exists]. You can also shorten /assist to be just /a and [mod] works just as well as [modifier] with less room taken.
So end result as written a lot shorter here will only cast if your focus's target exists, is harmful and not dead while your pressing alt.
/a focus
/cast [mod:alt,harm,nodead] Holy Fire
-
-
or just in one line...
Tries to attack the focus' target(if any) but otherwise it will just fire at your existing target:
/cast [target=focustarget,exists,mod:alt,harm,nodead] [exists,mod:alt,harm,nodead] Holy Fire