Help whit honor tallent macro

hello girls and guys, Sorry for my bad english knowlage

Becouse i’m bad whit macros, and you are good i ask for some help.
we have 3 totem. Grounding totem, Skyfury totem, Counterstrike totem. I never use in a same time, always only one choosen. I want need a macro that always uses and show in tooltip what you choose. the
#showtooltip
/cast Grounding Totem
/cast Skyfury totem
/cast Counterstrike totem
dont wanna work. Dunno why

thanx for your time

It’s unfortunately still not possible for macros to use honortalent conditionals.
These do exist for regular talents (ex: [talent:1/2]), and used to exist for the Legion-style PvP Talents ([pvptalent:1/2]), but that won’t help you in this case.

The lack of honortalent conditionals is why you can’t get the #showtooltip part of this macro to work. The casting of the spells themselves obviously does work fine.

There is a gross and mediocre work-around that will cause the icon and tooltip to kinda function:

#showtooltip
/cast Grounding Totem
/cast Skyfury Totem
/cast Counterstrike Totem
/run local G=GetSpellInfo SetMacroSpell(GetRunningMacro(), G"Grounding Totem" or G"Skyfury Totem" or G"Counterstrike Totem")

With that additional line in the macro, the tooltip and icon will show up but only after you have used the macro for the first time.

Once you login to the game, the macro will appear with the questionmark icon (and no tooltip). Once you click it, it will put down the totem and also apply the matching icon+tooltip to the macro, so from then on it works like you’d want.

But every time you relog (or switch to one of the other honor talents) it won’t update until first use (Yuck).

There may or may not exist addons to work around this problem, i’m fairly certain an addon could effectively run the same SetMacroSpell logic as above, but during the login process (and after talent changes). Whether anyone has bothered to write such an addon for that yet, i do not know.

Obviously the more logical fix would have been for Blizzard to implement a new macro conditional, but i’m fairly certain they still haven’t done that (and it’s already been about a year since the system changed over).

1 Like

thanx for your time and help :slight_smile: you are awesome but this happen when i press the macro
Message: [string “local G=GetSpellInfo SetMacroSpell(GetRunni…”]:1: Usage: SetMacroSpell(macro, spell [,target])
Time: Sun Jul 7 05:08:52 2019
Count: 1
Stack: [string “local G=GetSpellInfo SetMacroSpell(GetRunni…”]:1: Usage: SetMacroSpell(macro, spell [,target])
[C]: ?
[C]: in function SetMacroSpell' [string "local G=GetSpellInfo SetMacroSpell(GetRunni..."]:1: in main chunk [C]: in functionRunScript’
Interface\FrameXML\ChatFrame.lua:2171: in function ?' Interface\FrameXML\ChatFrame.lua:4836: in functionChatEdit_ParseText’
Interface\FrameXML\ChatFrame.lua:4497: in function ChatEdit_SendText' Interface\FrameXML\ChatFrame.lua:2991: in function <Interface\FrameXML\ChatFrame.lua:2984> [C]: ? [C]: in functionUseAction’
Interface\FrameXML\SecureTemplates.lua:345: in function handler' Interface\FrameXML\SecureTemplates.lua:632: in functionSecureActionButton_OnClick’
Interface\FrameXML\MultiActionBars.lua:14: in function `MultiActionButtonDown’
[string “MULTIACTIONBAR2BUTTON4”]:2: in function <[string “MULTIACTIONBAR2BUTTON4”]:1>

Locals:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.