GlyphSwap

GlyphSwap

2.5k Downloads

THIS ADDON IS NO LONGER NEEDED IN LEGION BUT I WILL KEEP IT HERE JUST IN CASE>

One button on your toolbar changes between 2 glyphs.

This addon enables you to make a macro that swaps between two glyphs instantly with no confirmation dialogue, ideal for hardcore raiding, faster arena prep, and any class that has to swap out glyphs often. It will also print to chat what your active glyph is. It's literally one line of code, but if you try these macros without the addon you will get an lua error.

Once the addon is loaded, you set the glyphs you want to swap by simply making a macro like the following - with 2 edits:

(1) Replace the exact names of glyphs with the ones you want to swap. Note the name of the glyphs doesn't include "Glyph of" in there. Also be very careful of Caps and spelling. "Death From Above" will fail. "Death from Above" will work. Blizzard likes to change glyph names!

(2) Replace the "1" in "s,g,n=1" to whatever numbered position you want the glyphs as indicated by the chart, keeping it in a corresponding Major or Minor slot - from top to bottom, 2, 4, and 6 are major, 3, 1, and 5 are minor:

http://www.curseforge.com/media/images/82/186/glyphswap.jpg

In these sample macros, a "n=1" indicates the top right Minor glyph slot, and a "n=2" is the top Major glyph slot.


Major glyph (the top)

/run local s,g,n=2,{"Death from Above","Victorious Throw"} GyP:SetAttribute("slot",s) n=GetSpellInfo((select(4,GetGlyphSocketInfo(s))) ):match(g[1]) and g[2] or g[1] GyP:SetAttribute("glyph",n) print("Socketing",n)
/click GyP


Minor glyph (the top right):

/run local s,g,n=1,{"Untamed Stars","The Solstice"} GyP:SetAttribute("slot",s) n=GetSpellInfo((select(4,GetGlyphSocketInfo(s))) ):match(g[1]) and g[2] or g[1] GyP:SetAttribute("glyph",n) print("Socketing",n)
/click GyP


Note this is the same macro; just the "n = _" position and glyph name are changed.

I personally added "#showtooltip Starfall" as the top line in my macro; as a Balance Druid, my minor glyph will determine whether it shows as starfall or sunfalll, adding a nice visual cue in addition to the chat box output. I also found this useful for feral for the Savagery glyphs.

To swap talents use Quick Talents at http://www.curse.com/addons/wow/quick-talents

To swap trinkets use Trinket Menu at http://www.curse.com/addons/wow/trinket-menu

I put all these swap addons/macros in one small area of my screen along with boss specific PVE targeting macros, making on the fly changes a breeze, using Button Forge and changes the state to show only out of combat, in a group.

That's it! Thanks to Ro from Underhill for the macros; he basically did 99% of the work. So consider this addon a gnomish contraption.

Original thread: http://us.battle.net/wow/en/forum/topic/12675250076?page=1#14