From 76045c6d3d8d2fb15acf777d5998ef26aab764fa Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 20 Nov 2007 03:35:47 +0000 Subject: Add various patches of mine: [1824221] don't give Yred-worshipping demonspawn the "raise dead" mutation [1829258] remove wrongly hardcoded exp-draining resistance for undead [1829691] typo fixes [1830030] clean up random god servant handling [1829890] fix divine retribution messages, generalize berserker summoning git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2877 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/abl-show.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/abl-show.cc') diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index a7fa3bba2c..3892ceb210 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -1573,7 +1573,9 @@ static bool do_ability(const ability_def& abil) case ABIL_TROG_BROTHERS_IN_ARMS: // Trog abilities don't use or train invocations. - summon_berserker(); + summon_berserker(you.piety + + random2(you.piety/4) - random2(you.piety/4), + true); break; case ABIL_SIF_MUNA_FORGET_SPELL: -- cgit v1.2.3-54-g00ecf