6.2.3 Balance PvP

this is a work in progress feedback would be awesome i know its not the best but maybe some of you can get it to work better share your fixes ill try and update as much as i can.

Talents: 2/3/1/2/3/1/1

Updated: Thursday, March 24, 2016

Solar Eclipse:

Sequences["starwrath"] = {
StepFunction = [[
stepa = "12"

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 = [[
/cast [noform] Moonkin Form
/targetenemy [noharm][dead]
/cast [mod:alt] !starsurge
]],

-- Macro 1
[[
/run("Executing macro 1! (sunfire)")
/castsequence reset=25 sunfire, Wrath, entangling roots
/startattack
]],

-- Macro 2
[[
/run("Executing macro 2! (wrath)")
/castsequence reset=target Faerie Swarm,wrath,wrath
/startattack
]],

PostMacro = [[
/script UIErrorsFrame:Hide();
]],
}

Lunar Eclipse:

Sequences["surgefire"] = {
StepFunction = [[
stepa = "12"

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 = [[
/cast [noform] Moonkin Form
/targetenemy [noharm][dead]
/cast autoattack
/cast [mod:alt] !starsurge
]],

-- Macro 1
[[
/run("Executing macro 1! (moonfire)")

/castsequence reset=25 moonfire,starfire,entangling roots
/startattack
]],

-- Macro 2
[[
/run("Executing macro 2! (wrath)")

/castsequence reset=target Faerie Swarm,starfire,starfire
/startattack
]],

PostMacro = [[
/script UIErrorsFrame:Hide();
]],
}