Skip to content

Commit

Permalink
I don't know how to make this line fit
Browse files Browse the repository at this point in the history
  • Loading branch information
pyuk-bot committed Dec 20, 2023
1 parent 685995d commit 739ecf0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions data/cg-teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,7 @@ export default class TeamGenerator {
}
movePoolIsTrimmed = true;
} else {
weights = movePool.map((m) => {
return this.getMoveWeight(this.dex.moves.get(m), teamStats, species, moves, movesStats, ability, level)
});
weights = movePool.map(m => this.getMoveWeight(this.dex.moves.get(m), teamStats, species, moves, movesStats, ability, level));

Check warning on line 241 in data/cg-teams.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

This line has a length of 126. Maximum allowed is 120
}

const moveID = this.weightedRandomPick(movePool, weights, {remove: true});
Expand Down

0 comments on commit 739ecf0

Please sign in to comment.