These are macros i am working looking to improve on any help
1 shot burst
Sequences["rogueassassinPVP"] = {
StepFunction = [[
stepa = "12234"
limit = string.len(stepa) or 1
if stepc == nil then
stepc = 1
end
if stepc >= limit then
stepc = 1
else
stepc = stepc + 1
end
step = tonumber(strsub (stepa, stepc, stepc))
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nostealth,nocombat]Stealth
]],
-- Macro 1
[[
/run("Executing macro 1! (Marked For Death)")
/cast Marked For Death
/cast Vendetta
]],
-- Macro 2
[[
/run("Executing macro 2! (Death From Above)")
/cast Death From Above
]],
-- Macro 3
[[
/run("Executing macro 3! (Vanish)")
/stopattack
/cast Vanish
/cast Envenom
]],
-- Macro 4
[[
/run("Executing macro 4! ()")
/cast
]],
-- Macro 5
[[
/run("Executing macro 5! ()")
/cast
]],
-- Macro 6
[[
/run("Executing macro 6! ()")
/cast
]],
PostMacro = [[
/startattack
/cast
/run UIErrorsFrame:Clear()
]],
}
Sustaned dps
Sequences["raPVP"] = {
StepFunction = [[
stepa = "12234"
limit = string.len(stepa) or 1
if stepc == nil then
stepc = 1
end
if stepc >= limit then
stepc = 1
else
stepc = stepc + 1
end
step = tonumber(strsub (stepa, stepc, stepc))
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nostealth,nocombat]Stealth
]],
-- Macro 1
[[
/run("Executing macro 1! (Mutilate)")
/cast Mutilate
]],
-- Macro 2
[[
/run("Executing macro 2! (Envenom)")
/cast Envenom
/cast
]],
-- Macro 3
[[
/run("Executing macro 3! (Mutilate)")
/cast Mutilate
]],
-- Macro 4
[[
/run("Executing macro 4! (Rupture)")
/castsequence reset=5 Rupture, Kidney Shot
/cast Kidney Shot!
]],
-- Macro 5
[[
/run("Executing macro 5! (Mutilate)")
/cast Mutilate
]],
-- Macro 6
[[
/run("Executing macro 6! (Rupture)")
/cast Rupture!
]],
PostMacro = [[
/startattack
/cast [combat]
/run UIErrorsFrame:Clear()
]],
}
working progress