GS Legion/PTR Prot pally

Sequences['LegionProt'] = {
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 Avenger's Shield",	
        '/cast Judgment',
	'/cast Hammer of the Righteous',	
	'/cast Holy Wrath',
	"/cast Avenger's Shield",
	'/cast Hammer of Wrath',
	'/cast Consecration',
PostMacro = [[
/cast Shield of the Righteous
/startattack
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

It plays a little rough. Consecrate should be more towards the top of the rotation because it tends to fall off where it is and almost everything in the rotation builds off consecrate.

Updated.

Sequences['LegionProt'] = {
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 [combat] Consecration',
        "/cast Avenger's Shield",	
        '/cast Judgment',
	'/cast Hammer of the Righteous',	
	'/cast Shield of the Righteous',
	"/cast Avenger's Shield",
	
PostMacro = [[
/cast [combat]Light of the Protector
/startattack
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}


took OP’s and fiddled a bit & works great so far:


Sequences["LegionPProt"] = {
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 !Avenger's Shield]],
	[[/cast !Judgment]],
	[[/cast !Shield of the Righteous]],
	[[/cast !Divine Shield]],
	[[/cast !Light of the Protector]],
	[[/cast !Consecration]],
	[[/cast !Shield of the Righteous]],
        [[/cast !Avenger's Shield]],	
        [[/cast !Judgment]],
	[[/cast !Hammer of the Righteous]],
	[[/cast !Shield of the Righteous]],	
	[[/cast !Holy Wrath]],
	[[/cast !Avenger's Shield]],
	[[/cast !Hammer of Wrath]],
	[[/cast !Consecration]],
	[[/cast !Shield of the Righteous]],
	[[/cast !Judgment]],
PostMacro = [[
/cast Shield of the Righteous
/cast !Avenging Wrath
/cast !Seraphim
/startattack
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

whats the tallents

Druccy,

What talents are you currently using. Thanks

currently running with: 1313232