Jump to content

Check Player's Equipped Items - Need Wand

Recommended Posts

Hi, I was wondering how one might search the player's equipped items to see if the player has a wand equipped?

I have tried playing with:



Link to comment
Share on other sites

I think I may have solved it on my own. It does seem to be working:

if (player.GetEquipedItemBySlot(wManager.Wow.Enums.InventorySlot.INVSLOT_RANGED) != 0)
    Logging.WriteFight("Using Wand.");
    Lua.RunMacroText("/cast !Shoot");


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...