summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorDavid Ploog <dploog@users.sourceforge.net>2010-01-02 21:39:32 +0100
committerDavid Ploog <dploog@users.sourceforge.net>2010-01-02 21:39:32 +0100
commit86db07d18cd18ef821e8a459393bcee9fbb42228 (patch)
treec8c4390ee344fa03a45d0ec1651eb473fe6a366c /crawl-ref/source/makeitem.cc
parent4688d2108941bcd8ae38ee3997144f876faa2b1c (diff)
downloadcrawl-ref-86db07d18cd18ef821e8a459393bcee9fbb42228.tar.gz
crawl-ref-86db07d18cd18ef821e8a459393bcee9fbb42228.zip
Added a comment to gold acquirement.
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index af66f2386a..7e991e5c83 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -3215,6 +3215,7 @@ int items(int allow_uniques, // not just true-false,
if (force_good)
{
// New gold acquirement formula from dpeg.
+ // Min=220, Max=5520, Mean=1218, Std=911
item.quantity = 10 * (20
+ roll_dice(1, 20)
+ (roll_dice(1, 8)