
Originally Posted by
'Ualaa',index.php?page=Thread&postID=148466#post14 8466
When you do conditionals in a macro, it tries the each in sequence until it finds one that is valid.
For example...
/cast [help] Renew; [help, target=targettarget] Renew; [target=player] Renew
If your target is friendly, it will cast renew on them.
If that does not work, then it will try to cast renew on the target of your target, provided that is also friendly.
If both factors are false, then it will target yourself with a renew.
[target=player] targets the macro at your character.
For a targetable spell, you could include this..
/cast [target=player] Power Word: Fortitude
For a spell which cannot be cast on others, such as inner fire, you wouldn't need to include target=player, since that's the only option.
Obviously you don't have priest spells, but this is easily adapted to whatever.
A last one...
/castsequence [target=player] Inner Fire, Power Word: Fortitude, Divine Spirit
The inner fire doesn't need target=player, but the other two do, and if its part of the sequence then it is redundant for one spell, but required for the other two.
Connect With Us