View Single Post
  #8  
Old 08-23-2013, 06:54 PM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default

Quote:
Originally Posted by demonstar55 View Post
You're not seeing that table correctly. That is the class mask of which can use the item, so if we look at http://lucy.allakhazam.com/itemraw.html?id=10152 which can be used all classes, we see the classes variable is 65535, which if we add up all those numbers in the table, we get 65535, which means all classes can use the item. So if you want a wizard to be able to use the warrior epic (http://lucy.allakhazam.com/itemraw.html?id=10908) we see the classes variable is 1, so to allow the wizard to use this, we would add 2048 to it, so 2049.

What this is, is a bitmask (https://en.wikipedia.org/wiki/Bitmask)
interesting, so in essence if I wanted a wizard to be able to use anything a warrior could i would have to find all the warrior items and change it from 1 to 2049?
Reply With Quote