From 5e55a276bda898ff3087cc6f198e745355ab8e06 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 24 May 2008 02:44:29 +0000 Subject: Add a minor cleanup. Since blessing a random follower as a result of one of your kills is only done for Beogh, remove the unused code enabling it for TSO. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5205 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 9425d8f40a..e6d8b9e83b 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -988,10 +988,7 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent) // Randomly bless a follower. if (!created_friendly && gives_xp - && (you.religion == GOD_SHINING_ONE - && mons_is_evil_or_unholy(monster) - && random2(you.piety) >= piety_breakpoint(0) - || you.religion == GOD_BEOGH + && (you.religion == GOD_BEOGH && mons_holiness(monster) == MH_NATURAL && random2(you.piety) >= piety_breakpoint(2)) && !player_under_penance()) -- cgit v1.2.3-54-g00ecf