From afb8dcbf83708284113ad55a8f61fe8a7f6757af Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Mon, 25 Mar 2013 14:01:31 -0700 Subject: [PATCH] pets: adjust so eggs = 40%, food = 60% --- src/app/scoring.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/scoring.coffee b/src/app/scoring.coffee index 1b9eeab546..a4146710ed 100644 --- a/src/app/scoring.coffee +++ b/src/app/scoring.coffee @@ -132,15 +132,15 @@ score = (model, taskId, direction, times, batch, cron) -> # If they got a drop: 50% chance of egg, 50% Food. If food, broken down further even further rarity = Math.random() - # Egg, 50% chance - if rarity > .5 + # Egg, 40% chance + if rarity > .6 drop = randomVal(pets) user.push 'items.eggs', drop drop.type = 'Egg' drop.dialog = "You've found a #{drop.text} Egg! #{drop.notes}" - # Food, 50% chance - break down by rarity even more. FIXME this may not be the best method, so revisit + # Food, 60% chance - break down by rarity even more. FIXME this may not be the best method, so revisit else acceptableDrops = []