View Single Post
04-10-23, 08:52 PM   #1
fullmoon_sulfuras
A Fallenroot Satyr
Join Date: Dec 2019
Posts: 21
Macro to swap the talent set and the equipment set

Hi! I'm trying to come up with a macro to swap to a equipment set and the talents.

I play a enh shaman, and sometimes I go OS for healing. So I'd like a macro that:

1. Switches to the secondary talent set
2. Switches to a specific equipment set from the equipment manager

Switching to resto:

Code:
#showtooltip Healing Wave
/script C_EquipmentSet.UseEquipmentSet(0)
/script SetActiveTalentGroup(2)
The problem is that the switch to Enh macro:

Code:
#showtooltip Stormstrike
/script C_EquipmentSet.UseEquipmentSet(1)
/script SetActiveTalentGroup(1)
I get a "You cannot dual-wield" error, which makes sense, I need to first switch the talents. So:

Code:
#showtooltip Stormstrike
/script SetActiveTalentGroup(1)
/script C_EquipmentSet.UseEquipmentSet(1)
But now I get a "You can't do that right now"; the talent set gets swapped, but not the gear. So I tried a function:

Code:
#showtooltip Stormstrike
/script function enh() SetActiveTalentGroup(1) C_EquipmentSet.UseEquipmentSet(1) end enh()
That also gives me a "You can't do that right now" error.

It seems that the WoW client is trying to run the function calls simultaneously.

Is there any way to run one and then the other? Maybe an if-end block with an and?

Thanks!
  Reply With Quote