From e70481a7e1e421d857655c69e678e0674dd3ceea Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 15 Mar 2008 14:00:55 +0000 Subject: Add more holiness cleanups. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3648 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/fight.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 551073571e..0faada5ee5 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -955,7 +955,7 @@ bool melee_attack::player_apply_aux_unarmed() aux_damage = hurt_monster(def, aux_damage); damage_done = aux_damage; - + if (damage_done > 0) { player_exercise_combat_skills(); @@ -965,10 +965,10 @@ bool melee_attack::player_apply_aux_unarmed() defender->name(DESC_NOCAP_THE).c_str(), debug_damage_number().c_str(), attack_strength_punctuation().c_str()); - + if (damage_brand == SPWPN_VENOM && coinflip()) poison_monster( def, KC_YOU ); - + if (mons_holiness(def) == MH_HOLY) did_god_conduct(DID_ATTACK_HOLY, 1, true, def); @@ -983,7 +983,7 @@ bool melee_attack::player_apply_aux_unarmed() { mprf( "You draw %s's blood!", def->name(DESC_NOCAP_THE, true).c_str() ); - + if (you.hp < you.hp_max) { int heal = 1 + random2(damage_done); -- cgit v1.2.3-54-g00ecf