summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-03 00:45:39 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-03 00:45:39 +0100
commit60a8f22decf862c6fd049bddb0f84dcb3605000c (patch)
tree0698ed58713da81f848b5087faa3585655dde5ed /crawl-ref/source/monster.cc
parent8071ced06b4278057d947cfb0a3ac1eedd51f700 (diff)
downloadcrawl-ref-60a8f22decf862c6fd049bddb0f84dcb3605000c.tar.gz
crawl-ref-60a8f22decf862c6fd049bddb0f84dcb3605000c.zip
Give piety for the worst god for killing the best monster.
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index ff9a0134c4..b3a0ba7522 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -3138,8 +3138,11 @@ bool monsters::is_unclean() const
bool monsters::is_chaotic() const
{
- if (type == MONS_UGLY_THING || type == MONS_VERY_UGLY_THING)
+ if (type == MONS_UGLY_THING || type == MONS_VERY_UGLY_THING
+ || type == MONS_CRAZY_YIUF)
+ {
return (true);
+ }
if (is_shapeshifter())
return (true);