Conditionals
darkwolf469 opened this issue · 1 comments
I'm not able to create a full set of conditionals. Is there a limit to how many can go on a line?
I've tried,
[@mouseOver,help,nodead][help,nodead][@player]
[@mouseOver,help,exists][help,exists][@target]
Both shorten to unusable code with errors. IE:
Sequences['Resto_OhShit'] = {
Author="KTN",
SpecID=264,
Talents = "?,?,?,?,?,?,?",
Help = "Talents - 3 2 1 3 3 2 3",
Default=1,
Icon='Spell_Nature_MagicImmunity',
MacroVersions = {
[1] = {
StepFunction = [[Sequential]],
KeyPress={
"/targetenemy [noharm][dead]",
},
PreMacro={
},
"/castsequence reset=target [@mouseOver, help,nodead][help,nodead][@player] Riptide, Healing Surge, Healing Surge",
"/cast [combat] Cloudburst Tote",
"/cast [combat] Gift of the Queen",
"/cast [mod:alt] Healing Rain",
PostMacro={
},
KeyRelease={
"/cast Healing Tide Totem",
},
},
},
}
will become:
Sequences['Resto_OhShit'] = {
Author="KTN",
SpecID=264,
Talents = "?,?,?,?,?,?,?",
Help = "Talents - 3 2 1 3 3 2 3",
Default=1,
Icon='Spell_Nature_MagicImmunity',
MacroVersions = {
[1] = {
StepFunction = [[Sequential]],
KeyPress={
"/targetenemy [noharm][dead]",
},
PreMacro={
},
"/castsequence reset=target [@mouseOver, help, [help, [@player] Riptide, Healing Surge, Healing Surge",
"/cast [combat] Cloudburst Tote",
"/cast [combat] Gift of the Queen",
"/cast [mod:alt] Healing Rain",
PostMacro={
},
KeyRelease={
"/cast Healing Tide Totem",
},
},
},
}