summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-03 01:59:46 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-03 02:01:46 +0530
commit4688d2108941bcd8ae38ee3997144f876faa2b1c (patch)
tree9f01f88b884cb6af6cda95b96580c9b275b78556 /crawl-ref/source/effects.cc
parent2f88dcd080dc115c59d8cd993f1b302a4594b1fa (diff)
downloadcrawl-ref-4688d2108941bcd8ae38ee3997144f876faa2b1c.tar.gz
crawl-ref-4688d2108941bcd8ae38ee3997144f876faa2b1c.zip
New gold acquirement formula (dpeg).
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index f43c3843ed..3402037d7e 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2159,10 +2159,7 @@ int acquirement_create_item(object_class_type class_wanted,
// Easier to read this way.
item_def& thing(mitm[thing_created]);
- // Give some more gold.
- if (class_wanted == OBJ_GOLD)
- thing.quantity += 150;
- else if (class_wanted == OBJ_WANDS)
+ if (class_wanted == OBJ_WANDS)
thing.plus = std::max((int) thing.plus, 3 + random2(3));
else if (quant > 1)
thing.quantity = quant;