From 16f894085e365fafc32914a7850bc53fc94bcd73 Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 21 Apr 2008 22:59:02 +0000 Subject: Adjust it still one more time. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4456 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 24757f97f8..b5970bcc0e 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -1066,6 +1066,10 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent) { monsters *mon = &menv[i]; + // Randomly bless the follower who killed. + if (!one_chance_in(3) && bless_follower(mon)) + break; + if (mon->alive() && mon->hit_points < mon->max_hit_points) { simple_monster_message(mon, " looks invigorated."); @@ -1075,12 +1079,9 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent) } // Randomly bless the follower who killed. - if (((you.religion == GOD_SHINING_ONE - && mons_is_evil_or_unholy(monster) - && random2(you.piety) >= piety_breakpoint(0)) - || (you.religion == GOD_BEOGH - && mons_holiness(monster) == MH_NATURAL - && random2(you.piety) >= piety_breakpoint(2)) + if (((you.religion == GOD_BEOGH + && mons_holiness(monster) == MH_NATURAL + && random2(you.piety) >= piety_breakpoint(2)) && !player_under_penance()) && !one_chance_in(3) && !invalid_monster_index(i)) -- cgit v1.2.3-54-g00ecf