From 95259b9b62799b2e5fe00f8833c28b8a96879e49 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 28 Nov 2007 18:14:42 +0000 Subject: [1836426] Fixed penance message sequence for beams, clamped penance messages at one per turn. (Penance message sequence for melee combat not fixed yet.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2926 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 87f3b4c336..a851a5e73d 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -640,32 +640,33 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent) { if (mons_holiness(monster) == MH_NATURAL) did_god_conduct(DID_KILL_LIVING, - monster->hit_dice); + monster->hit_dice, true, monster); if (mons_holiness(monster) == MH_UNDEAD) did_god_conduct(DID_KILL_UNDEAD, - monster->hit_dice); + monster->hit_dice, true, monster); if (mons_holiness(monster) == MH_DEMONIC) did_god_conduct(DID_KILL_DEMON, - monster->hit_dice); + monster->hit_dice, true, monster); if (mons_class_flag(monster->type, M_EVIL)) did_god_conduct(DID_KILL_NATURAL_EVIL, - monster->hit_dice); + monster->hit_dice, true, monster); // jmf: Trog hates wizards if (mons_is_magic_user(monster)) did_god_conduct(DID_KILL_WIZARD, - monster->hit_dice); + monster->hit_dice, true, monster); // Beogh hates priests of other gods. if (mons_class_flag(monster->type, M_PRIEST)) did_god_conduct(DID_KILL_PRIEST, - monster->hit_dice); + monster->hit_dice, true, monster); if (mons_holiness(monster) == MH_HOLY) - did_god_conduct(DID_KILL_ANGEL, monster->hit_dice); + did_god_conduct(DID_KILL_ANGEL, monster->hit_dice, + true, monster); } // Divine health and mp restoration doesn't happen when killing -- cgit v1.2.3-54-g00ecf