Skip to content

Commit

Permalink
Disable top players rating bonus for basketball
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmatter authored Jan 13, 2022
1 parent 269e203 commit 4db15ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker/core/draft/genPlayersWithoutSaving.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const genPlayersWithoutSaving = async (
}

// Small chance of making top 4 players (in 70 player draft) special - on average, one per draft class
if (existingPlayers.length === 0) {
if (!isSport("basketball") && existingPlayers.length === 0) {
const numSpecialPlayerChances = Math.round((4 / 70) * numPlayers);

for (let i = 0; i < numSpecialPlayerChances; i++) {
Expand Down

0 comments on commit 4db15ce

Please sign in to comment.