diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-18 21:31:22 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-18 21:31:22 +0000 |
commit | a6d89fbabb631ecbdcbb86c59aa70c28fd7da696 (patch) | |
tree | deea069713bf8cbaf641f4804ff2024674c3b1a3 /crawl-ref/source/fight.h | |
parent | cff1172ef03ea196d3bf59557e983bd0ad6cb7cc (diff) | |
download | crawl-ref-a6d89fbabb631ecbdcbb86c59aa70c28fd7da696.tar.gz crawl-ref-a6d89fbabb631ecbdcbb86c59aa70c28fd7da696.zip |
Consolidate the player and monster draining functions in fight.cc, make
monster draining take multiple levels of negative energy resistance into
account, and only set the necromancy conduct if draining actually took
place, as with draining beams.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8551 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r-- | crawl-ref/source/fight.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h index 8fb863ae74..7a28c08b1c 100644 --- a/crawl-ref/source/fight.h +++ b/crawl-ref/source/fight.h @@ -201,8 +201,6 @@ private: const char *verb); int fire_res_apply_cerebov_downgrade(int res); void drain_defender(); - void drain_player(); - void drain_monster(); void check_defender_train_armour(); void check_defender_train_dodging(); void splash_defender_with_acid(int strength); |