summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.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/religion.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/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc6
1 files changed, 6 insertions, 0 deletions
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;