Possible typo/bug in constants.c v2.20

From: Danhiel Baker (dbaker@harpo.dev.uga.edu)
Date: 03/18/94


	Being the curious sort, I was poking through constants.c to see
if wearing the strength gauntlets to boost my strength to 18/30 was worth
losing the 8 points of AC from the bronze gauntlets...
	After examining the table for a minute, I noticed that something
seemed wrong about it;  while all of the stat bonus tables go all the way
to 35 (I don't understand why, but that is irrelevant :), only the strength
bonus chart _really_ needs to go above 18.  In fact, it should go to 18/100,
which is equal to 28 on the chart, by my reasoning.  Therefore the strength
bonuses and carrying capacity should increase all of the way up to at least
28, or up to 35 on this extended chart.  However, this is how it actually
reads (note - I added the levels and bonuses to the side for 
easier reading):

/* [ch] strength apply (all) */
const struct str_app_type str_app[35] = {
   { -5, -4,   0,  0 },
   { -5, -4,   3,  1 },
   { -3, -2,   3,  2 },
   { -3, -1,  10,  3 },
   { -2, -1,  25,  4 },
   { -2, -1,  55,  5 },   /* 5 */
   { -1, 0,  80,  6 },
   { -1, 0,  90,  7 },
   { 0, 0, 100,  8 },
   { 0, 0, 100,  9 },
   { 0, 0, 115, 10 },     /* 10 */
   { 0, 0, 115, 11 },
   { 0, 0, 140, 12 },
   { 0, 0, 140, 13 },
   { 0, 0, 170, 14 },
   { 0, 0, 170, 15 },      15      +0 +0
   { 0, 1, 195, 16 },
   { 1, 1, 220, 18 },
   { 1, 2, 255, 20 },      18/00   +1 +2
   { 3, 7, 640, 40 },
   { 3, 8, 700, 40 },
   { 4, 9, 810, 40 },      18/30   +4 +9
   { 4, 10, 970, 40 },
   { 5, 11, 1130, 40 },    18/50   +5 +11
   { 6, 12, 1440, 40 },
   { 7, 14, 1750, 40 },    18/70   +7 +14 <--  it stops advancing here,  
   { 1, 3, 280, 22 },                     <--   and drops back to +1 +3 here.
   { 2, 3, 305, 24 },
   { 2, 4, 330, 26 },      18/100  +2 +4
   { 2, 5, 380, 28 },
   { 3, 6, 480, 30 },
   { 3, 6, 480, 30 },
   { 3, 6, 480, 30 },
   { 3, 6, 480, 30 },
   { 3, 6, 480, 30 }  /* 18/100   (34) */   <<-- this is already here, but
};						 wrong IMO

Should I just stick to re-working areas, or is this a problem?  It really
doesn't seem quite right to me...  Oh, and as long as I'm asking about 
stuff, is MOB_HELPER supposed to make the mob assist other mobs fighting in
the room, or help PCs against other mobs?  I've always assumed (heh) that
it was the first - the HELPER mobs will throw in with the others if there
is a fight in the room, so that bodyguards/trained guard dogs/pack animals
etc could help out if their master/brethern were being attacked.  It'd
be nice for me to know this one, so the world can reflect it :)

BTW, users of circle worlds from versions before v2.2 should check the
.shp file for New Sparta (assuming they didn't just scrap zone 210 ;)
Shop #21001 should read:

#21001~
-1
3054
3051
3053
1.05         <- these two values may be screwed, causing 'Wally' to buy
0.15         <- for more than he sells for; the lines shown are correct :)
3
4
15
0    (and onward without change...)

(this bug is not in the v2.2 world that is currently at ftp.cs.jhu.edu)

Danny

+--------------------------------------->
| Danhiel Baker // Derkhil CatSpawn         /) /)     Fade away
| dbaker@harpo.dev.uga.edu                 ( o o )    into the
| dbaker@jb.ucns.uga.edu                    = x =     ethereal grey...
| Work: 542-0123  Pager: 369-2781          m     m    
+-------------------------------->       ***(=======-



This archive was generated by hypermail 2b30 : 12/07/00 PST