summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-11 22:45:40 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-11 22:45:40 +0000
commitdb13d63c764a1b2481724aa8b09065035dcc4561 (patch)
tree0d97730206819acf1c84844e43a4cf6f689275b2 /crawl-ref/source/item_use.cc
parent7f1f52b6d4774fb6cc523ec035dbf4ac4cd4af48 (diff)
downloadcrawl-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