summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-20 22:53:13 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-20 22:53:13 +0000
commit8e6aed77dcf612ec06f14c8ad8f79d83d813ac5b (patch)
tree46b6b0d5cc01cc5e17bd77e47addf3508432855c /crawl-ref/source/fight.h
parent28b0d8ccf5840100bb223502ae19951c859d84b6 (diff)
downloadcrawl-ref-8e6aed77dcf612ec06f14c8ad8f79d83d813ac5b.tar.gz
crawl-ref-8e6aed77dcf612ec06f14c8ad8f79d83d813ac5b.zip
Clean up rotting in melee attacks to not kill the target directly and to
use special_damage_msg, as with draining. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8636 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r--crawl-ref/source/fight.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h
index 9ae999e89d..731430e2f5 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -202,6 +202,7 @@ private:
int fire_res_apply_cerebov_downgrade(int res);
bool defender_is_unholy();
void drain_defender();
+ void rot_defender(int amount, int immediate = 0);
void check_defender_train_armour();
void check_defender_train_dodging();
void splash_defender_with_acid(int strength);