]> granicus.if.org Git - nethack/commitdiff
U659 - "destroy" manes
authorcohrs <cohrs>
Wed, 24 Sep 2003 01:29:54 +0000 (01:29 +0000)
committercohrs <cohrs>
Wed, 24 Sep 2003 01:29:54 +0000 (01:29 +0000)
Nethack's manes are based on AD&D manes which are in turn based on the
manes of Roman legend.  They are supposed to be spirits of the dead.
To that end, added them to the nonliving() macro.  The biggest behavioral
change is that death spells no longer effect them, which does technically
make them a bit tougher but also makes sense.  Also, they're so wimpy, it's
hard to believe anyone would use a death/disintegration on them anyway.

doc/fixes34.3
include/mondata.h

index dc745af6caf8253c2b89c5fbb3abf5a02cd82e5e..e3d1ccb6d00ff0cf1f76e7b040c4cf4769200106 100644 (file)
@@ -27,6 +27,7 @@ it was inappropriate to have a ghost "appear" in desecrated temple when
        you were blind and without telepathy
 accept wish for "grey spell book" not just "grey spellbook"
 do not double credit when putting gold into an unpaid container
+manes are nonliving
 
 
 Platform- and/or Interface-Specific Fixes
index 6cf6ea9eeaf9415df08e0126e899d7ecb5a38b19..0e6a0df67db20b50c4b681ccbf1958a65bc89142 100644 (file)
                                 (ptr) == &mons[PM_MASTER_MIND_FLAYER])
 
 #define nonliving(ptr)         (is_golem(ptr) || is_undead(ptr) || \
-                                (ptr)->mlet == S_VORTEX)
+                                (ptr)->mlet == S_VORTEX || \
+                                (ptr) == &mons[PM_MANES])
 
 /* Used for conduct with corpses, tins, and digestion attacks */
 /* G_NOCORPSE monsters might still be swallowed as a purple worm */