unseen monster messages
- watch messages if you can't see the watch now start "You hear" - unseen spellcaster messages are shown as "Something", to remove some silly message pairs. - unseen spellcaster that casts at itself causes no message - recalc vision before spoteffects messsages, to avoid invalid "It"
This commit is contained in:
10
src/dokick.c
10
src/dokick.c
@@ -1022,7 +1022,10 @@ dumb:
|
||||
mtmp->data == &mons[PM_WATCH_CAPTAIN]) &&
|
||||
couldsee(mtmp->mx, mtmp->my) &&
|
||||
mtmp->mpeaceful) {
|
||||
pline("%s yells:", Amonnam(mtmp));
|
||||
if (canspotmon(mtmp))
|
||||
pline("%s yells:", Amonnam(mtmp));
|
||||
else
|
||||
You_hear("someone yell:");
|
||||
verbalize("Halt, thief! You're under arrest!");
|
||||
(void) angry_guards(FALSE);
|
||||
break;
|
||||
@@ -1038,7 +1041,10 @@ dumb:
|
||||
if ((mtmp->data == &mons[PM_WATCHMAN] ||
|
||||
mtmp->data == &mons[PM_WATCH_CAPTAIN]) &&
|
||||
mtmp->mpeaceful && couldsee(mtmp->mx, mtmp->my)) {
|
||||
pline("%s yells:", Amonnam(mtmp));
|
||||
if (canspotmon(mtmp))
|
||||
pline("%s yells:", Amonnam(mtmp));
|
||||
else
|
||||
You_hear("someone yell:");
|
||||
if(levl[x][y].looted & D_WARNED) {
|
||||
verbalize("Halt, vandal! You're under arrest!");
|
||||
(void) angry_guards(FALSE);
|
||||
|
||||
Reference in New Issue
Block a user