Automatic Ammo Switching Macro

MassiveBlips: vote it up!

I ran into a new friend tonight over on the Official Forums. (I know right, well there are some good people there you just have to shift through and find them.

Anyways, I was impressed by this macro and asked Zurom from Firetree if I could post what he wrote up here for you guys to use. (Source.)

Hi there,

I’ve looked around these forums and haven’t found any posts regarding this.

Anyways, I find myself annoyed at times when I use expensive “special” ammo on boss fights and end up wasting this special ammo on trash mobs because I forget to switch back to my normal ammo. If you’ve done this time and time again, I have developed a macro that may interest you.

Basically what it does is it switches your ammo for you depending on what mob you’re attacking. If you attack a ?? mob (ie. a boss) it will switch your ammo to your expensive special ammo, otherwise it will switch to your normal ammo.

All you have to do is make a macro for any shot(s) you use in your rotation and add the script code underneath.

Template
#showtooltip <shot name>

/cast <shot name>(<rank>)

/script if (UnitLevel(“target”) <= 0)) then EquipItemByName(“< special ammo name>”); else EquipItemByName(“<normal ammo name>”); end

Example
#showtooltip Explosive Shot

/cast Explosive Shot (Rank 4)

/script if (UnitLevel(“target”) <= 0) then EquipItemByName(“Mammoth Cutters”); else EquipItemByName(“Frostfire Bullets”); end

- Zurom Firetree (US)

I think come 3.1 this might be something  we all might consider using.

Thanks Zurom!!