You can getthe item type of an equipped weapon/armor with the following code:
int typeID = combatant.Equipment[int index].Equipment.TypeID;
But it's best to check if there is something equipped first, or you'll get an exception :)
if(combatant.Equipment[int index].Equipped)
index is the ID of the equipment part.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
int typeID = combatant.Equipment[int index].Equipment.TypeID;
But it's best to check if there is something equipped first, or you'll get an exception :)
if(combatant.Equipment[int index].Equipped)
index is the ID of the equipment part.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!