From 7a912708323cc6f08a40d9db7c7ffbc4a4c3fdc2 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 23 May 2009 21:13:52 +0000 Subject: And tweak the formula again. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9808 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-54-g00ecf