diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-20 03:35:47 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-20 03:35:47 +0000 |
commit | 76045c6d3d8d2fb15acf777d5998ef26aab764fa (patch) | |
tree | 9cfe433a26ca922e960eb71a5aaf74f0637239ab /crawl-ref/source/abl-show.cc | |
parent | d92b5fb96be89a88b46a1061d4aba731bd56cd2b (diff) | |
download | crawl-ref-76045c6d3d8d2fb15acf777d5998ef26aab764fa.tar.gz crawl-ref-76045c6d3d8d2fb15acf777d5998ef26aab764fa.zip |
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
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r-- | crawl-ref/source/abl-show.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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: |