[Automated] Merge dev into gh-pages
This commit is contained in:
2
dist/CookieMonster.js
vendored
2
dist/CookieMonster.js
vendored
File diff suppressed because one or more lines are too long
2
dist/CookieMonster.js.map
vendored
2
dist/CookieMonster.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/CookieMonsterDev.js
vendored
2
dist/CookieMonsterDev.js
vendored
File diff suppressed because one or more lines are too long
2
dist/CookieMonsterDev.js.map
vendored
2
dist/CookieMonsterDev.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -43,18 +43,22 @@ export default function CalculateAllPlotChances(minigame, auraMult) {
|
|||||||
switch (id) {
|
switch (id) {
|
||||||
case 7:
|
case 7:
|
||||||
ageMult = 1.03;
|
ageMult = 1.03;
|
||||||
|
weedMult = 1;
|
||||||
range = 1;
|
range = 1;
|
||||||
break;
|
break;
|
||||||
case 31:
|
case 31:
|
||||||
|
ageMult = 1;
|
||||||
weedMult = 0;
|
weedMult = 0;
|
||||||
range = 2;
|
range = 2;
|
||||||
break;
|
break;
|
||||||
case 32:
|
case 32:
|
||||||
|
ageMult = 1;
|
||||||
weedMult = 0;
|
weedMult = 0;
|
||||||
range = 1;
|
range = 1;
|
||||||
break;
|
break;
|
||||||
case 33:
|
case 33:
|
||||||
ageMult = 0.5;
|
ageMult = 0.5;
|
||||||
|
weedMult = 1;
|
||||||
range = 1;
|
range = 1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
@@ -71,14 +71,11 @@ export default function GardenPlots() {
|
|||||||
|
|
||||||
const showIcon = [];
|
const showIcon = [];
|
||||||
for (const id in minigame.plantsById) {
|
for (const id in minigame.plantsById) {
|
||||||
showIcon[id] = false;
|
showIcon[id] = minigame.plantsById[id].unlocked !== 0;
|
||||||
if (minigame.plantsById[id].unlocked !== 0) {
|
|
||||||
showIcon[id] = true;
|
|
||||||
continue; // eslint-disable-line no-continue
|
|
||||||
}
|
|
||||||
for (let y = 0; y < 6 && !showIcon[id]; y++) {
|
for (let y = 0; y < 6 && !showIcon[id]; y++) {
|
||||||
for (let x = 0; x < 6; x++) {
|
for (let x = 0; x < 6; x++) {
|
||||||
if (minigame.plot[y][x][0] - 1 === id) {
|
// eslint-disable-next-line eqeqeq
|
||||||
|
if (minigame.plot[y][x][0] - 1 == id) {
|
||||||
showIcon[id] = true;
|
showIcon[id] = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user