summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-11-08 15:29:05 -0800
committerStefan O'Rear <stefanor@cox.net>2009-11-08 15:29:54 -0800
commit444cf58a14428a88d0adb4f36f694da950e4d46a (patch)
treeda0a6c20eb11c18e1d21c37bb5aafb338fea5288 /crawl-ref/source/player.h
parent7eb0ec4b7f8ef0b96a54ddb5626f71084213bf4f (diff)
downloadcrawl-ref-444cf58a14428a88d0adb4f36f694da950e4d46a.tar.gz
crawl-ref-444cf58a14428a88d0adb4f36f694da950e4d46a.zip
Add hooks to evasion for observing the size of modifiers
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h5
1 files changed, 3 insertions, 2 deletions
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);