summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2014-01-25 19:06:02 -0330
committerDracoOmega <draco_omega@live.com>2014-01-28 03:01:54 -0330
commitb13491cb91936ebc94d743f3114e4071e3a6fecc (patch)
tree80dfd9f494ad931000f4d71c8eec36a26bf003e2 /crawl-ref/source/mon-info.cc
parent494c5fece274f39ea1875407b6632be2f55d10f3 (diff)
downloadcrawl-ref-b13491cb91936ebc94d743f3114e4071e3a6fecc.tar.gz
crawl-ref-b13491cb91936ebc94d743f3114e4071e3a6fecc.zip
New monster spell: Virulence
This is a hex whose effect is twofold. First, it multiplies the amount of poison already in the target's system (this cannot be resisted), then attempts to apply a level of poison vulnerability (which can be resisted via MR)
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 82a975eb23..09fa1760a9 100644
--- a/crawl-ref/source/mon-info.cc
+++ b/crawl-ref/source/mon-info.cc
@@ -188,6 +188,8 @@ static monster_info_flags ench_to_mb(const monster& mons, enchant_type ench)
return MB_TORNADO_COOLDOWN;
case ENCH_BARBS:
return MB_BARBS;
+ case ENCH_POISON_VULN:
+ return MB_POISON_VULN;
default:
return NUM_MB_FLAGS;
}
@@ -1548,6 +1550,8 @@ vector<string> monster_info::attributes() const
v.push_back("surrounded by restless winds");
if (is(MB_BARBS))
v.push_back("skewered by manticore barbs");
+ if (is(MB_POISON_VULN))
+ v.push_back("more vulnerable to poison");
return v;
}