#U986: <email deleted> wrote

on Sunday, April 4, 2004 at 20:27:06:
> On occassion when restoring a game where the
> character is wielding Sting, floor glyphs
> will show up before the --more-- prompt.
> These floor glyphs usually correspond to the
> location of monsters (sometimes they are just
> cavern features such as walls).  Some of these
> floor glyphs are not in the character's line
> of sight upon restoring.

Also in this patch is a restore of Sting's ability
to glow blue.
This commit is contained in:
nethack.allison
2004-06-04 03:56:27 +00:00
parent d9e2105d22
commit 13e9e30acc
8 changed files with 47 additions and 0 deletions

View File

@@ -1540,5 +1540,18 @@ long *abil;
}
return (struct obj *)0;
}
void
Sting_effects(orc_count)
int orc_count;
{
if (uwep && uwep->oartifact == ART_STING) {
if (orc_count > 0 && warn_obj_cnt == 0)
pline("%s %s %s!", bare_artifactname(uwep),
otense(uwep,"glow"), hcolor(NH_LIGHT_BLUE));
else if (orc_count == 0 && warn_obj_cnt > 0)
pline("%s stops glowing.", bare_artifactname(uwep));
}
}
/*artifact.c*/