diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 238be50b2d..2858bb44d1 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -5340,6 +5340,11 @@ bool player::confused() const return (duration[DUR_CONF]); } +bool player::caught() const +{ + return (attribute[ATTR_CAUGHT]); +} + int player::shield_block_penalty() const { return (5 * shield_blocks * shield_blocks); |