summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r--crawl-ref/source/monster.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h
index 8fdf14078a..5c8881e9f5 100644
--- a/crawl-ref/source/monster.h
+++ b/crawl-ref/source/monster.h
@@ -136,16 +136,19 @@ public:
bool has_hydra_multi_attack() const;
bool has_multitargeting() const;
- // Has the 'spellcaster' flag (may not actually have any spells)
+ // Has the 'spellcaster' flag (may not actually have any spells).
bool can_use_spells() const;
// Has the 'priest' flag.
bool is_priest() const;
- // Is an actual wizard-type spellcaster, i.e. Trog will dislike it, it
- // can be silenced, etc.
+ // Is an actual wizard-type spellcaster (it can be silenced, etc.).
bool is_actual_spellcaster() const;
+ // Is an actual wizard-type spellcaster, and has spells (Trog will
+ // dislike it).
+ bool is_magic_user() const;
+
// Has ENCH_SHAPESHIFTER or ENCH_GLOWING_SHAPESHIFTER.
bool is_shapeshifter() const;