Skip to content

Commit

Permalink
Never mind I figured it out
Browse files Browse the repository at this point in the history
  • Loading branch information
pyuk-bot committed Dec 20, 2023
1 parent 739ecf0 commit d0678b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion data/cg-teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ export default class TeamGenerator {
}
movePoolIsTrimmed = true;
} else {
weights = movePool.map(m => 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)
);
}

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

0 comments on commit d0678b9

Please sign in to comment.