diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-01-31 10:11:39 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-02-03 10:14:54 -0700 |
commit | 0d6a4c4d1c46134dfc4e5910cf4404a7904b9e4a (patch) | |
tree | 0a0ca43c13769ea02e821ff42235f1844dbfecee /crawl-ref/source/mon-info.cc | |
parent | 68e4d12a9970e6a9cddfd1e5fe51df8fcdba022e (diff) | |
download | crawl-ref-0d6a4c4d1c46134dfc4e5910cf4404a7904b9e4a.tar.gz crawl-ref-0d6a4c4d1c46134dfc4e5910cf4404a7904b9e4a.zip |
Monster Shroud of Golubria spell, effect and M_SHROUD.
The spell is infinite duration for monsters; M_SHROUD starts the monster
with one.
The ability to cast the spell is only really intended for monsters that
start with the spell so that they can renew it.
Diffstat (limited to 'crawl-ref/source/mon-info.cc')
-rw-r--r-- | crawl-ref/source/mon-info.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-info.cc b/crawl-ref/source/mon-info.cc index 56a85e7b8b..f1d2eff8e5 100644 --- a/crawl-ref/source/mon-info.cc +++ b/crawl-ref/source/mon-info.cc @@ -200,6 +200,8 @@ static monster_info_flags ench_to_mb(const monster& mons, enchant_type ench) return MB_BLACK_MARK; case ENCH_SAP_MAGIC: return MB_SAP_MAGIC; + case ENCH_SHROUD: + return MB_SHROUD; default: return NUM_MB_FLAGS; } @@ -1597,6 +1599,8 @@ vector<string> monster_info::attributes() const v.push_back("absorbing vital energies"); if (is(MB_SAP_MAGIC)) v.push_back("magic-sapped"); + if (is(MB_SHROUD)) + v.push_back("shrouded"); return v; } |