From 4178f0ba32092c3da5f4196ac78545f8db2913d7 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Fri, 21 Mar 2014 22:56:28 -0500 Subject: [PATCH] fix(quests): Remove double chance for quest drops Makes collection quests maybe, possibly take more than a single day to complete for an average party. Doubled chances not fed through diminishingReturns: overkill. --- script/index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/index.coffee b/script/index.coffee index 44bf6f0b55..c2f8aaa6ec 100644 --- a/script/index.coffee +++ b/script/index.coffee @@ -1003,7 +1003,7 @@ api.wrap = (user, main=true) -> #console.log("Drop chance: " + chance) quest = content.quests[user.party.quest?.key] - if quest?.collect and user.fns.predictableRandom(user.stats.gp) < (chance * 2) # 2x as likely to get a collection quest drop as a pet item drop + if quest?.collect and user.fns.predictableRandom(user.stats.gp) < chance dropK = user.fns.randomVal quest.collect, {key:true} user.party.quest.progress.collect[dropK]++ user.markModified? 'party.quest.progress'