Another way is to combine these flag bits. For example, if a weapon is given 4 locks, then only the character/class whose corresponding ability bits are all set can use it.
Another way is to combine these flag bits. For example, if a weapon is given 4 locks, then only the character/class whose corresponding ability bits are all set can use it.