From c92159fe7f003977dee3ea4d16a18176f6435435 Mon Sep 17 00:00:00 2001 From: haranp Date: Fri, 13 Apr 2007 09:07:44 +0000 Subject: Implemented Erik's randart-MR-is-multiplicative idea. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1294 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/shopping.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/shopping.cc') diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index 31c52d943d..a5f46d5077 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -523,9 +523,9 @@ int randart_value( const item_def &item ) if (prop[ RAP_ELECTRICITY ]) ret += 30; - // magic resistance is from 20-120 + // magic resistance is from 35-100 if (prop[ RAP_MAGIC ]) - ret += 5 + prop[ RAP_MAGIC ] / 10; + ret += 5 + prop[ RAP_MAGIC ] / 15; if (prop[ RAP_EYESIGHT ]) ret += 10; -- cgit v1.2.3-54-g00ecf