Merge branch 'release' into develop

This commit is contained in:
Sabe Jones
2020-06-22 14:20:43 -05:00
5 changed files with 8 additions and 5 deletions
@@ -5143,7 +5143,7 @@ const weapon = {
set: 'summer2020OarfishMageSet',
text: t('weaponSpecialSummer2020MageText'),
notes: t('weaponSpecialSummer2020MageNotes', { int: 15, per: 7 }),
value: 90,
value: 160,
int: 15,
per: 7,
twoHanded: true,
+4 -2
View File
@@ -82,10 +82,12 @@ export default function randomDrop (user, options, req = {}, analytics) {
return;
}
if (predictableRandom() < chance) {
const firstFoodDrop = size(user.items.food) < 1;
if (firstFoodDrop || predictableRandom() < chance) {
rarity = predictableRandom();
if (rarity > 0.6) { // food 40% chance
if (firstFoodDrop || rarity > 0.6) { // food 40% chance
drop = cloneDropItem(randomVal(filter(content.food, {
canDrop: true,
})));