diff options
author | Neil Moore <neil@s-z.org> | 2014-07-12 15:16:37 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-12 15:16:37 -0400 |
commit | 18de428f80c0bf591b9d075288a7e3f1d35b774f (patch) | |
tree | 0828efce2833d0d28af24e1649117041db225777 /crawl-ref/source/player.h | |
parent | 53f97d336ffa310c8bd12848e9375c45e308c028 (diff) | |
download | crawl-ref-18de428f80c0bf591b9d075288a7e3f1d35b774f.tar.gz crawl-ref-18de428f80c0bf591b9d075288a7e3f1d35b774f.zip |
Make boots block the effects of hooves.
But not centaur bardings, since those don't cover the feet.
This applies to both the kick attack and the stealth penalty.
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r-- | crawl-ref/source/player.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index 38a704c0c7..545d4aea9e 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -515,6 +515,8 @@ public: bool has_usable_claws(bool allow_tran = true) const; int has_talons(bool allow_tran = true) const; bool has_usable_talons(bool allow_tran = true) const; + int has_hooves(bool allow_tran = true) const; + bool has_usable_hooves(bool allow_tran = true) const; int has_fangs(bool allow_tran = true) const; int has_usable_fangs(bool allow_tran = true) const; int has_tail(bool allow_tran = true) const; |