From 3fa87ed8495673bbd6c42e2a21d255d97a7d3636 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 28 Feb 2009 16:36:36 +0000 Subject: Since Beogh now accepts kills of more than just living monsters, allow followers to be properly blessed for such kills. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9281 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index b0cbbb041a..568e119101 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -1368,8 +1368,7 @@ int monster_die(monsters *monster, killer_type killer, if (!created_friendly && gives_xp && (you.religion == GOD_BEOGH - && mons_holiness(monster) == MH_NATURAL - && random2(you.piety) >= piety_breakpoint(2)) + && random2(you.piety) >= piety_breakpoint(2)) && !player_under_penance()) { bless_follower(); @@ -1568,7 +1567,6 @@ int monster_die(monsters *monster, killer_type killer, // Randomly bless the follower who killed. if (you.religion == GOD_BEOGH - && mons_holiness(monster) == MH_NATURAL && random2(you.piety) >= piety_breakpoint(2) && !player_under_penance() && !one_chance_in(3) -- cgit v1.2.3-54-g00ecf