]> granicus.if.org Git - nethack/commit
R806 - monsters using teleportation on noteleport levels
authorcohrs <cohrs>
Sun, 21 Apr 2002 23:25:21 +0000 (23:25 +0000)
committercohrs <cohrs>
Sun, 21 Apr 2002 23:25:21 +0000 (23:25 +0000)
commit8260da268e0b999a92cc3fa4c3ac94936252da1e
tree9a3fffe48a609e37122b7a48db8519d0983b007d
parent2089f618d116e2312c1d8ce81d2a9225b7ec6414
R806 - monsters using teleportation on noteleport levels
Bug reported was that Vlad the Impaler never figured out that a wand of
teleportation was useless.
1) Rather than change the monst struct, overload the use of the mtrapseen
TELEP_TRAP bit to be set when a monster uses teleportation on a noteleport
level.  This has the side effect of causing the monster to know about
teleport traps if they manage to leave the level.
2) reduce chance for monsters to get teleport wands on noteleport levels,
since they will otherwise simply be left mostly charged for the player.
doc/fixes34.1
src/muse.c