Demons cannot be frightened by showing them their reflection

From xnethack by copperwater <aosdict@gmail.com>.
This commit is contained in:
Pasi Kallinen
2023-12-10 20:10:22 +02:00
parent e0f591bc49
commit c2802dba2d
2 changed files with 2 additions and 0 deletions

View File

@@ -1144,6 +1144,7 @@ use_mirror(struct obj *obj)
if (!tele_restrict(mtmp))
(void) rloc(mtmp, RLOC_MSG);
} else if (!is_unicorn(mtmp->data) && !humanoid(mtmp->data)
&& !is_demon(mtmp->data)
&& (!mtmp->minvis || perceives(mtmp->data)) && rn2(5)) {
boolean do_react = TRUE;