fix B18012 - Werebane

Make wielding Werebane confer defense against catching lychanthropy
from monster bites.  It doesn't protect against catching that from eating
lycanthrope corpses and might blast the character if wielded at such time.

     Also fix artifact handling to recognize the character as lycanthrope
while in normal human/elf/whatever form--rather than only when in beast
form--just like it does for monsters.
This commit is contained in:
nethack.rankin
2003-02-14 01:06:08 +00:00
parent a20dc69dee
commit 4496ca3d85
4 changed files with 22 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)artilist.h 3.4 2001/11/17 */
/* SCCS Id: @(#)artilist.h 3.4 2003/02/12 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -107,7 +107,7 @@ A("Demonbane", LONG_SWORD,
A("Werebane", SILVER_SABER,
(SPFX_RESTR|SPFX_DFLAG2), 0, M2_WERE,
PHYS(5,0), NO_DFNS, NO_CARY, 0, A_NONE, NON_PM, NON_PM, 1500L ),
PHYS(5,0), DFNS(AD_WERE), NO_CARY, 0, A_NONE, NON_PM, NON_PM, 1500L ),
A("Grayswandir", SILVER_SABER,
(SPFX_RESTR|SPFX_HALRES), 0, 0,