summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-23 01:32:57 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-23 01:32:57 +0000
commit70b49eb0667159b6a079e8decd5dc37ddfcef60f (patch)
tree1d7803404eebb41c7dd5d0abee6a2e071c5b782c /crawl-ref/source/religion.h
parent6da9dc107ac5c8eac196c44d61105d1e412c9761 (diff)
downloadcrawl-ref-70b49eb0667159b6a079e8decd5dc37ddfcef60f.tar.gz
crawl-ref-70b49eb0667159b6a079e8decd5dc37ddfcef60f.zip
Expand bless_follower() to allow explicitly picking the follower as well
as picking one randomly, fix a potential problem with the display of the blessing message, and add a piety-dependent chance that followers will be specifically blessed when gaining levels. Hook the last of these up to Beogh for now (since the random chance on piety gain occurs less and less often as piety goes up). TSO should also get this eventually. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3821 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r--crawl-ref/source/religion.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h
index b21a525f90..765bdec408 100644
--- a/crawl-ref/source/religion.h
+++ b/crawl-ref/source/religion.h
@@ -72,7 +72,8 @@ bool trog_burn_books();
bool tso_stab_safe_monster(const actor *act);
void bless_follower(god_type god,
- bool (*suitable)(const monsters* mon));
+ bool (*suitable)(const monsters* mon),
+ monsters* follower = NULL);
bool is_orcish_follower(const monsters* mon);
bool god_hates_attacking_friend(god_type god, const actor *fr);