Quote:
Originally Posted by moltke24
if i change the wizard's number from 2048 and add 2048(wizard) + 1(warrior) = 2049 I should as a wizard be able to use anything a warrior can correct?
|
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)