diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-28 16:36:36 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-28 16:36:36 +0000 |
commit | 3fa87ed8495673bbd6c42e2a21d255d97a7d3636 (patch) | |
tree | aa6358bfde03b9c46b025a88471b0d530cad5155 | |
parent | 1d1741d3184fa338c84538b2d3d1ad094bddad86 (diff) | |
download | crawl-ref-3fa87ed8495673bbd6c42e2a21d255d97a7d3636.tar.gz crawl-ref-3fa87ed8495673bbd6c42e2a21d255d97a7d3636.zip |
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
-rw-r--r-- | crawl-ref/source/monstuff.cc | 4 |
1 files changed, 1 insertions, 3 deletions
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) |