August 21, 20178 yr 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: player.GetEquipedItemBySlot(wManager.Wow.Enums.InventorySlot.INVSLOT_RANGED)
August 21, 20178 yr Author 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"); }
Create an account or sign in to comment