Useful Macro to change Spec and Gear set with one click

I know this should be under macros but I am placing this here so all Paladins can see it as I am sure very few people actually look at the Macro section.

This very cool macro change your spec and gear set.

For Ret Paladin:

/equipset Damage
/run SetSpecialization(GetSpecialization()==3 and 3 or 3)

For Protection Paladin:

/equipset Tank
/run SetSpecialization(GetSpecialization()==2 and 2 or 2)

I don’t play Holy but Holy will look like this:

/equipset Healer
/run SetSpecialization(GetSpecialization()==1 and 1 or 1)

Explanation: The first line equips the set you have saved under Equipment Manager by just inserting the name you have called your set.
The second line looks at your Specialisation and Holy is 1, Tank 2 and Ret 3.

5 Likes

If you when saving the set right click it you can choose to put it as prot holy or ret.
Only 1 set of each spec can be that but it means you will automaticly change to that gear when you change spec.

4 Likes

Just a tiny thing;

The “GetSpecialization()==1 and 1 or 1” part makes no sense if you use this macro to swap to 1 specific spec, that comparisment always becomes 1. You may as well use;

/run SetSpecialization(1)

That one does exactly the same.

If you want to swap between 1 and 2 then you can use your

/run SetSpecialization(GetSpecialization()==1 and 2 or 1)

4 Likes

@Maglola Cool, It is not my macro - I just copied it and did the necessary changes for them to work but yours is definitely better. i am new to coding and thought the second argument was to do with the gear set you have saved but now I see all 3 is just the class spec.

Edit:

I found a better macro:

/equipset [mod:shift]Blood;[mod:ctrl]Frost;Unholy
/run if IsShiftKeyDown() then SetSpecialization(1) elseif IsControlKeyDown() then SetSpecialization(2) else SetSpecialization(3) end

2 Likes

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