From 8906a6bb5c2f1caca99203876ed2657a1e818437 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 5 Nov 2009 16:12:18 -0600 Subject: In is_evil(), mark monsters with explicitly evil spells. Unify checks for monsters with chaotic spells, and do the same for them. --- crawl-ref/source/monster.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/monster.h') 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; -- cgit v1.2.3-54-g00ecf