From 196415dd325aa0fbe4c309f29d86a07a3988cb4a Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Sun, 3 Jan 2010 22:52:08 +1000 Subject: 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. --- crawl-ref/source/shopping.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/shopping.cc') 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; } -- cgit v1.2.3-54-g00ecf