GS-E Protection Warrior PVE Patch 7.0.3

Talents are 3233311 so far this is working OK for my not very geared prot warrior running a some timewalking dungeons. I’m sure it’s 100% perfect yet so I could use some feedback.

Sequences['ProtWar'] = {
specID = 73,
author = "Busybox",
helpTxt = "Talents: 3233311",
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
]],
PreMacro = [[
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
]],
'/cast Intercept',
'/cast Revenge',
'/cast Devastate',
'/cast Focused Rage',
"/cast !Shield Slam",
"/castsequence [combat] Thunder Clap",
"/cast !Revenge",
'/cast !Shield Block',
'/cast Devastate', 
'/cast Victory Rush',
PostMacro = [[
/cast [combat] Demoralizing Shout
/cast [combat] Ignore Pain
/cast [combat] Battle Cry
/cast [combat] Avatar
/cast [combat] Stoneform
/cast [combat] Berserker Rage
/startattack
/use [combat] 13
/use [combat] 14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

Been trying it most of today and I have to say it seems to perform very nicely. Thank you very much.

I’m currently using this for leveling. This is fantastic. Great job!

[quote quote=30170]Talents are 3233311 so far this is working OK for my not very geared prot warrior running a some timewalking dungeons. I’m sure it’s 100% perfect yet so I could use some feedback.

Sequences['ProtWar'] = {
specID = 73,
author = "Busybox",
helpTxt = "Talents: 3233311",
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
]],
PreMacro = [[
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
]],
'/cast Intercept',
'/cast Revenge',
'/cast Devastate',
'/cast Focused Rage',
"/cast !Shield Slam",
"/castsequence [combat] Thunder Clap",
"/cast !Revenge",
'/cast !Shield Block',
'/cast Devastate', 
'/cast Victory Rush',
PostMacro = [[
/cast [combat] Demoralizing Shout
/cast [combat] Ignore Pain
/cast [combat] Battle Cry
/cast [combat] Avatar
/cast [combat] Stoneform
/cast [combat] Berserker Rage
/startattack
/use [combat] 13
/use [combat] 14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}
```[/quote]

Is there a way to get the macro to reset when combat ends?