Applying a cursed lamp can make your hands slippery

This commit is contained in:
Pasi Kallinen
2022-07-12 22:12:52 +03:00
parent e339f8a1fa
commit 81d54f15ce
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -1595,7 +1595,11 @@ use_lamp(struct obj *obj)
return;
}
if (obj->cursed && !rn2(2)) {
if (!Blind)
if ((obj->otyp == OIL_LAMP || obj->otyp == MAGIC_LAMP) && !rn2(3)) {
pline_The("lamp spills and covers your %s with oil.",
fingers_or_gloves(TRUE));
make_glib((int) (Glib & TIMEOUT) + d(2, 10));
} else if (!Blind)
pline("%s for a moment, then %s.", Tobjnam(obj, "flicker"),
otense(obj, "die"));
} else {