View Single Post
  #2  
Old 11-29-2004, 05:45 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

I believe the classes field is a bitwise OR with each bit representing a class that might be able to use the item.

IE, if an item is set with a value of 11, that would be 0000000000001011 in binary, and PRESUMABLY that means that clerics, warriors, and rangers could use them (cuz cleric has a class value of 1 = first bit, warrior class=2, next bit, then ranger=4 (I think), two bits down. I might be wrong about what bits mean what classes, but it is a bitwise OR.

The slot works the same way. It's rare, but some items can fit in more than one place, so the slot field is a bitwise OR to accommodate these items too.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote