Results 1 to 6 of 6

Thread: Macro Help

Hybrid View

  1. #1
    Player
    Bixby's Avatar
    Join Date
    Mar 2011
    Posts
    1,534
    Character
    Ampersand Kai
    World
    Gilgamesh
    Main Class
    Pugilist Lv 50
    If a macro line refers a non-existent target (e.g., <mo> when you don't have a mouseover, <t> when you don't have a target), that line is skipped.

    If a macro line refers to an existing target, the behavior is exactly the same as if you were casting the spell without a macro on that target. And behavior for cure spells is to cast on yourself when you have a hostile target.

    That means when you come to the <tt> line in the first macro, and have a player targeted, the macro tries to cure that player's target. If they have nothing targeted, the line is skipped. If they have a hostile target, it behaves as if you had that hostile targeted and were simply casting the spell, which means you cure yourself. Same thing with the <mo> and <t> lines if you mouse over or target a hostile, respectively, yourself.

    There's currently no way to get these to fall through correctly and work the way you want. You're better off picking one type of targeting (<mo>, <t>, <tt>) and making sure you're targeting what you mean to target with them.

    Edit: And yes, <t>/<tt> works for offensive spells, because the default behavior with an invalid target for those is to do nothing, so those macros can fall through successfully.
    (1)
    Last edited by Bixby; 11-15-2013 at 06:08 AM.

  2. #2
    Player
    Nichigo's Avatar
    Join Date
    Sep 2013
    Posts
    210
    Character
    Hououin Kyouma
    World
    Exodus
    Main Class
    Thaumaturge Lv 50
    Quote Originally Posted by Bixby View Post
    If a macro line refers to an existing target, the behavior is exactly the same as if you were casting the spell without a macro on that target. And behavior for cure spells is to cast on yourself when you have a hostile target.

    That means when you come to the <tt> line in the first macro, and have a player targeted, the macro tries to cure that player's target. If they have nothing targeted, the line is skipped. If they have a hostile target, it behaves as if you had that hostile targeted and were simply casting the spell, which means you cure yourself. Same thing with the <mo> and <t> lines if you mouse over or target a hostile, respectively, yourself.
    Wow this helped out alot! I didn't know that about the default curing when targetting something hostile. Now I have to figure out if it's worth even having the macro because I wouldn't want to have two macros for the same ability (depending on the target). That would defeat the purpose of macroing >.<
    (0)