: Probably. I know the kill limit in Starcraft is 250
: (after one occasion in which my Battlecruiser hero
: singlehandedly destroyed three enemy bases), although
: 127 does seem a rather odd limit. I'd have though it
: would be more likely to be a round number, probably a
: multiple of ten. Still... (shrugs)
When values are stored as binary code, n digits allow for 2^n values. For instance, 3 digits allow for 8 values, from 000 to 111.
So most integer fields in computer programs take 2^n values, from 0 to (2^n - 1). 0 to (128 - 1) in this case. If you do much editing of Myth, you get used to seeing some common (2^n - 1) maximum values, in particular 63, 127, 255 and 32767.
If Starcraft or other programs max at a multiple of 10, that's just a concession to the user's cultural preference for base-10 math.
--SiliconDream, who lost 32767 pints of blood in Yosemite