From 444cf58a14428a88d0adb4f36f694da950e4d46a Mon Sep 17 00:00:00 2001 From: Stefan O'Rear Date: Sun, 8 Nov 2009 15:29:05 -0800 Subject: Add hooks to evasion for observing the size of modifiers --- crawl-ref/source/player.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/player.h') diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index f5e12a5ed5..f8d1e43f95 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -479,7 +479,8 @@ public: bool can_throw_large_rocks() const; int armour_class() const; - int melee_evasion(const actor *attacker) const; + int melee_evasion(const actor *attacker, + ev_ignore_type evit = EV_IGNORE_NONE) const; int stat_hp() const { return hp; } int stat_maxhp() const { return hp_max; } @@ -581,7 +582,7 @@ int check_stealth(void); int player_energy(void); -int player_evasion(void); +int player_evasion(ev_ignore_type evit = EV_IGNORE_NONE); int player_movement_speed(void); -- cgit v1.2.3-54-g00ecf