2010-07-10, 01:11 AM
Fiel Wrote:The reason why it was 30k is because it's close to 32767, which is the maximum value of a signed short (16 bits). Maplestory exclusively uses signed numbers, so for it to be greater than 32767, it would have to be a signed word (32-bits). Since it must be a signed int, that would make the theoretical maximum of 2.1 billion HP, but I bet the ceiling is much lower than that.
I thought the maximum for hex and decimals was always:
0000 - 0
000F - 15
00FF - 255
0FFF - 4095
FFFF - 65535 <- Isnt this the absolute maximum value for a variable working under 16 bits?
If Hp goes beyond 32767 which is "8000" in hex and decimals, it's probably working by using the full variable.
