Item - use restriction by class
Is there lua function which can return info if item have class restriction and if it can be used by current character (i.e. compare character class and item allowed classes) ?
To make all items which are not usable gray in inventory.
|