From b97996cd4e4b7c117951a4adf7bb9b4b2ec61b98 Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 23 Jul 2007 20:59:37 +0000 Subject: Added potions of resistance, which give fire, electricity and cold resist for 10 + random2(40) turns. Rareness roughly equivalent to levitation. This is FR 1756363. The potion does *not* give MR. Rewrote some vampire potion handling, including some changes: e.g. vampires can now be paralysed by potions of paralysis (I don't see why they shouldn't be.) For now there is no status message for fire/cold resist; will change soon. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1918 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/shopping.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/shopping.cc') diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index 627874cd5d..fce0a7cab6 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -1113,6 +1113,9 @@ unsigned int item_value( item_def item, bool ident ) case POT_MAGIC: valued += 120; break; + case POT_RESISTANCE: + valued += 70; + break; case POT_INVISIBILITY: valued += 55; break; -- cgit v1.2.3-54-g00ecf