Cast different spells if you have a melee or a ranged weapon equipped

Hi there!! like title says i need a macro to cast different spells if you have a melee or a ranged weapon equipped.

More specifically I want to cast Raptor Strike if i have a melee weapon and Arcane Shot if i have a ranged weapon.

Thanks for reading!

You’re after the worn/equipped condition + whatever weapon types you’re using.

https://wow.gamepedia.com/Macro_conditionals#equipped:.3Citem_type.3E_or_worn:.3Citem_type.3E
https://wow.gamepedia.com/ItemType

#showtooltip
/cast [worn:ranged_weapon_type] Arcane Shot; Raptor Strike
2 Likes

Thanks a lot!

??? :cowboy_hat_face: :cowboy_hat_face: :cowboy_hat_face:

I been trying this and is not working.

What did you put in for the ranged weapon?

bows

/cast [worn:bows] Arcane Shot; Raptor Strike

Try singular, bow

Doesn’t work :confused:

This is working on my hunter with Whispering Eldritch Bow

#showtooltip
/cast [worn:bows] Arcane Shot; Raptor Strike