Files
nethack/include
nethack.allison 237a8fbce7 monster birth limits exceeded by bones load
Bones loading was only checking to see if a
monster was marked extinct, it wasn't adding
up the born count of a species in the current
game with the number of that species on the
bones level being loaded. That made it possible
to exceed the correct number of nazgul and
erinys via bones.

This adds a common routine called propagate()
that makemon() and restmonchn(ghostly) share,
for incrementing the born count and checking for
extinction, etc.

When a bones level is loaded, restmonchn()
will flag an illegal monster (duplicated unique,
or too many of a species) by setting the
individual monster's mhpmax to the cookie
value DEFUNCT_MONSTER. Before getbones() finishes
loading the bones level, it will purge those
monsters from the chain.
2003-09-05 20:39:35 +00:00
..
2002-01-18 02:50:06 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-02-14 01:06:08 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:47 +00:00
2003-01-04 17:37:09 +00:00
2003-09-01 02:23:50 +00:00
2002-02-04 16:06:00 +00:00
2003-07-29 12:08:56 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-03-24 00:47:03 +00:00
2002-03-31 22:56:30 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-08-14 11:04:33 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:47 +00:00
2003-02-20 00:36:14 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:47 +00:00
2003-08-26 00:19:58 +00:00
2003-08-26 00:19:58 +00:00
2003-09-02 16:06:53 +00:00
2002-02-04 16:06:00 +00:00
2002-04-07 10:43:59 +00:00
2002-02-04 16:06:00 +00:00
2003-08-03 18:05:36 +00:00
2002-03-25 08:05:27 +00:00
2003-01-09 01:20:49 +00:00
2002-02-04 16:06:00 +00:00
2003-04-11 22:32:08 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-03-09 15:44:50 +00:00
2003-04-06 15:02:57 +00:00
2002-02-04 16:06:00 +00:00
2003-04-11 22:32:08 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:48 +00:00
2002-08-31 20:14:17 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-07-06 22:06:46 +00:00
2002-02-04 16:06:00 +00:00
2002-03-17 20:02:47 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:48 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-07-06 22:06:46 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-05-20 06:24:46 +00:00
2003-08-01 12:06:43 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-08-17 19:10:52 +00:00
2002-03-17 20:02:47 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-04-11 22:32:08 +00:00
2002-02-04 16:06:00 +00:00