Hello all,
I am looking to create different macros for my totem based on the groupe composition (healer/ dps spell / dps phys / tank…)
If I understand I have to use cast sequence macros but how it looks like?
Thanks in advance for your help
Hello all,
I am looking to create different macros for my totem based on the groupe composition (healer/ dps spell / dps phys / tank…)
If I understand I have to use cast sequence macros but how it looks like?
Thanks in advance for your help
Not entirely sure what you want here so I’ll start with restating what I THINK you want.
You want a deployment macro for your totems that is different for each of a set of predefined arena team compositions (yours and/or your opponent’s).
Assuming that is correct and also assuming that you have some sort of chart that tells you what deployment scheme you want for each composition (or composition combination) as well as a default then there is an answer to this, but it’s a bit atypical.
The model for this is what you’d do if you knew the arena team compositions beforehand.
Arbitrarily I’m going to use a total of three different composition combinations, but this method can be extended to far more than that (the limit being the number of available macro slots OR your willingness to offload some of this code to a small add-on).
So let’s assume that you have deployment macros A, B, and C (what they are right now is irrelevant - just assume you have them).
Use of those correspond to composition plans 1, 2, and 3.
When you see composition plan 1, you would immediately open your macro window and copy in the macro for deployment macro A.
For plans 2 and 3 you’d do the same for macro B and C.
I realize that this is impractical, but out of combat it is possible to automate that.
The basic code for this is as follows:
/run EditMacro("DeployTotems", nil, nil, GetMacroBody("TemplateN"))
/stopmacro [nocombat]
/print("Macro change failed due to active combat")
You’d need macro for each A, B, C (the unique totem deployment plan macros). I don’t know enough about those to write them, but I’m sure someone does.
You’d need an “Alter my standard deployment macro” macro (that looks like the one above) for each of the composition combinations you want to deal with.
It would probably be wise to have one that is “standard” so if you run across an unconventional or un-planned-for composition you can have a reliable fall-back as well.
I know this was a bit technical, but I’ve used similar systems before to good effect.
If it turns out that you have a LOT of these, more than you want to set aside macro slots for, the whole list of A, B, C type macros can be dumped into a table in an addon and then the “copy to the in-use deployment macro” part would just move that “edit macro” function to a command line option.
Sorry i should have been more specific
On TBC based on the PVE group I am in I would like to optimize it.
So If I am in the healer group I would like to clic on 1 button to successively have
Totem spell
Totem mana
Totem damage réduction
Totem fire
If it a melee dps
Windfury
Strength
Mana or health
Fire
Because I plan to heal I want something easy to use to concentrate on heal
TLDR make 2 cast sequence macros with each of the setups you want to be able to drop.