arkayenro / arkinventory

A World of Warcraft Inventory mod for Retail, Burning Crusade, and Classic
108 stars 14 forks source link

Short description of your question #1742

Open zoig111 opened 1 year ago

zoig111 commented 1 year ago

What version number you are using? 3.10.12

What game client are you playing? Retail, Burning Crusade, Classic / Live, PTR, Beta Retail

What language is the game client set to? German

Ask your question What rules do I have to use to assign weapons one by one like staffs to staffs 1 hand sword to 1 hand sword and so on?

arkayenro commented 1 year ago

type("weapon") and subtype("staff") - note, youll need the german client values if you use the text

or use the numeric values

https://github.com/arkayenro/arkinventory/wiki/RuleFunction_ItemType https://github.com/arkayenro/arkinventory/wiki/RuleFunction_ItemSubType

zoig111 commented 1 year ago

unfortunately this doesn't work either, no matter if i write it in german or english the type( "weapon" ) command works but if i use a subtype it doesn't work is there a list with all subtypes?

arkayenro commented 1 year ago

check the item debug

zoig111 commented 1 year ago

unfortunately everything works nothing seems to be an error or are there still possible rules for debug is for example tpye 2 and subtype 10 or INVTYPE_2HWEAPON can you use that somehow?