From dcbbee03550116ef26720ccabf543efb15b965a6 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sun, 4 Oct 2009 10:08:24 +0200 Subject: Enable monsters to drink potions of might. This adds new beam and enchantment types, so probably breaks save compatibility. --- crawl-ref/source/directn.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/directn.cc') 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"; -- cgit v1.2.3-54-g00ecf