mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
fix(drops): Correct rarity tiers
Quick and dirty fix to Golden potions being more common than Zombie etc. Golden potions are now 2% of drops (down from 3%); Zombie and Cotton Candy potions each 2.33% of drops (up from 2%); Red, Shade, and Skeleton 3% of drops (unchanged); Base, White, and Desert 4% of drops (unchanged). Fixes #169.
This commit is contained in:
parent
4b2e4f9dcb
commit
4d33d33868
1 changed files with 1 additions and 1 deletions
|
|
@ -1031,7 +1031,7 @@ api.wrap = (user, main=true) ->
|
|||
else
|
||||
acceptableDrops =
|
||||
# Very Rare: 10% (of 30%)
|
||||
if rarity < .03 then ['Golden']
|
||||
if rarity < .02 then ['Golden']
|
||||
# Rare: 20% (of 30%)
|
||||
else if rarity < .09 then ['Zombie', 'CottonCandyPink', 'CottonCandyBlue']
|
||||
# Uncommon: 30% (of 30%)
|
||||
|
|
|
|||
Loading…
Reference in a new issue