We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b64f0ab commit 99fdcebCopy full SHA for 99fdceb
stats/src/classifier.ts
@@ -278,8 +278,8 @@ function tag(
278
) {
279
style.voltturn++;
280
}
281
- if ((style.trappers < 3 && ['magnetpull', 'arentrap', 'shadowtag'].includes(pokemon.ability)) ||
282
- pokemon.moves.some((m: ID) => ['block', 'meanlook', 'spiderweb'].includes(m))) {
+ if ((style.trappers < 3 && TRAPPING_ABILITIES.has(pokemon.ability)) ||
+ pokemon.moves.some((m: ID) => TRAPPING_MOVES.has(m))) {
283
style.trappers++;
284
285
if (style.dragons < 2 && legacy ? DRAGONS.has(pokemon.species)
0 commit comments