summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-flags.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2013-01-15 17:22:19 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2013-05-27 17:48:59 -0600
commit5cdac9c2ee98f4b21ece6ce93679d636a562042c (patch)
treeb898a1f6c4ae5b9113cc73590803960ac7720720 /crawl-ref/source/mon-flags.h
parent1d8600c3b99806016391cca0eac26c7fb8a05716 (diff)
downloadcrawl-ref-5cdac9c2ee98f4b21ece6ce93679d636a562042c.tar.gz
crawl-ref-5cdac9c2ee98f4b21ece6ce93679d636a562042c.zip
Spriggan assassins and spriggan enchanters.
This takes advantage of the pre-existing enum and description for assassins, and reuses the description from the now-non-existent Rogue's Gallery serial vault. This introduces an M_STABBER monster class flag. Monsters with this flag will try to maintain their distance (using ranged attacks) until such a time as their target is incapacitated, at which time they switch to melee to attack their target. Stabbers without a means of ranged attack will assume normal monster behaviour. Assassins get this flag with blowguns and status-inflicting needles; enchanters get this flag with a spell-set to complement it.
Diffstat (limited to 'crawl-ref/source/mon-flags.h')
-rw-r--r--crawl-ref/source/mon-flags.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-flags.h b/crawl-ref/source/mon-flags.h
index 300b984f1f..19bae3cb68 100644
--- a/crawl-ref/source/mon-flags.h
+++ b/crawl-ref/source/mon-flags.h
@@ -149,6 +149,9 @@ const uint64_t M_NO_ZOMBIE = (uint64_t)1<<45;
// cannot be placed by any means, even on the arena/etc
const uint64_t M_CANT_SPAWN = (uint64_t)1<<46;
+// tries to maintain range unless target is incapacitated
+const uint64_t M_STABBER = (uint64_t)1<<45;
+
// Same for flags for actual monsters.
typedef uint64_t monster_flag_type;
const uint64_t MF_NO_REWARD = BIT(0); // no benefit from killing