summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shopping.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-13 09:07:44 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-13 09:07:44 +0000
commitc92159fe7f003977dee3ea4d16a18176f6435435 (patch)
tree26584944300881e655f6c80f1b6c5dfff966bc1f /crawl-ref/source/shopping.cc
parent43c3f753a994754337bcae92e498a1f5b6463a83 (diff)
downloadcrawl-ref-c92159fe7f003977dee3ea4d16a18176f6435435.tar.gz
crawl-ref-c92159fe7f003977dee3ea4d16a18176f6435435.zip
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
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r--crawl-ref/source/shopping.cc4
1 files changed, 2 insertions, 2 deletions
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;