diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-23 21:13:52 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-23 21:13:52 +0000 |
commit | 7a912708323cc6f08a40d9db7c7ffbc4a4c3fdc2 (patch) | |
tree | fc1fb44b056d141357c705212231080e14190ef1 | |
parent | 8cd1ead540d9e49b67d345307a615f586afe5886 (diff) | |
download | crawl-ref-7a912708323cc6f08a40d9db7c7ffbc4a4c3fdc2.tar.gz crawl-ref-7a912708323cc6f08a40d9db7c7ffbc4a4c3fdc2.zip |
And tweak the formula again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9808 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/religion.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index b6b0ac392e..f9f4a24a62 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -3873,7 +3873,7 @@ static bool _destroyed_valuable_weapon(int value, int type) // Medium valuable items are more likely to net piety at low piety, // more so for missiles, since they're worth less as single items. - if (random2(value) >= random2((type == OBJ_MISSILES) ? 33 : 100) + if (random2(value) >= random2((type == OBJ_MISSILES) ? 10 : 100) && one_chance_in(1 + you.piety / 50)) { return (true); |