View Single Post
04/17/14, 12:49 PM   #1
Vuelhering
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 169
get weapontype and armortype?

I've been looking for a function or global that maps the research line and craft to a type, such as bow (or woodworking, 1) for an arbitrary item.

It's easy enough to differentiate between weapons and armor, but how do you tell what specific type of weapon something is?

Something like craft, line = GetReasearchLine(bag,slot), or GetWeaponType(bag,slot)

Any ideas? I couldn't find anything in the api that looked right.
  Reply With Quote