1. #3241
    Quote Originally Posted by gunhound45 View Post
    Hi, I need a macro that casts Ice Block when I press 2, and removes it when I press shift:2.

    Cheers
    Code:
    /cancelaura [mod:shift]Ice Block
    /use Ice Block

  2. #3242
    Hello.

    I need a macro that casts Mana Burn (no shift/alt/ctrl):
    1. On Focus Target
    2. On Enemy Target (If Focus Target doesn't exist)
    3. On ToT if Target is friendly.

    That's what i came up with. (Macro doesn't work if Target and ToT are hostile)
    Code:
    #showtooltip Mana Burn
    /equipset haste
    /cast [target=player] Power Infusion
    /use The Skull of Gul'dan
    /cast [target=focus,exists,harm]Mana Burn;
    /cast [target=targettarget,exists,harm]Mana Burn;Mana Burn
    Last edited by Scooby Dooby Doo; 2012-03-14 at 01:44 PM.

  3. #3243
    Stood in the Fire McSpriest's Avatar
    10+ Year Old Account
    Join Date
    Aug 2011
    Location
    In a Hole
    Posts
    459
    Quote Originally Posted by kombucha View Post
    It would seem neither of those solutions work :x
    i tested it myself and it worked...

    try using only the tabard names in the macro

    ---------- Post added 2012-03-14 at 09:33 AM ----------

    Quote Originally Posted by Moriat View Post
    Hello.

    I need a macro that casts Mana Burn (no shift/alt/ctrl):
    1. On Focus Target
    2. On Enemy Target (If Focus Target doesn't exist)
    3. On ToT if Target is friendly.

    That's what i came up with. (Macro doesn't work if Target and ToT are hostile)
    Code:
    #showtooltip Mana Burn
    /equipset haste
    /cast [target=player] Power Infusion
    /use The Skull of Gul'dan
    /cast [target=focus,exists,harm]Mana Burn;
    /cast [target=targettarget,exists,harm]Mana Burn;Mana Burn
    use:
    Code:
    #showtooltip Mana Burn
    /equipset haste
    /use [@player] Power Infusion
    /use The Skull of Gul'dan
    /use [@focus, harm] Mana Burn;[@target, harm] Mana Burn; [@targettarget,harm]Mana Burn
    3 things
    1. if you add another /cast its wasting code space
    2. it will always check conditionals left to right you had ToT before Target so it was checking ToT first and casting on that
    3. if you want to use a trinket in the lowest slot "/use 14" in the highest slot (first trinket) "/use 13" saves typing out the trinket or changing the macro every time you upgrade your trinket.

    EDIT: also I realized
    Code:
    #showtooltip Mana Burn
    /equipset haste
    /use [@player] Power Infusion
    /use The Skull of Gul'dan
    /use [@focus, harm][@target, harm][@targettarget,harm]Mana Burn
    should work too
    Last edited by McSpriest; 2012-03-14 at 02:54 PM.

  4. #3244
    Quote Originally Posted by McSpriest View Post
    use:
    Code:
    #showtooltip Mana Burn
    /equipset haste
    /use [@player] Power Infusion
    /use The Skull of Gul'dan
    /use [@focus, harm] Mana Burn;[@target, harm] Mana Burn; [@targettarget,harm]Mana Burn
    Thanks!

    How is this Macro reacting if the Target and the ToT are hostile ?
    Last edited by Scooby Dooby Doo; 2012-03-14 at 02:42 PM.

  5. #3245
    Deleted
    Quote Originally Posted by Moriat View Post
    Thanks!

    How is this Macro reacting if the Target and the ToT are hostile ?
    It should just go down the ladder and take the first [] that returns true; so if target and tot are hostile, it should cast on your target. If you need to save characters, you can leave out the [@target, ...] as well, leaving this one only [harm].

    ---------- Post added 2012-03-14 at 03:45 PM ----------

    Oh and basically also this:

    Quote Originally Posted by McSpriest View Post

    3 things
    1. if you add another /cast its wasting code space
    2. it will always check conditionals left to right you had ToT before Target so it was checking ToT first and casting on that
    3. if you want to use a trinket in the lowest slot "/use 14" in the highest slot (first trinket) "/use 13" saves typing out the trinket or changing the macro every time you upgrade your trinket.

  6. #3246
    Stood in the Fire McSpriest's Avatar
    10+ Year Old Account
    Join Date
    Aug 2011
    Location
    In a Hole
    Posts
    459
    I also have a macro question for those of you out there

    how does it identify bag spot vs. inventory spot

    like for example:
    /use 1 4
    uses the fourth item in my first bag (non-backpack) or equips it if its equitable

    versus
    /use 1
    which activates my helm if it has a use (like headless horseman's hat)

    and obviously
    /use 14 activates your second trinket

    is it that space in there that identifies if its bag or inventory?
    just curious that's all

  7. #3247
    Thanks for the Mana Burn macro. Works awesome.

    Also i'm looking for a Circle of Healing macro. (Apparently I can't cast Circle of Healing on myself if Target is hostile and out of range!?)
    Last edited by Scooby Dooby Doo; 2012-03-14 at 04:37 PM.

  8. #3248
    Deleted
    Quote Originally Posted by Moriat View Post
    Thanks for the Mana Burn macro. Works awesome.

    Also i'm looking for a Circle of Healing macro. (Can't cast Circle of Healing on myself if Target is hostile and out of range !)
    The macro can't determine range issues, you need to do that yourself. Do I understand correctly, if your target is hostile, you cast CoH on yourself, which is what you do not want?

  9. #3249
    No the problem is Coh's healing mechanic.

    If my target is hostile and in range, Coh heals me and my group <- works as intended
    If my target is hostile and out of range, Coh can't be used. <- my problem

    Ergo i can't (circle of) heal myself in pvp if my target is hostile and outofrange

    Basically i'm looking for a macro that:
    1. heals me if target is hostile
    2. heals target if target is friendly
    Last edited by Scooby Dooby Doo; 2012-03-14 at 04:59 PM.

  10. #3250
    Stood in the Fire McSpriest's Avatar
    10+ Year Old Account
    Join Date
    Aug 2011
    Location
    In a Hole
    Posts
    459
    Quote Originally Posted by Moriat View Post
    No the problem is Coh's healing mechanic.

    If my target is hostile and in range, Coh heals me and my group <- works as intended
    If my target is hostile and out of range, Coh can't be used. <- my problem

    Ergo i can't (circle of) heal myself in pvp if my target is hostile and outofrange

    Basically i'm looking for a macro that:
    1. heals me if target is hostile
    2. heals target if target is friendly
    it should work... it automatically has built in the check for harm vs help if your target is an enemy it should automatically cast on you.*

    now if you want more control on CoH use this macro:
    Code:
    #showtooltip
    /use [@mouseover,help][] Circle of healing
    it will allow you to use CoH at a mouseover target or if your mouse is not pointed at a friendly target (person or nameplate) then it will cast on your target or you (depending if you target is friendly or not)


    *you need to have auto-self cast enabled in the game options
    Last edited by McSpriest; 2012-03-14 at 05:12 PM.

  11. #3251
    Quote Originally Posted by McSpriest View Post
    it should work... it automatically has built in the check for harm vs help if your target is an enemy it should automatically cast on you.
    That's true for every healing spell besides CoH (and maybe Wild Growth) !

    Last edited by Scooby Dooby Doo; 2012-03-14 at 06:09 PM.

  12. #3252
    Deleted
    Quote Originally Posted by Moriat View Post
    That's true for every healing spell besides CoH (and maybe Wild Growth) !

    Have you tried

    Code:
    #showtooltip
    /cast [@mouseover,help][help][harm,@player][] Circle of Healing
    ?

    the @mouseover part is just in there for convenience if you like it. "[harm,@player]" should force it to cast on you if your target is hostile, no matter the range.

  13. #3253
    Stood in the Fire McSpriest's Avatar
    10+ Year Old Account
    Join Date
    Aug 2011
    Location
    In a Hole
    Posts
    459
    Quote Originally Posted by Moriat View Post
    That's true for every healing spell besides CoH (and maybe Wild Growth) !

    odd mine has always worked... maybe its due to an add-on effect

    for the record i'm an atonement disc/holy healer so i usually have an enemy as my target i've encountered no problems, but then again all my spells are macros with @mouseover commands so i'm rarely casting on my target or myself

  14. #3254
    Quote Originally Posted by Tearor View Post
    Have you tried

    Code:
    #showtooltip
    /cast [@mouseover,help][help][harm,@player][] Circle of Healing
    ?

    the @mouseover part is just in there for convenience if you like it. "[harm,@player]" should force it to cast on you if your target is hostile, no matter the range.
    Thanks for you're help!

    The macro works fine but If i remove the mouseover line, the macro stops working (Invalid Target/out of Range Message) http://imageshack.us/photo/my-images...412193230.jpg/
    Code:
    /cast [help][harm,@player][] Circle of Healing
    Last edited by Scooby Dooby Doo; 2012-03-14 at 11:52 PM.

  15. #3255
    High Overlord Wonderbred's Avatar
    10+ Year Old Account
    Join Date
    Sep 2011
    Location
    South Carolina
    Posts
    168
    Hi guys, tryin to help a guild member out with a macro but couldnt get it to work. I don't play a DK so sorry for not knowing the names, but he wants a macro to summon his demon thing and then sacrifice it for the heal(or something like that). Any help? Thanks

  16. #3256
    Stood in the Fire McSpriest's Avatar
    10+ Year Old Account
    Join Date
    Aug 2011
    Location
    In a Hole
    Posts
    459
    Quote Originally Posted by Wonderbred View Post
    Hi guys, tryin to help a guild member out with a macro but couldnt get it to work. I don't play a DK so sorry for not knowing the names, but he wants a macro to summon his demon thing and then sacrifice it for the heal(or something like that). Any help? Thanks


    I believe both those spells activate the GCD
    so

    Code:
    #showtooltip
    /castsequence reset=combat raise dead, Death Pact
    first tap summons his ghoul, second tap sacrifices it for HP

  17. #3257
    High Overlord Wonderbred's Avatar
    10+ Year Old Account
    Join Date
    Sep 2011
    Location
    South Carolina
    Posts
    168
    Awesome ty!

  18. #3258
    The macro works fine but If i remove the mouseover line, the macro stops working (Invalid Target/out of Range Message) http://imageshack.us/photo/my-images...412193230.jpg/
    Keep in mind that [] check will default to your target and then to YOU only if in interface options you have checked the auto-self cast option. Otherwise [] will only default to your target.
    So...either turn this option on or specify in your macro for the spell to default to you:

    #showtooltip
    /cast [@mouseover,help,nodead][help,nodead][@player] Circle of Healing

    Note that [] is not needed here as you've already covered its possible two options ie. cast on friendly target [help,nodead] or cast on self [@player] (or in your case since you don't have auto self cast checked, just cast on friendly target [help,nodead])
    Also, this spell casts only on a friendly player as it's a heal. As such, [harm] conditional on it will fail. It can't cast on a hostile target but you're telling it to.
    Last edited by Sedivy; 2012-03-15 at 10:28 PM.

  19. #3259
    Deleted
    Quote Originally Posted by Sedivy View Post

    Also, this spell casts only on a friendly player as it's a heal. As such, [harm] conditional on it will fail. It can't cast on a hostile target but you're telling it to.
    He's not telling the macro to cast CoH on a hostile target.
    [harm] only checks the current target. So yeah, [harm] alone is kind of pointless, but don't forget you can specify another target!
    The request was "if my target is hostile, I want the macro to cast CoH on me". That's why I suggested [harm,@player], that's what that does.

  20. #3260
    No, for spellcasts, you cannot check for the condition of the target you're currently targetting and then specify a different unit to cast the spell on. The conditions will all apply to the unit you specified in the condition.
    Saying [harm,@player] means if I am hostile, cast CoH on me. Since you can never be hostile to yourself, this condition fails.

    For help on these issues, it's always good to check against www.macroexplain.com which will tell you step by step what the condition does if you paste in the macro.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •