Skip to content

Commit dd6ce38

Browse files
authored
Merge pull request #1116 from the-hideout/boss-page-fixes
Boss page fixes
2 parents 75544e2 + 0478182 commit dd6ce38

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/pages/boss/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,12 +359,11 @@ function BossPage(params) {
359359
const escortFor = map.bosses.reduce((foundEscorts, b) => {
360360
const spawnsWithBoss = b.escorts.some(e => e.normalizedName === bossData.normalizedName);
361361
if (spawnsWithBoss) {
362-
foundEscorts.push({...b, amount: [{chance: 1}]});
362+
foundEscorts.push({...b, amount: [{chance: 1, count: 1}]});
363363
for (const e of b.escorts) {
364364
if (e.normalizedName === bossData.normalizedName) {
365365
continue;
366366
}
367-
console.log(e);
368367
foundEscorts.push(e);
369368
}
370369
}
@@ -377,7 +376,7 @@ function BossPage(params) {
377376
name: escort.name,
378377
normalizedName: escort.normalizedName,
379378
chance: `${parseInt(amount.chance * 100)}%`,
380-
count: 1
379+
count: amount.count
381380
});
382381
}
383382
}

0 commit comments

Comments
 (0)