Darkness msg despite sunsword

> Is the "You are surrounded by darkness!" message from reading a cursed
> scroll of light (or non-cursed if confused) appropriate if you're
> wielding Sunsword, which _doesn't_ get turned off by it?
This commit is contained in:
nethack.allison
2002-02-24 19:13:32 +00:00
parent 2911465ada
commit 8d08badfbb

View File

@@ -1328,7 +1328,11 @@ struct obj *obj;
pline("It seems even darker in here than before.");
return;
}
You("are surrounded by darkness!");
if (uwep && artifact_light(uwep) && uwep->lamplit)
pline("Suddenly, the only light left comes from %s!",
the(xname(uwep)));
else
You("are surrounded by darkness!");
}
/* the magic douses lamps, et al, too */