[quote quote=29957]Just to be clear, here are both single/multi target macro’s I’m using based on the aforementioned (slightly different name for single, just because I’m CDO)
someone else mentioned something about it spamming the “say” chat, the way i fixed it, (don’t ask me why this fixed it, I’m a google script ninja, not a programmer) was by removing the spaces before the / in the post macro ?
Cheers
-Orleck
Sequences["ProtST"] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
]],
"/cast Avenger's Shield",
'/cast Blessed Hammer',
'/cast Consecration',
'/cast Shield of the Righteous',
'/cast Judgment',
'/castsequence reset=7 Consecration,Consecration',
'/cast [@player] Light of the Protector',
PostMacro = [[
/cast Shield of the Righteous
/cast Avenger’s Shield
/startattack
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}
Sequences["ProtAOE"] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
]],
"/cast Avenger's Shield",
'/cast Consecration',
'/cast Blessed Hammer,Blessed Hammer',
'/castsequence reset=6 Judgment',
'/castsequence reset=90 Blinding Light',
'/castsequence reset=7 Consecration,Consecration',
'/cast Blessed Hammer,Blessed Hammer',
'/cast [@player] Light of the Protector',
PostMacro = [[
/cast Shield of the Righteous
/cast Avenger’s Shield
/startattack
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}
[/quote]
These are great… My best Prot rotation script that I’ve found so far… I like it because there’s alot of action with these, I can use other scripts if I want to lay off Shield of the Righteous. Here are the GS-E converted scripts below, I added some [combat] in there so that it isn’t spamming my Consecration or Blessed Hammer when I’m out of combat
Sequences["ProtST"] = {
specID = 66,
author = "Firstman/Sgtorleck - https://wowlazymacros.com/",
helpTxt = "Protection Single Target macro - 2333323",
StepFunction = GSStaticPriority,
PreMacro = [[
/targetenemy [noharm][dead]
]],
"/cast Avenger's Shield",
'/cast [combat] Blessed Hammer',
'/cast [combat] Consecration',
'/cast Shield of the Righteous',
'/cast Judgment',
'/castsequence reset=7 [combat] Consecration, Consecration',
'/cast [@player] Light of the Protector',
PostMacro = [[
/cast Shield of the Righteous
/cast Avenger’s Shield
/startattack
]],
}
Sequences["ProtAOE"] = {
specID = 66,
author = "Firstman/Sgtorleck - https://wowlazymacros.com/",
helpTxt = "Protection AoE macro - 2333323",
StepFunction = GSStaticPriority,
PreMacro = [[
/targetenemy [noharm][dead]
]],
"/cast Avenger's Shield",
'/cast [combat] Consecration',
'/cast [combat] Blessed Hammer, Blessed Hammer',
'/castsequence reset=6 Judgment',
'/castsequence reset=90 [combat] Blinding Light',
'/castsequence reset=7 [combat] Consecration, Consecration',
'/cast [combat] Blessed Hammer, Blessed Hammer',
'/cast [@player] Light of the Protector',
PostMacro = [[
/cast Shield of the Righteous
/cast Avenger’s Shield
/startattack
]],
}