summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-flags.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-31 11:32:37 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-31 11:40:56 -0700
commit74625fffcfc1c84331257d13f6cf88a443828a53 (patch)
tree4a9319ffe5b7a71f1ab2548da5d895bacf2ba266 /crawl-ref/source/mon-flags.h
parent25c05303298545bc852be44236219cc4defe5d43 (diff)
downloadcrawl-ref-74625fffcfc1c84331257d13f6cf88a443828a53.tar.gz
crawl-ref-74625fffcfc1c84331257d13f6cf88a443828a53.zip
Rework the monster Ozocubu's Armour effect and give back to Fannar.
Primarily, this introduces an M_OZOCUBUS_ARMOUR that pre-generates tagged monsters with the enchantment already in effect and that does not time out. The spell still exists, and also gives armour that doesn't time out; this would be most likely to be used a monster that has M_OZOCUBUS_ARMOUR. Since the original implementation was for Fannar, it makes sense that he's the first to get it back. I haven't touched his current spell set because he's probably still going to die quickly enough that he won't waste a turn casting it again.
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 945b08be55..503471f7c8 100644
--- a/crawl-ref/source/mon-flags.h
+++ b/crawl-ref/source/mon-flags.h
@@ -161,6 +161,9 @@ const uint64_t M_HYBRID = (uint64_t)1<<49;
// monster is always alerted to hostiles, and does not forget them over time
const uint64_t M_VIGILANT = (uint64_t)1<<50;
+// monster starts with Ozocubu's Armour
+const uint64_t M_OZOCUBUS_ARMOUR = (uint64_t)1<<51;
+
// Same for flags for actual monsters.
typedef uint64_t monster_flag_type;
const uint64_t MF_NO_REWARD = BIT(0); // no benefit from killing