diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-18 11:47:36 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-18 11:47:36 -0600 |
commit | 67d62e68ee2a76dcaf82421962a1fb2a2d4000f7 (patch) | |
tree | 680a8a418ca709b71f04906e97b5d00794df2182 /crawl-ref/source/monster.cc | |
parent | 26d05004acfa10f6e0ff420b46afbd1346264c35 (diff) | |
download | crawl-ref-67d62e68ee2a76dcaf82421962a1fb2a2d4000f7.tar.gz crawl-ref-67d62e68ee2a76dcaf82421962a1fb2a2d4000f7.zip |
Count AF_DISEASE attacks as chaotic, to cover e.g. rotting hilks.
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r-- | crawl-ref/source/monster.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index abedfba501..92b1fe91cf 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -3052,7 +3052,8 @@ bool monsters::is_chaotic() const if (has_chaotic_spell()) return (true); - if (has_attack_flavour(AF_HUNGER) + if (has_attack_flavour(AF_DISEASE) + || has_attack_flavour(AF_HUNGER) || has_attack_flavour(AF_MUTATE) || has_attack_flavour(AF_ROT) || has_attack_flavour(AF_KLOWN) |