Hi all - Been trying to learn how to write these, I had a level 12 Mage and figured as I level I would add more and more to it to increase the complexity of it. I have been looking at existing and trying to figure it out. I’ll post what I have so far and if someone here has time, could they look at what I have (which currently works but I’m sure it’s not efficient)?
Currently, I’d like to…
Cast Blazing Barrier
Cast Rune of Power
Cast Fire Blast
I have my first block as a “Repeat” that starts with:
~~KeyPress~~ /cast [nochanneling] Blazing Barrier ~~KeyRelease~~
I assume surrounding things with the ~ key define it as a variable which are setup at the bottom as
KeyPress /targetenemy [noharm]
KeyRelease /cast [combat, nochanneling] Combustion
So the “Flow” would be I would press the hotkey and it would 1)Target enemy(Keypress), 2) cast Blazing Barrier (the cast line), then 3) Normally cast Combustion, but I don’t have it yet, so it does nothing…
Then I assume it moves to the next block which is a “loop” and set as a step function that repeats 2x
I guess the loop tries to repeat all the blocks that are nested here 2x?
Currently, it has 3 action blocks in the loop that have:
~~KeyPress~~ /cast [nochanneling] Rune of Power ~~KeyRelease~~
~~KeyPress~~ /cast [nochanneling] Fire Blast ~~KeyRelease~~
~~KeyPress~~ /cast [nochanneling] Fireball ~~KeyRelease~~
This macro contains 1 macro template. This Sequence was exported from GSE 3.1.29.
I understand this is a lot of information, but would love a little help if possible understanding the why’s of it… Like do I really need to put the variables in each block? That seems like it’s going to try to do that ALL THE TIME, I assume that would be good for something that was maybe a high-priority spell that we are Sure we want to cast, right? I’d appreciate it if someone with a little more knowledge could see I’m making a huge mistake somewhere and point it out, maybe some best practice-type things…
It was my intention to put my Pyroblast spell on a second key and manually cast it since I’m waiting on a proc, and I cant get the shift/alt modifier keys to work, I think its something to do with elvUI
If this is not allowed here, please let me know and I’ll be happy to take it down, I just wanted to learn it so I could help contribute more instead of just taking everyones macros.