Files
nethack/include
PatR 3eed500886 fix #K669 - 'nasty' monster summoning
Report complained about multiple Archons causing his character to
be swarmed by monsters on the Plane of Fire.  I don't think that
the behavior has changed significantly from how it worked in 3.4.3.
Nobody can summon an Archon directly because they're excluded from
the nasties[] list.  But whenever summoning picks a genocided
'nasty', the result gets replaced by random monster of appropriate
difficulty for the level (which could be an Archon for a high level
character in the endgame).  [Note that that won't pick an Archon
in Gehennom or at arch-lich outside of there because the random
monster creation honors the only-in-hell and never-in-hell flags;
picking from the nasties[] list doesn't.]

This prevents that for any creature (except arch-lich or the Wizard)
casting the summon nasties spell.  If a replacement creature is a
spellcaster it now has to have lower difficulty than the summoner.
If not, it will be discarded even though its difficulty is classified
as appropriate.  So to summon an Archon, the summoner has to have
higher difficulty than an Archon; arch-lich and the Wizard are the
only ones meeting that criterium.  When summoner is an arch-lich,
it can't summon another arch-lich (since that wouldn't have lower
difficulty than the summoner) and can summon (via replacement for
genocided type, and only if outside of Gehennom) at most one Archon.
When summoner is the Wizard, he could summon an arch-lich (when in
Gehennom; demoted to master lich elsewhere--see below) or an Archon
(outside Gehennom only), but at most one per summoning.

For post-Wizard harassment, which effectively has infinite
difficulty level, it could still happen.  However, each instance of
harassment is only allowed to create at most one Archon or arch-lich
now, so chain summoning should be lessoned.  Also if it tries to
pick an arch-lich when outside of Gehennom it will switch to master
lich instead (which won't be allowed to summon an Archon or an arch-
lich or even another master lich).

(The monmove.c bit is unrelated, just some comment formatting that
I had laying around that got mixed in.)
2020-03-27 19:05:52 -07:00
..
2018-11-11 10:29:52 -05:00
2019-11-27 09:53:40 -08:00
2019-11-06 18:43:20 +02:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:15 +09:00
2020-02-26 00:24:37 -05:00
2015-10-17 13:15:46 +03:00
2019-04-19 12:42:35 -07:00
2020-01-29 09:56:43 -05:00
2020-02-12 14:35:37 -08:00
2018-04-25 15:00:13 -04:00
2020-03-07 11:20:45 -08:00
2015-05-25 09:21:31 +09:00
2019-05-12 14:51:26 -04:00
2020-03-15 11:57:34 +02:00
2018-04-25 15:00:13 -04:00
2020-03-27 19:05:52 -07:00
2020-01-29 10:29:37 -05:00
2018-12-15 19:31:42 -05:00
2015-05-25 09:21:15 +09:00
2020-03-04 10:41:57 -05:00
2019-03-06 11:37:52 -08:00
2019-01-28 10:02:08 +01:00
2018-04-25 16:54:50 -04:00
2015-05-25 09:21:15 +09:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2015-10-17 13:15:46 +03:00
2019-05-11 11:10:00 +03:00
2018-04-25 16:54:50 -04:00
2019-11-27 01:27:11 -05:00
2018-04-25 15:00:13 -04:00
2019-06-18 21:50:51 -04:00
2015-05-25 09:21:31 +09:00
2020-03-27 17:47:07 -07:00
2019-01-13 17:19:39 -08:00
2015-05-25 09:21:31 +09:00
2020-02-13 21:24:24 -05:00
2020-01-26 02:58:18 -08:00
2020-01-12 22:02:36 -08:00
2020-03-13 10:48:17 -04:00
2019-11-02 22:53:46 -04:00
2018-10-21 08:45:55 -04:00
2019-10-08 13:26:39 -07:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 18:47:31 +03:00
2019-01-11 17:18:48 -08:00
2020-03-02 16:17:53 +02:00
2019-12-18 07:38:59 -05:00
2019-11-29 17:40:58 -05:00
2018-04-25 15:00:13 -04:00
2018-04-25 16:54:50 -04:00
2019-07-27 16:12:24 -07:00
2018-04-25 15:00:13 -04:00
2019-04-15 13:48:27 -07:00
2019-01-12 01:09:17 -05:00
2019-07-14 23:36:56 -07:00
2019-06-08 09:38:27 -04:00
2015-05-25 09:21:31 +09:00
2020-02-25 16:18:58 -08:00
2015-05-25 09:21:31 +09:00
2020-03-14 03:47:27 -07:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2020-02-12 14:35:37 -08:00