I like proper syntax. There is a macro Jesus in here that has helped me properly syntax macros before. So I am back, praying on the forums he will appear.
#showtooltip Blood Tap
/startattack
/cast [combat,harm] Blood Tap; Unbreakable Armor; Blood Fury
/use [combat,harm] 13; [combat,harm] 9; [combat,harm,group:raid] Potion of Speed
/cast [combat,harm] Obliterate
I think the macro itself is pretty self explanatory: cast BT/UA/BF, use trinket/gloves and potion *only if in a raid and then cast Obliterate.
The only GCD listed is Obliterate so this should all work. I’d like it to do all that with as few button presses as possible.
I know I can just put all of these on separate lines. But I don’t like the look of it, or the frantic spamming of it. I realize I can’t do all of this in one button press, that’s fine; I just want to make sure the macro will properly respond to my syntax. I would love for all these things to cast in order, but I know castsequence would stop as soon as it came to an ability that’s not available - so I’ll settle for the chance of things being cast in a slightly random order.
Ty in advance
Need to put each one on a separate line with its own cast/use.
Macro’s are evaluated top-down and each line is evaluated left-right. On a line the first spell, from the left, that the [options] (like [combat,harm]) allow will be cast and then wow stops evaluating the line and goes to the next one. This happens even if the spell is invalid (like it requires a target and you don’t have a target).
Also the [options] only apply to the spell to its immediate right and in this situation
/cast [combat,harm]SpellA; SpellB
the “combat,harm” conditions only applies to SpellA and not to Spell B. If the conditions are true, it casts Spell A and only Spell A, it does not cast Spell B. If either condition is false it casts Spell B.
In the macro you have provided, these abilities will not be cast.
- Blood Fury will never be cast
- Item 9 (in retail 9=wrist, 10=gloves see
https://wowpedia.fandom.com/wiki/InventorySlotId
can’t find if it was different in WOLTK) and Potion of Speed will never be used because it will do the trinket in 13 always
Consider this option:
#showtooltip
/startattack
/cast Blood Tap
/cast Blood Fury
/cast Unbreakable Armor
/use 13
/use 10
/use [group:raid] Potion of Speed
/cast Obliterate
1 Like
To make sure I understand correctly:
hypothetically if it were all on the same line separated by semicolons it would just execute whatever condition was met first and then reset the macro? (not that I want to do that, just making sure I understand)
And then also… just curious… @Tinkerrific
What’s the reasoning you have for removing the [combat,harm] in your suggestion? Just unnecessary;(?) or is there some situation you think it’d be a bad idea to slot them in?
Aright. Last edit:
Thanks you two =) I’d be in a maze without you. Had to read it again, and realized you answered me perfectly.