silver vs lycanthropy (trunk only)

Monster werecritters are vulnerable to silver when in human form as
well as when in beast form, but hero inflicted with lycanthropy was only
vulnerable while in beast form.  Add pseudo-property Hate_silver to handle
that correctly.  Also, add silver vulnerability to enlightenment feedback.
Lastly, hero vulnerable to silver had Con abused if hit by silver missile
but not when hit hand-to-hand; add an exercise() call to the latter.
This commit is contained in:
nethack.rankin
2007-03-18 03:26:43 +00:00
parent 7a70ec2a02
commit 25527a6315
6 changed files with 18 additions and 9 deletions

View File

@@ -1127,6 +1127,7 @@ int final; /* 0 => still in progress; 1 => over, survived; 2 => dead */
#endif
if (Sleeping) enl_msg("You ", "fall", "fell", " asleep", "");
if (Hunger) enl_msg("You hunger", "", "ed", " rapidly", "");
if (Hate_silver) you_are("harmed by silver","");
/*** Vision and senses ***/
if (See_invisible) enl_msg(You_, "see", "saw", " invisible",