summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.h
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-05 16:12:18 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-05 16:13:54 -0600
commit8906a6bb5c2f1caca99203876ed2657a1e818437 (patch)
treebbe95429bd7a47d42ab6fb5e52537796e8973f17 /crawl-ref/source/monster.h
parentb11642c2114307bb2cb26cfdcc09707d5f390fc2 (diff)
downloadcrawl-ref-8906a6bb5c2f1caca99203876ed2657a1e818437.tar.gz
crawl-ref-8906a6bb5c2f1caca99203876ed2657a1e818437.zip
In is_evil(), mark monsters with explicitly evil spells.
Unify checks for monsters with chaotic spells, and do the same for them.
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 d749fbfb97..9f7de327ce 100644
--- a/crawl-ref/source/monster.h
+++ b/crawl-ref/source/monster.h
@@ -333,6 +333,8 @@ public:
bool haloed() const;
bool has_spells() const;
+ bool has_evil_spells() const;
+ bool has_chaotic_spells() const;
bool has_spell(spell_type spell) const;
bool has_attack_flavour(int flavour) const;