summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.h
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-19 05:55:49 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-19 06:31:39 -0600
commitad599ad1c85be1ffba72f5aacacf869fa85010ca (patch)
tree40ee99cb940687ed21de444be1bbf78003b3316f /crawl-ref/source/monster.h
parentb1aaf507f2ecb50a7792037b1f9894e06591ce3d (diff)
downloadcrawl-ref-ad599ad1c85be1ffba72f5aacacf869fa85010ca.tar.gz
crawl-ref-ad599ad1c85be1ffba72f5aacacf869fa85010ca.zip
Split chaotic things into unclean and chaotic things.
Chaotic things are now shapeshifters, mutators, etc., while unclean things are diseasing things, rotting things, etc. Zin still hates both. As good gods treat both unholy and evil monsters as evil, he'll treat both unclean and chaotic monsters as chaotic. Note that silver will only do extra damage to chaotics, as before.
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r--crawl-ref/source/monster.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h
index dce3d7e60e..84a291cef8 100644
--- a/crawl-ref/source/monster.h
+++ b/crawl-ref/source/monster.h
@@ -305,6 +305,7 @@ public:
bool is_holy() const;
bool is_unholy() const;
bool is_evil() const;
+ bool is_unclean() const;
bool is_chaotic() const;
int res_fire() const;
int res_steam() const;
@@ -356,6 +357,7 @@ public:
bool has_holy_spell() const;
bool has_unholy_spell() const;
bool has_evil_spell() const;
+ bool has_unclean_spell() const;
bool has_chaotic_spell() const;
bool has_attack_flavour(int flavour) const;