File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,9 @@ quirks that have been corrected by `@pkmn/stats` unless "legacy" mode is opted i
5151 'setup' moves, 'dragon' Pokémon, battle formes etc which include several notable absences
5252 (Darmanitan-Zen and Meloetta-Piroutte are not considered formes, Kommo-o is not considered a
5353 'dragon') and have not been updated for Generation 8. ` @pkmn/stats ` instead computes these lists
54- programmatically from the data files to ensure they are comphrensive and up to date.
54+ programmatically from the data files to ensure they are comprehensive and up to date.
55+ - Smogon-Usage-Stats groups ` pursuit ` with other trapping moves when computing ` stalliness ` , but
56+ excludes it when tagging Pokémon as trappers. ` @pkmn/stats ` includes it.
5557- ` Nidoran-M ` is displayed in reports as ` NidoranM ` , ` Nidroran-F ` as ` NidoranF ` and ` Flabébé ` as
5658 ` Flabebe ` in Smogon-Usage-Stats whereas these ** names display** correctly in ` @pkmn/stats ` .
5759- The ** '` empty' ` ** internal placeholder value is filtered out of reports and stats update logic by
Original file line number Diff line number Diff line change @@ -279,7 +279,8 @@ function tag(
279279 style . voltturn ++ ;
280280 }
281281 if ( ( style . trappers < 3 && TRAPPING_ABILITIES . has ( pokemon . ability ) ) ||
282- pokemon . moves . some ( ( m : ID ) => TRAPPING_MOVES . has ( m ) ) ) {
282+ ( legacy ? pokemon . moves . some ( ( m : ID ) => [ 'block' , 'meanlook' , 'spiderweb' ] . includes ( m ) )
283+ : pokemon . moves . some ( ( m : ID ) => TRAPPING_MOVES . has ( m ) ) ) ) {
283284 style . trappers ++ ;
284285 }
285286 if ( style . dragons < 2 && legacy ? DRAGONS . has ( pokemon . species )
You can’t perform that action at this time.
0 commit comments