File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments