diff --git a/stats/src/classifier.ts b/stats/src/classifier.ts index daefc20..7687fc9 100644 --- a/stats/src/classifier.ts +++ b/stats/src/classifier.ts @@ -533,6 +533,7 @@ export function computeGreaterSetupMoves(gen: Generation) { ((m.boosts.atk >= 1 && m.boosts.spe && m.boosts.spe >= 1) || m.boosts.atk >= 2)) || (m.boosts.spa && ((m.boosts.spa >= 1 && m.boosts.spe && m.boosts.spe >= 1) || m.boosts.spa >= 2)) + // Shell Smash is intentionally left off this list ) && m.id !== 'shellsmash').map(m => m.id); // Attacking moves that have a high Base Power (80 or above) and have a high // likelihood of boosting (at least 50%) diff --git a/stats/src/test/classifier.test.ts b/stats/src/test/classifier.test.ts index 631224a..edd4315 100644 --- a/stats/src/test/classifier.test.ts +++ b/stats/src/test/classifier.test.ts @@ -5,6 +5,9 @@ import * as classifier from '../classifier'; const GEN = new Generations(Dex).get(6); +/** + * Returns set of items in set `a` that are not in set `b`. + */ function getDifference(a: Set, b: Set) { return new Set( [...a].filter((value) => !b.has(value))