diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-17 01:29:38 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-17 01:29:38 +0000 |
commit | a10146ff5a744a2add4b50d697f28bc785ba2217 (patch) | |
tree | f4761a9676c5146bfd34f448b762a754b949717f /crawl-ref/source/shopping.cc | |
parent | a08c869de350186368c2b009d0bee00949f77804 (diff) | |
download | crawl-ref-a10146ff5a744a2add4b50d697f28bc785ba2217.tar.gz crawl-ref-a10146ff5a744a2add4b50d697f28bc785ba2217.zip |
When using Elyvilon's weapon destruction against missiles, count each
missile individually, as we do with Nemelex already. Also, increase the
value of large rocks; they're mundane, but they do massive damage, so
they should be worth more than ordinary darts or stones.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9787 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r-- | crawl-ref/source/shopping.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index 0129554888..e84af12beb 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -940,7 +940,6 @@ unsigned int item_value( item_def item, bool ident ) { case MI_DART: case MI_STONE: - case MI_LARGE_ROCK: case MI_NONE: valued++; break; @@ -949,6 +948,7 @@ unsigned int item_value( item_def item, bool ident ) case MI_BOLT: valued += 2; break; + case MI_LARGE_ROCK: case MI_JAVELIN: valued += 8; break; |