summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-flags.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-02-02 09:36:58 -0500
committerSteve Melenchuk <smelenchuk@gmail.com>2014-03-04 11:21:50 -0700
commit69b86a6357921c8460511a6a90b35254938e966c (patch)
treefb5a924be0702620d6c61e8a750d0f765c5290b8 /crawl-ref/source/mon-flags.h
parent61501322e2aed0835ac262123df2bf3314795150 (diff)
downloadcrawl-ref-69b86a6357921c8460511a6a90b35254938e966c.tar.gz
crawl-ref-69b86a6357921c8460511a6a90b35254938e966c.zip
Split M_SHADOW from M_GLOWS_LIGHT.
Historically, M_GLOWS_LIGHT was originally a hardcoded list of monsters that can't be backlit: the list was mostly glowing creatures, but also some inherently shadowy ones. When the use of the flag was subsequently expanded, it be Now shadowy creatures: * Can go invisible (even more shadowy) * Have a stealth bonus, not malus. * Are described as "wreathed in shadows" rather than "outlined in light". Give the flag to shadow fiend, shadow dragon, phantasmal warrior, spectral weapon, and shadow fiend. Don't give it to spectral things, which are explicitly described as glowing. (cherry picked from commit c9348eb8f6c4cd4f327a8e0eba418e53d0be50d5) Conflicts: crawl-ref/source/mon-flags.h
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 a7fa5777c6..58e1e88a5d 100644
--- a/crawl-ref/source/mon-flags.h
+++ b/crawl-ref/source/mon-flags.h
@@ -167,6 +167,9 @@ const uint64_t M_OZOCUBUS_ARMOUR = (uint64_t)1<<51;
// monster starts with a Shroud of Golubria
const uint64_t M_SHROUD = (uint64_t)1<<52;
+// monster is shadowy and cannot be backlit (was M_GLOWS_LIGHT)
+const uint64_t M_SHADOW = (uint64_t)1<<53;
+
// Same for flags for actual monsters.
typedef uint64_t monster_flag_type;
const uint64_t MF_NO_REWARD = BIT(0); // no benefit from killing