GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

PreMacro

Palonblade opened this issue ยท 5 comments

commented

I tried to setup a macro for my Shammy that casts Flame Shock every time I switch targets. I put /cast Flame Shock in the PreMacro section and checked Target and Combat making sure both were yellow check marks. Flame Shock does cast initially when I start combat but does not when I switch targets.

Sequences['ShammyEleST'] = {
Author="????",
SpecID=262,
Talents = "1112331",
Default=1,
Icon='INV_MISC_QUESTIONMARK',
MacroVersions = {
[1] = {
StepFunction = [[Sequential]],
KeyPress={
"/targetenemy [noharm][dead]",
},
PreMacro={
"/cast Flame Shock",
},
"/cast Stormkeeper",
"/cast Elemental Blast",
"/cast Lava Burst",
"/castsequence Lightning Bolt, Lightning Bolt",
"/castsequence Lightning Bolt, Lightning Bolt, Lightning Bolt",
"/cast Lava Burst",
"/castsequence Lightning Bolt, Lightning Bolt, Lightning Bolt, Earth Shock",
PostMacro={
},
KeyRelease={
"/cast Fire Elemental",
"/cast Lava Burst",
},
},
},
}

commented

I did some additional testing on my mage with Arcane Familiar. It does precast when entering combat but not while switching targets while in combat. The target reset may be working if out of combat but not while in combat which kind of defeats the purpose

commented

Just looking at your Macro -

StepFunction = [[Sequential]],
KeyPress={
"/targetenemy [noharm][dead]",
},
PreMacro={
"/cast Flame Shock",
},

This is missing the Target= line
StepFunction = "Sequential",
Target=true,
KeyPress={
"/targetenemy [noharm][dead]",
},
PreMacro={
"/cast Flame Shock",
},
After you set the gold ticks - is this present in the Export?

commented

Nope. I put in an import file and imported successfully which created a 2 tab on my macro. When exporting it I get this (no Target=true):
Sequences['ShammyEleST'] = {
Author="Dana",
SpecID=262,
Talents = "1112331",
Default=1,
Icon='INV_MISC_QUESTIONMARK',
MacroVersions = {
[1] = {
StepFunction = [[Sequential]],
KeyPress={
"/targetenemy [noharm][dead]",
},
PreMacro={
"/cast Flame Shock",
},
"/cast Stormkeeper",
"/cast Elemental Blast",
"/cast Lava Burst",
"/castsequence Lightning Bolt, Lightning Bolt",
"/castsequence Lightning Bolt, Lightning Bolt, Lightning Bolt",
"/cast Lava Burst",
"/castsequence Lightning Bolt, Lightning Bolt, Lightning Bolt, Earth Shock",
PostMacro={
},
KeyRelease={
"/cast Fire Elemental",
"/cast Lava Burst",
},
},
[2] = {
StepFunction = [[Sequential]],
KeyPress={
"/targetenemy [noharm][dead]",
},
PreMacro={
"/cast Flame Shock",
},
"/cast Stormkeeper",
"/cast Elemental Blast",
"/cast Lava Burst",
"/castsequence Lightning Bolt, Lightning Bolt",
"/castsequence Lightning Bolt, Lightning Bolt, Lightning Bolt",
"/cast Lava Burst",
"/castsequence Lightning Bolt, Lightning Bolt, Lightning Bolt, Earth Shock",
PostMacro={
},
KeyRelease={
"/cast Fire Elemental",
"/cast Lava Burst",
},
},
},
}

Here is my import:

Sequences['ShammyEleST'] = {
Author="Dana",
SpecID=262,
Talents = "1112331",
Default=1,
Icon='INV_MISC_QUESTIONMARK',
MacroVersions = {
[1] = {
StepFunction = [[Sequential]],
Target=true,
KeyPress={
"/targetenemy [noharm][dead]",
},
PreMacro={
"/cast Flame Shock",
},
"/cast Stormkeeper",
"/cast Elemental Blast",
"/cast Lava Burst",
"/castsequence Lightning Bolt, Lightning Bolt",
"/castsequence Lightning Bolt, Lightning Bolt, Lightning Bolt",
"/cast Lava Burst",
"/castsequence Lightning Bolt, Lightning Bolt, Lightning Bolt, Earth Shock",
PostMacro={
},
KeyRelease={
"/cast Fire Elemental",
"/cast Lava Burst",
},
},
},
}

commented

Going to close this out as I cannot fix the target part. #236 will replace this.

commented

I had this fixed and then the rolling restart broke it. I now have to remove the function as it is now a blocked action.