diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-15 14:00:55 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-15 14:00:55 +0000 |
commit | e70481a7e1e421d857655c69e678e0674dd3ceea (patch) | |
tree | 92ca6c3f4faffb2f52b40e1b639ad944cf4e4ba6 /crawl-ref/source/fight.cc | |
parent | c0daf0b5b7d7c4a31909946eefb4141b134d0cb7 (diff) | |
download | crawl-ref-e70481a7e1e421d857655c69e678e0674dd3ceea.tar.gz crawl-ref-e70481a7e1e421d857655c69e678e0674dd3ceea.zip |
Add more holiness cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3648 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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); |