Arcane Step Function Needs Testing

I had to restart this since I accidentally deleted the last one…

This is still a work in progress but I need a geared Mage to try this.
Any comments would be great. I cannot get Pressence of Mind to Fire for Some Reason and I had to remove Barrage because it was causing Missiles to fire off at only two charges. Any sarcasm or helpful comments are welcome.

Talents are 3,2,2,2,3,3,1
Major = Rapid Displacement, Slow, Arcane Power
Minor = Momentum, rest not important

`Sequences ["ArcST1TCon"] = { StepFunction = [[ stepa = "111165543111755222"

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 = [[
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
/use Draenic Intellect Potion
]],

PostMacro = [[
/targetenemy [noharm][dead]
/use [combat]13
/use [combat]14
/cast [combat]Arcane Brilliance
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 0
]],
– Macro 1
[[
/cast [nochanneling][combat] Arcane Blast
]],
– Macro 2
[[
/cast [nochanneling][combat] Arcane Missiles

]],
– Macro 3
[[
/cast [combat]Ice Ward
]],
– Macro 4
[[
/cast [combat]Icy Floes
]],
– Macro 5
[[
/cast Supernova
]],
– Macro 6
[[
/cast Arcane Power
]],
– Macro 7
[[
/cast [nochanneling][combat]Pressence Of Mind
]],
}`

Sequences ['ArcST1TCon'] = {
PreMacro = [[
/script UIErrorsFrame:Hide();
/targetenemy [noharm][dead]
/use Draenic Intellect Potion
]],
StepFunction = [[
stepa = "11165543111755222"

		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))
]],
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Hide();
]],
-- Macro 1
[[
/cast [nochanneling][combat] Arcane Blast
]],
-- Macro 2
[[
/cast [nochanneling][combat] Arcane Missiles
]],
-- Macro 3
[[
/cast [combat]Ice Ward
]],
-- Macro 4
[[
/cast [combat]Icy Floes
]],
-- Macro 5
[[
/cast Supernova
]],
-- Macro 6
[[
/cast Arcane Power
]],
-- Macro 7
[[
/cast [nochanneling][combat]Pressence Of Mind
]],
}

Repaired the code so it does fire off now. This macro is somewhat of a mana crusher so it is probably a good “Opener Macro” but not long term for Raiding and Dungeons. Just my $0.02. Over all good effort.

Yeah your code is not being reconized, no errors report just blocks all my other sequences as well!

[quote quote=27405]Yeah your code is not being recognized, no errors report just blocks all my other sequences as well!

[/quote]

Yep me too…, I’m looking through the code to check for errors…

(CREDIT TO: Broadhead_Kess for OP)

I updated and added evocation:

Sequences ["ArcaneST2TCon"] = {
StepFunction = [[
stepa = "111165543111755228"

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 = [[
/script UIErrorsFrame:Hide();
/use Draenic Intellect Potion
]],
	
PostMacro = [[
/targetenemy [noharm][dead]
/use [combat]13
/use [combat]14
/cast [nochanneling][combat]Arcane Brilliance
/script UIErrorsFrame:Hide();
]],
	-- Macro 1
[[
/cast [nochanneling]Arcane Blast
]],
	-- Macro 2
[[
/cast  [nochanneling]Arcane Missiles
]],
    -- Macro 3
[[
/cast [nochanneling]Ice Ward
]],
	-- Macro 4
[[
/cast [nochanneling]Icy Floes
]],
	-- Macro 5
[[
/cast [nochanneling]Supernova
]],
	-- Macro 6
[[
/cast [nochanneling]Arcane Power
]],
	-- Macro 7
[[
/cast  [nochanneling]Pressence Of Mind
]],
	-- Macro 8
[[
/cast  [nochanneling]Evocation
]],
}

It does not seam that bad any more…cheers!
I also made another one to try:

Sequences["ArcST2TCon2"] = {
StepFunction = [[
stepa = "111172243111511116"

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 = [[
/script UIErrorsFrame:Hide();ddd
/use Draenic Intellect Potion
/cast Arcane Missles
]],
	
	PostMacro = [[
/targetenemy [noharm][dead]
/use 13
/use 14
/cast Ice Barrier
/cast Arcane Brilliance
/script UIErrorsFrame:Hide();
]],
	
	-- Macro 1
[[
/cast [nochanneling]Arcane Blast
]],
	
	-- Macro 2
[[
/cast Supernova
]],

	-- Macro 3
[[
/cast Ice Ward
]],
	
	-- Macro 4
[[
/cast Icy Floes
]],
	
	-- Macro 5
[[
/cast Arcane Missiles
]],
	
	-- Macro 6
[[
/cast Arcane Barrage
]],
	
	-- Macro 7
[[
/cast Arcane Power
]],
}