diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-03 22:52:08 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-03 23:54:25 +1000 |
commit | 196415dd325aa0fbe4c309f29d86a07a3988cb4a (patch) | |
tree | 7803b54e9c4b1358471630b50cd63f27e42b37f8 /crawl-ref/source/shopping.cc | |
parent | a0c81e59f0325e542ecf2feaa21b29cd3ffc0bc1 (diff) | |
download | crawl-ref-196415dd325aa0fbe4c309f29d86a07a3988cb4a.tar.gz crawl-ref-196415dd325aa0fbe4c309f29d86a07a3988cb4a.zip |
New (ranged) weapon brand: evasion.
This replaces "protection" on all ranged weapons, and will only generate
on those.
This commit also fixes shopping values for the new needle brands.
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r-- | crawl-ref/source/shopping.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index ac20af1433..5606ef4428 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -1061,6 +1061,7 @@ unsigned int item_value( item_def item, bool ident ) case SPWPN_VORPAL: case SPWPN_PROTECTION: + case SPWPN_EVASION: valued *= 20; break; } @@ -1197,6 +1198,12 @@ unsigned int item_value( item_def item, bool ident ) break; case SPMSL_POISONED: + case SPMSL_PARALYSIS: + case SPMSL_SLOW: + case SPMSL_SLEEP: + case SPMSL_CONFUSION: + case SPMSL_SICKNESS: + case SPMSL_RAGE: valued *= 23; break; } |