Apexx 60 Posted August 21, 2017 Share Posted August 21, 2017 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) Link to comment https://wrobot.eu/forums/topic/6834-check-players-equipped-items-need-wand/ Share on other sites More sharing options...
Apexx 60 Posted August 21, 2017 Author Share Posted August 21, 2017 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 https://wrobot.eu/forums/topic/6834-check-players-equipped-items-need-wand/#findComment-30955 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now