From 5bea4d013197ca276fbeb267ac9fc3fd2f37450c Mon Sep 17 00:00:00 2001 From: dshaligram Date: Thu, 10 Jan 2008 14:20:47 +0000 Subject: More resist fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3242 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/fight.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/fight.h') diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h index 1a62c70b41..b61478a058 100644 --- a/crawl-ref/source/fight.h +++ b/crawl-ref/source/fight.h @@ -36,8 +36,8 @@ struct mon_attack_def; * *********************************************************************** */ int effective_stat_bonus( int wepType = -1 ); -int resist_adjust_damage(actor *defender, int res, int rawdamage, - bool ranged = false); +int resist_adjust_damage(actor *defender, beam_type flavour, + int res, int rawdamage, bool ranged = false); // added Sept 18, 2000 -- bwr /* *********************************************************************** @@ -166,7 +166,9 @@ private: bool attack_shield_blocked(bool verbose); bool apply_damage_brand(); - void calc_elemental_brand_damage(int res, const char *verb); + void calc_elemental_brand_damage(beam_type flavour, + int res, + const char *verb); int fire_res_apply_cerebov_downgrade(int res); void drain_defender(); void drain_player(); -- cgit v1.2.3-54-g00ecf