[request] GS Macro 1 button Totem Mastery

Hi all I am working on my ele sham, to which I multibox with so I am using 1 button dps macros and I am having a hard time with Totem mastery Talent.

I got it so that it places it once and that is it even if I use reset

Sequences[“Ele”] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
]],
“/castsequence reset=target [talent:1/3] Totem Mastery, null”,
“/castsequence reset=combat [nopet:Earth Elemental] Fire Elemental”,
“/cast [nochanneling] Lava Burst”,
“/castsequence [nochanneling] reset=combat Lightning Bolt, Lightning Bolt, Flame Shock, Lightning Bolt, Lightning Bolt, Lightning Bolt, Lightning Bolt, Earth Shock”,
PostMacro = [[
/cast [combat] Berserking
/cast [combat] Ancestral Guidance
/cast [combat] Elemental Mastery
]],
}

I can also change it where it spams it

Sequences[“Ele”] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
]],
“/castsequence reset=target [talent:1/3] Totem Mastery”,
“/castsequence reset=combat [nopet:Earth Elemental] Fire Elemental”,
“/cast [nochanneling] Lava Burst”,
“/castsequence [nochanneling] reset=combat Lightning Bolt, Lightning Bolt, Flame Shock, Lightning Bolt, Lightning Bolt, Lightning Bolt, Lightning Bolt, Earth Shock”,
PostMacro = [[
/cast [combat] Berserking
/cast [combat] Ancestral Guidance
/cast [combat] Elemental Mastery
]],
}

Reset never works in either Sequence, has anyone tried to use Totem Mastery and has a Gs macro for it, I want to be able to reset it per target preferable due to in case longer then 2 minute fights.

I’ve also have a user pass on that reset=number also doesnt work in a GS/GS-E sequence. I wonder if there is a relation here in the underlying Blizzard SecureButtonActionHandler code?

I am not much for coding but I know it worked prior to the change blizz did to macros so I am guessing it would be to the underlying code on blizz side, though I am pretty sure there is a way to have totem mastery talent work in sequences.

The only way ive gotten it to work is in a castsequence, or reset=combat.

Do you mind sharing that specific castsequence, as I can get it to work as well and with reset combat, however it does not reset after combat once it’s dropped it never drops again, or I can make it so that it always drops unless I spam fast enough where it drops but never again unless I slow down.

'/castsequence reset=target/combat Flame Shock,Totem Mastery,Lightning Bolt,Lightning Bolt,Lightning Bolt,Lightning Bolt,Lightning Bolt,Flame Shock,Lightning Bolt,Lightning Bolt,Lightning Bolt,Lightning Bolt,Lightning Bolt',