summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-20 16:38:16 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-21 22:10:12 -0700
commitfe637a9830636e896b11b04401062ab67311425a (patch)
tree05cb1f20370b9262064cdad58a68827e70e96945 /crawl-ref/source/mon-info.cc
parent1bfb6b331a4c46c9e88e21fcc8f1a91b87b06d00 (diff)
downloadcrawl-ref-fe637a9830636e896b11b04401062ab67311425a.tar.gz
crawl-ref-fe637a9830636e896b11b04401062ab67311425a.zip
A super-basic icemail effect for gelid demonspawn.
They come with an ENCH_ICEMAIL which gives them 10 AC; if they take fire damage they permanently lose the ENCH_ICEMAIL. Whether we want to have this regenerate or not I leave up in the air for the moment.
Diffstat (limited to 'crawl-ref/source/mon-info.cc')
-rw-r--r--crawl-ref/source/mon-info.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-info.cc b/crawl-ref/source/mon-info.cc
index af4aae88d4..1a06c40881 100644
--- a/crawl-ref/source/mon-info.cc
+++ b/crawl-ref/source/mon-info.cc
@@ -186,6 +186,8 @@ static monster_info_flags ench_to_mb(const monster& mons, enchant_type ench)
return MB_TORNADO;
case ENCH_TORNADO_COOLDOWN:
return MB_TORNADO_COOLDOWN;
+ case ENCH_ICEMAIL:
+ return MB_ICEMAIL;
default:
return NUM_MB_FLAGS;
}
@@ -1567,6 +1569,8 @@ vector<string> monster_info::attributes() const
v.push_back("surrounded by raging winds");
if (is(MB_TORNADO_COOLDOWN))
v.push_back("surrounded by restless winds");
+ if (is(MB_ICEMAIL))
+ v.push_back("surrounded by an icy envelope");
return v;
}