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/religion.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crawl-ref/source/religion.cc') diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index ae5f91fca3..5ca5c8ae88 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -8169,6 +8169,12 @@ int get_tension(god_type god, bool count_travelling) exper /= 2; } + if (mons->has_ench(ENCH_MIGHT)) + { + exper *= 5; + exper /= 4; + } + if (mons->has_ench(ENCH_BERSERK)) exper *= 2; -- cgit v1.2.3-54-g00ecf