summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-speak.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-11 13:26:22 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-12 00:58:15 +0100
commit65cdfd2ee2a30cd67413258e9b489305655a3830 (patch)
tree2be4352bc322de7a740d8bb08a67cc89c7f6fe58 /crawl-ref/source/mon-speak.cc
parentd6856bb9294025f036d95dac1cc0e02dfd77c7d1 (diff)
downloadcrawl-ref-65cdfd2ee2a30cd67413258e9b489305655a3830.tar.gz
crawl-ref-65cdfd2ee2a30cd67413258e9b489305655a3830.zip
Uniques like Pikel or Grum shouldn't be less chatty when in a band.
Diffstat (limited to 'crawl-ref/source/mon-speak.cc')
-rw-r--r--crawl-ref/source/mon-speak.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-speak.cc b/crawl-ref/source/mon-speak.cc
index df2484850d..3f21434520 100644
--- a/crawl-ref/source/mon-speak.cc
+++ b/crawl-ref/source/mon-speak.cc
@@ -391,8 +391,9 @@ void maybe_mons_speaks (monsters *monster)
int chance = MON_SPEAK_CHANCE * 4;
// Band members are a lot less likely to speak, since there's
- // a lot of them.
- if (testbits(monster->flags, MF_BAND_MEMBER))
+ // a lot of them. Except for uniques.
+ if (testbits(monster->flags, MF_BAND_MEMBER)
+ && !mons_is_unique(monster->type))
chance *= 10;
// However, confused and fleeing monsters are more interesting.