in your browser.
Macro - cast on mouseover if nothing targeted
Return to board index
hi there ><
I am looking to create a macro that will -
cast a spell on mouseover if nothing/one is targeted
if a target exists to cast it on the target, not the mouseover!
How to do that?
I know that
will cast on target if mouseover doesn't exist - but I want the reverse of that.
/cast SpellThis will work. By listing the mouseover second, the other condition will be checked first.
You don't need to do
is already assumed as the default; the follow three are the exact same./cast Fireball
This is what I use for one of my healing macros.
If mouseover - heal mouseover
if target, WITH mouseover - heal mouseover.
If target, no mouseover - heal target
if no target no mouseover - heal self/player
you may be able to butcher it to your needs.
I know that #showtooltip
/cast implies , so that can be omitted :) See
A few minor points to add...
is an offensive spell.
will avoid issues where you've moused over something friendly. If "Auto Self Cast" is disabled, instead of falling back to the
behavior for a defensive-spell macro...
...under "Auto Self Cast", it will first examine your
to determine if it is a valid target -- if it is, then it will cast on
; if not, it will try to cast it on
. That setting can save some macro space as, without it, the equivalent macro would be...
To the actual OP ... as they said, yea, priority is just a matter of which conditional is listed first. It only gets complicated if you have a dual-purpose macro like this...
/cast Spellsteal; Remove Curse; Spellsteal; Remove Curse; Remove Curse
Before someone says, "Silly pelf,
," there was a bug with that for a long time where it didn't. Not sure if it's fixed now.
You are not logged in. Please
to post a reply or
if you don't already have an account.
Other ZAM Sites
Final Fantasy XI
© 2018 ZAM Network LLC