diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-19 18:41:39 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-19 18:41:39 +0000 |
commit | 2f92d2bfa69077fcafbbe3f023c06a0a8dfdb6c6 (patch) | |
tree | cf96eb9e7c6de96f5b5a0f211ebcc928c94ea501 | |
parent | 652785042473d645b0c5642302af9d18d2201387 (diff) | |
download | crawl-ref-2f92d2bfa69077fcafbbe3f023c06a0a8dfdb6c6.tar.gz crawl-ref-2f92d2bfa69077fcafbbe3f023c06a0a8dfdb6c6.zip |
Make shield training a little less easy.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1065 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/player.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 2ac89e2b44..2de57145b7 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -5015,7 +5015,8 @@ int player::shield_bypass_ability(int tohit) const void player::shield_block_succeeded() { shield_blocks++; - exercise(SK_SHIELDS, 1); + if (coinflip()) + exercise(SK_SHIELDS, 1); } bool player::wearing_light_armour(bool with_skill) const |