Hello everyone,
as I'm always switching some talents for arena/rbg/whatever I got tired of dragging the 'new' talents from the spellbook back to my bars, as I'm using the same keybind for the same 'talent row' anyway. With the following macro, it will automatically use the chosen talent, display the right icon & tooltip and you no longer have to drag talents around. The tooltip&icon will change after the first time you used the spell. For me it's not only an easy solution, you will also never forget to drag the talents in after you've changed something
1. Create a new macro and name it "15/30/45... Talents" without the quotes, depending which 'talent-row' you're about to pick
2. Choose the question mark as icon
3. Copy these lines
#showtooltip
/cast
/cast
/cast
/script m_c=GetSpellInfo(x); m_ds=GetSpellInfo(x); m_h=GetSpellInfo(x)
/run SetMacroSpell("macroname", GetSpellInfo(m_c) or GetSpellInfo(m_ds) or GetSpellInfo(m_h))
4. I will now explain this macro using druid talents because I'm playing a druidBut once you fully understand how it works, it will be very easy to do this for yourself and your class.
So, my macro will be for the level 75 talent-row. I'm always switching between Mighty Bash and Disorienting Roar in Arena's while I use Vortex for RBG's to have a second pullback for the mighty Solarbeamz!
The macro should be created, now lets fill it with information. The level 75 talents are named "Mighty Bash" "Ursol's Vortex" and "Disorienting Roar"
Simply write those names into the macro
#showtooltip
/cast Mighty Bash
/cast Ursol's Vortex
/cast Disorienting Roar
/script m_c=GetSpellInfo(x); m_ds=GetSpellInfo(x); m_h=GetSpellInfo(x)
/run SetMacroSpell("macroname", GetSpellInfo(m_c) or GetSpellInfo(m_ds) or GetSpellInfo(m_h))
Now we need to get the Spell ID. Go to wowhead and search for "Mighty Bash" (or whatever your spell is called). At the end of the link, you will see the spell id. For example (Mighty Bash) the URL will look like this: Mighty Bash - Spell - World of Warcraft.
Now we fill in the first Spell ID for the first cast.
#showtooltip
/cast Mighty Bash
/cast Ursol's Vortex
/cast Disorienting Roar
/script m_c=GetSpellInfo(5211); m_ds=GetSpellInfo(x); m_h=GetSpellInfo(x)
/run SetMacroSpell("macroname", GetSpellInfo(m_c) or GetSpellInfo(m_ds) or GetSpellInfo(m_h))
And then we will fill in the rest. Last but not least you change "macroname" to the name of the macro, so in this case to "75 Talents" The finished macro should look like this
#showtooltip
/cast Mighty Bash
/cast Ursol's Vortex
/cast Disorienting Roar
/script m_c=GetSpellInfo(5211); m_ds=GetSpellInfo(102793); m_h=GetSpellInfo(99)
/run SetMacroSpell("75 Talents", GetSpellInfo(m_c) or GetSpellInfo(m_ds) or GetSpellInfo(m_h))
If there is still anything unclear, just leave me a noteI hope this macro will help you