diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-11 22:45:40 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-11 22:45:40 +0000 |
commit | db13d63c764a1b2481724aa8b09065035dcc4561 (patch) | |
tree | 0d97730206819acf1c84844e43a4cf6f689275b2 /crawl-ref/source/item_use.cc | |
parent | 7f1f52b6d4774fb6cc523ec035dbf4ac4cd4af48 (diff) | |
download | crawl-ref-db13d63c764a1b2481724aa8b09065035dcc4561.tar.gz crawl-ref-db13d63c764a1b2481724aa8b09065035dcc4561.zip |
Move the routine to calculate the racial armor bonus into its own
function. Also, use it to properly apply racial bonuses to shields, so
that racial shields mean something. (Note that the bonus for shields is
2/3 the bonus for armor, as the upper limit for shields is 20, as
opposed to armor's 30.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3605 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
0 files changed, 0 insertions, 0 deletions