relent on silver bell usage...
Allow a hero in silver-hating form to ring the Bell of Opening when on the vibrating square so be able to perform the invocation ritual. But only at that location and only if the stairs aren't there yet. This is about on par with being able to read the Book of the Dead while blind although that isn't limited to a specific location.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 artifact.c $NHDT-Date: 1593306896 2020/06/28 01:14:56 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.157 $ */
|
||||
/* NetHack 3.6 artifact.c $NHDT-Date: 1593611274 2020/07/01 13:47:54 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.158 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2013. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -1948,6 +1948,12 @@ boolean loseit; /* whether to drop it if hero can longer touch it */
|
||||
{
|
||||
struct obj *obj = *objp;
|
||||
|
||||
/* allow hero in silver-hating form to try to perform invocation ritual */
|
||||
if (obj->otyp == BELL_OF_OPENING
|
||||
&& invocation_pos(u.ux, u.uy) && !On_stairs(u.ux, u.uy)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (touch_artifact(obj, &g.youmonst)) {
|
||||
char buf[BUFSZ];
|
||||
int dmg = 0, tmp;
|
||||
|
||||
Reference in New Issue
Block a user