I'm working on a script to keep track of ammo for hunters on my TrinityCore server. I've tried a few different techniques that seem to work okay, but what I am really looking for is a way to identify which type of ammo is currently equipped and being used in combat, taking into account the fact that a hunter could conceivably have any number of different types of ammo in their bags at any given time. I saw that the Player:EquipItem and Player:GetItemByPos has some details regarding inventory and equipment slots; however, I noticed that the ammo slot is not mentioned. Is this not enumerated at all? Is there any way to detect which ammo is in the ammo slot? Or are there any suggestions on how to identify the type of ammo in use? Any feedback would be appreciated.
Last edited: