summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-04 10:08:24 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-07 08:40:36 +0200
commitdcbbee03550116ef26720ccabf543efb15b965a6 (patch)
tree5dda9bf174022463a5a451846a5f0fdac070519f /crawl-ref/source/directn.cc
parentbca0a29a7910c1ee917e90084e308eef70e121e8 (diff)
downloadcrawl-ref-dcbbee03550116ef26720ccabf543efb15b965a6.tar.gz
crawl-ref-dcbbee03550116ef26720ccabf543efb15b965a6.zip
Enable monsters to drink potions of might.
This adds new beam and enchantment types, so probably breaks save compatibility.
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index ed71bbebb1..6e5ce8f30b 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -3000,7 +3000,8 @@ static std::string _describe_mons_enchantment(const monsters &mons,
return "";
}
- if ((ench.ench == ENCH_HASTE || ench.ench == ENCH_BATTLE_FRENZY)
+ if ((ench.ench == ENCH_HASTE || ench.ench == ENCH_BATTLE_FRENZY
+ || ench.ench == ENCH_MIGHT)
&& mons.has_ench(ENCH_BERSERK))
{
return "";
@@ -3025,6 +3026,7 @@ static std::string _describe_mons_enchantment(const monsters &mons,
case ENCH_BERSERK: return "berserk";
case ENCH_BATTLE_FRENZY: return "consumed by blood-lust";
case ENCH_HASTE: return "moving very quickly";
+ case ENCH_MIGHT: return "unusually strong";
case ENCH_CONFUSION: return "bewildered and confused";
case ENCH_INVIS: return "slightly transparent";
case ENCH_CHARM: return "in your thrall";