You are mixing hexadecimal with decimal.

Hex:
0x01
0x02
...
0x09
0x0A
...
0x0F
0x10

So you could write it this way (decimal):
(my.skill1 & 1)
(my.skill1 & 2) >> 1
...
(my.skill1 & 128) >> 7

Last edited by Dark_samurai; 08/20/10 18:25.

ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version