diff --git a/.gitignore b/.gitignore index 34977ee7df..c10ab09fb6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ node_modules -.idea \ No newline at end of file +.idea +.swo +.swp diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index e9f1c60495..05b4749762 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -8945,7 +8945,7 @@ var global=self;/** drop.type = 'Egg'; drop.dialog = "You've found a " + drop.text + " Egg! " + drop.notes; } else { - acceptableDrops = rarity < .03 ? ['Golden'] : rarity < .06 ? ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] : rarity < .09 ? ['Red', 'Shade', 'Skeleton'] : ['Base', 'White', 'Desert']; + acceptableDrops = rarity < .03 ? ['Golden'] : rarity < .09 ? ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] : rarity < .18 ? ['Red', 'Shade', 'Skeleton'] : ['Base', 'White', 'Desert']; drop = helpers.randomVal(_.pick(hatchingPotions, (function(v, k) { return __indexOf.call(acceptableDrops, k) >= 0; }))); @@ -10595,4 +10595,4 @@ try { },{"lodash":2}]},{},[6]) -; \ No newline at end of file +; diff --git a/script/algos.coffee b/script/algos.coffee index 46c0df707a..31a526f088 100644 --- a/script/algos.coffee +++ b/script/algos.coffee @@ -154,9 +154,9 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> # Very Rare: 10% (of 30%) if rarity < .03 then ['Golden'] # Rare: 20% (of 30%) - else if rarity < .06 then ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] + else if rarity < .09 then ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] # Uncommon: 30% (of 30%) - else if rarity < .09 then ['Red', 'Shade', 'Skeleton'] + else if rarity < .18 then ['Red', 'Shade', 'Skeleton'] # Common: 40% (of 30%) else ['Base', 'White', 'Desert']