Enhancement Macros -Update 24th April 2016

This macro works good for me so far. I am using it for PvP mostly, but it works for PvE also. Just cancel the stuff you dont need from the post macro (for raiding i would cancel frost shock, to dont annoy the tank).

For AOE i am using the same macro and just replace frost shock by fire nova. Lightning Bolt i use on a seperate key, when weakauras pop up. Same for Ascendance.

Any Feedback will be welcome!

Talents:
?/3/?/3/?/?/?

Single Target

Sequences['EnhSiPvP'] = { 
	StepFunction = [[
		stepa = "12345566734556673455667345566734556678"

		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 Searing Totem',
	'/cast Magma Totem',
	'/cast Unleash Elements',
	'/cast Flame Shock',
        '/cast Lava Lash',
	'/cast Stormstrike',
	'/cast Frost Shock
	'/stopcasting',
	
PostMacro = [[
/cast Purge
/cast [mod:shift] Feral Spirit
/cast [combat] Quaking Palm
/cast Wind Shear
/script UIErrorsFrame:Clear()
]],
}

Escape Macro (before i use it, i use Capacitor Totem with a seperate button)

Sequences['ShamiESC'] = { 
	StepFunction = [[
		stepa = "1234"

		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 Grounding Totem',
	'/use  Healthstone',
	'/cast Spirit Walk',
	'/stopcasting',
PostMacro = [[
/cast [mod:shift] Shamanistic Rage
/cast [noform] Ghost Wolf
/script UIErrorsFrame:Clear()
]],
}

Support Macro

Sequences['ShamiSupport'] = { 
	StepFunction = [[
		stepa = "12345"

		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 Windwalk Totem',
	'/cast Tremor Totem',
	'/cast Grounding Totem',
	'/cast Healing Stream Totem',
	'/stopcasting',
PostMacro = [[
/script UIErrorsFrame:Clear()
]],
}

Any chance of a brief explanation of how this functions?

stepa = “12345566734556673455667345566734556678”

This is my first macro with this kind of stepa, so i can be wrong.
Example “EnhSiPvP”:
1=Searing Totem,5=Lava Lash,8=stopcasting.

If a spell is still on Cooldown, it will get skipped. To dont spam the totems every 5 sec. i did extended the stepa. The stopcasting will make the macro start from the beginning again i think ( i saw it here at the forum).
I think there is not a real difference between this and the normal macros. Its just for beeing lazy (…numbers are shorter :slight_smile: )

Its a early version and when i have more time, i will try to get more out of it.

does not work…will not turn on when I give in /macro EnhSiPvP!!

It´s a gnome sequencer macro ( i forgot to point this out in the heading), sorry for this. If you are using english as your default language, it should work. Otherwise you have to translate the spell names. If you delete a spell that is listed in the stepa, you will have to change the stepa line of course.

Edit: Nice update with the upvote function, but i cant change the heading anymore :slight_smile:

Hello,

fixed it (3 errors)

  • no quotation and comma after

    '/cast Frost Shock

  • deleted all the tab-spaces

  • deleted

    /cast [combat] Quaking Palm
    because this is a pandaren racial ability

copy/paste this in your Sequences.lua file


Sequences['EnhSiPvP'] = { 
StepFunction = [[
stepa = "12345566734556673455667345566734556678"

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 Searing Totem',
'/cast Magma Totem',
'/cast Unleash Elements',
'/cast Flame Shock',
'/cast Lava Lash',
'/cast Stormstrike',
'/cast Frost Shock',
'/stopcasting',
	
PostMacro = [[
/cast Purge
/cast [mod:shift] Feral Spirit
/cast Wind Shear
/script UIErrorsFrame:Clear()
]],
}

Please read this old topic regarding common mistakes in GS:
Common mistakes in Gnomesequencer

It might by useful to understand and find the errors in the macro.

Try to use Notepad++ for writing and/or copy-pasting macros.

Enjoy!!!

Hey Mr. Rottenkopf, thank you very much for your tipps and changes! It seems so, as i did some mistakes as i translate it into english. Unfortunately i am still not able to edit my first post.