fix pull request #498 - unseen demon "looks angry"
When a potentially bribable demon lord becomes angry because the hero is wielding Excalibur or Demonbane, avoid "It looks angry" if the demon can't be seen. The pull request just suppressed the message in that situation; I've added an alternate one. Fixes #498
This commit is contained in:
@@ -225,7 +225,10 @@ demon_talk(register struct monst *mtmp)
|
||||
|
||||
if (uwep && (uwep->oartifact == ART_EXCALIBUR
|
||||
|| uwep->oartifact == ART_DEMONBANE)) {
|
||||
pline("%s looks very angry.", Amonnam(mtmp));
|
||||
if (canspotmon(mtmp))
|
||||
pline("%s looks very angry.", Amonnam(mtmp));
|
||||
else
|
||||
You_feel("tension building.");
|
||||
mtmp->mpeaceful = mtmp->mtame = 0;
|
||||
set_malign(mtmp);
|
||||
newsym(mtmp->mx, mtmp->my);
|
||||
|
||||
Reference in New Issue
Block a user