summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 11:46:24 +0000
committerdploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 11:46:24 +0000
commit78db5db504f491e368f4fdef6dff4976cb003951 (patch)
treee8833ae30e26aa975d7e421253c57cc7cf925ca5 /crawl-ref
parent7fce9b7324c77c16c310e76a6d697e6f84fc9398 (diff)
downloadcrawl-ref-78db5db504f491e368f4fdef6dff4976cb003951.tar.gz
crawl-ref-78db5db504f491e368f4fdef6dff4976cb003951.zip
Added comment.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5845 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/religion.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index ee472d24da..4790b0b5ec 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -672,16 +672,16 @@ static bool _need_missile_gift()
static void _get_pure_deck_weights(int weights[])
{
- weights[0] = you.sacrifice_value[OBJ_ARMOUR] + 1;
- weights[1] = you.sacrifice_value[OBJ_WEAPONS]
+ weights[0] = you.sacrifice_value[OBJ_ARMOUR] + 1;
+ weights[1] = you.sacrifice_value[OBJ_WEAPONS]
+ you.sacrifice_value[OBJ_STAVES]
+ you.sacrifice_value[OBJ_MISSILES] + 1;
- weights[2] = you.sacrifice_value[OBJ_MISCELLANY]
+ weights[2] = you.sacrifice_value[OBJ_MISCELLANY]
+ you.sacrifice_value[OBJ_JEWELLERY]
+ you.sacrifice_value[OBJ_BOOKS]
- + you.sacrifice_value[OBJ_GOLD];
- weights[3] = you.sacrifice_value[OBJ_CORPSES] / 2;
- weights[4] = you.sacrifice_value[OBJ_POTIONS]
+ + you.sacrifice_value[OBJ_GOLD]; // only via acquirement
+ weights[3] = you.sacrifice_value[OBJ_CORPSES] / 2;
+ weights[4] = you.sacrifice_value[OBJ_POTIONS]
+ you.sacrifice_value[OBJ_SCROLLS]
+ you.sacrifice_value[OBJ_WANDS]
+ you.sacrifice_value[OBJ_FOOD];