diff options
author | Eino Keskitalo <evktalo@users.sourceforge.net> | 2009-10-30 01:54:14 +0200 |
---|---|---|
committer | Eino Keskitalo <evktalo@users.sourceforge.net> | 2009-10-30 01:54:14 +0200 |
commit | 99e4ad77265f9c3a891c5b8f863abd81f6e288d7 (patch) | |
tree | 5b305c94f55ed7f02c80e8b377b7e5fdaf0701fa /crawl-ref/source/shopping.cc | |
parent | 86b09e2f211714a23a44dc39d58dd5fb2fe50214 (diff) | |
download | crawl-ref-99e4ad77265f9c3a891c5b8f863abd81f6e288d7.tar.gz crawl-ref-99e4ad77265f9c3a891c5b8f863abd81f6e288d7.zip |
Generate the new ammo brands randomly.
Weights now being:
Flame 3
Frost 3
Poiso 2
Penet 1
Reapi 1
Silve 1
Steel 1
Dispe 1
Explo 2
Also gave all the new brands a shopping price multiplier - *30, same as curare.
Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r-- | crawl-ref/source/shopping.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index 1cfc7df4fd..5a82028d8c 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -1093,6 +1093,12 @@ unsigned int item_value( item_def item, bool ident ) break; case SPMSL_CURARE: + case SPMSL_PENETRATION: + case SPMSL_REAPING: + case SPMSL_SILVER: + case SPMSL_STEEL: + case SPMSL_DISPERSAL: + case SPMSL_EXPLODING: valued *= 30; break; |