From 9bf552000b4325bb83aac2cf6dafb7e779ea77b8 Mon Sep 17 00:00:00 2001 From: Kirk Scheibelhut Date: Fri, 20 Sep 2024 10:03:40 -0700 Subject: [PATCH] rm isMegaRayquazaAllowed functionality (#13) https://github.com/smogon/usage-stats/blob/e90871a5/batchLogReader.py#L167C2-L167C13 --- stats/src/parser.ts | 6 +----- .../reports/gen7anythinggoes/detailed.0.json | 2 +- .../gen7anythinggoes/detailed.1500.json | 2 +- .../gen7anythinggoes/detailed.1630.json | 2 +- .../reports/gen7anythinggoes/display.0.json | 18 +++++++++--------- .../reports/gen7anythinggoes/display.1500.json | 18 +++++++++--------- .../reports/gen7anythinggoes/display.1630.json | 16 ++++++++-------- .../reports/gen7anythinggoes/display.1760.json | 16 ++++++++-------- .../reports/gen7anythinggoes/leads.0.txt | 2 +- .../reports/gen7anythinggoes/leads.1500.txt | 2 +- .../reports/gen7anythinggoes/leads.1630.txt | 2 +- .../reports/gen7anythinggoes/leads.1760.txt | 2 +- .../reports/gen7anythinggoes/movesets.0.txt | 16 ++++++++-------- .../reports/gen7anythinggoes/movesets.1500.txt | 16 ++++++++-------- .../reports/gen7anythinggoes/movesets.1630.txt | 14 +++++++------- .../reports/gen7anythinggoes/usage.0.txt | 2 +- .../reports/gen7anythinggoes/usage.1500.txt | 2 +- .../reports/gen7anythinggoes/usage.1630.txt | 2 +- .../reports/gen7anythinggoes/usage.1760.txt | 2 +- stats/src/util.ts | 8 -------- 20 files changed, 69 insertions(+), 81 deletions(-) diff --git a/stats/src/parser.ts b/stats/src/parser.ts index 246cd66..2ede458 100644 --- a/stats/src/parser.ts +++ b/stats/src/parser.ts @@ -281,7 +281,6 @@ export const Parser = new class { team: Array, legacy = false, ) { - const mray = util.isMegaRayquazaAllowed(format); gen = util.ignoreGen(gen, legacy); for (const pokemon of team) { const item = pokemon.item && gen.items.get(pokemon.item); @@ -316,10 +315,7 @@ export const Parser = new class { pokemon.species = util.getSpecies(gen, util.fromAlias(pokemon.species || pokemon.name), legacy).id; pokemon.teraType = pokemon.teraType || 'nothing'; - if (mray && pokemon.species === 'rayquaza' && pokemon.moves.includes('dragonascent')) { - pokemon.species = 'rayquazamega'; - pokemon.ability = 'deltastream'; - } else if (pokemon.species === 'greninja' && pokemon.ability === 'battlebond') { + if (pokemon.species === 'greninja' && pokemon.ability === 'battlebond') { pokemon.species = 'greninjaash'; } else if (pokemon.species === 'zacian' && pokemon.item === 'rustedsword') { pokemon.species = 'zaciancrowned'; diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/detailed.0.json b/stats/src/test/testdata/reports/gen7anythinggoes/detailed.0.json index 7e40c20..8e33daf 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/detailed.0.json +++ b/stats/src/test/testdata/reports/gen7anythinggoes/detailed.0.json @@ -1 +1 @@ -{"info":{"metagame":"gen7anythinggoes","cutoff":0,"cutoff deviation":0,"team type":null,"number of battles":1},"data":{"Darmanitan":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"zenmode":1},"Items":{"assaultvest":1},"Tera Types":{"nothing":1},"Spreads":{"Modest:251/0/0/252/4/0":1},"Happiness":{"255":1},"Moves":{"fireblast":1,"flamethrower":1,"psychic":1,"uturn":1},"Teammates":{"Dugtrio":1,"Gastrodon":1,"Mimikyu":1,"Shaymin-Sky":1,"Zygarde":1},"Checks and Counters":{"Rayquaza-Mega":[1,1,0]}},"Ditto":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"imposter":1},"Items":{"nothing":1},"Tera Types":{"nothing":1},"Spreads":{"Impish:248/8/252/0/0/0":1},"Happiness":{"255":1},"Moves":{"":3,"transform":1},"Teammates":{"Greninja-Ash":1,"Meloetta":1,"Rayquaza-Mega":1,"Shedinja":1,"Zoroark":1},"Checks and Counters":{"Gastrodon":[1,0,0],"Mimikyu":[1,0,0],"Shaymin-Sky":[1,0,0],"Zygarde":[1,0,0]}},"Dugtrio":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"arenatrap":1},"Items":{"choiceband":1},"Tera Types":{"nothing":1},"Spreads":{"Hasty:0/252/0/4/0/252":1},"Happiness":{"255":1},"Moves":{"earthquake":1,"hiddenpowergrass":1,"stoneedge":1,"suckerpunch":1},"Teammates":{"Darmanitan":1,"Gastrodon":1,"Mimikyu":1,"Shaymin-Sky":1,"Zygarde":1},"Checks and Counters":{"Greninja-Ash":[1,1,0]}},"Gastrodon":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"stormdrain":1},"Items":{"ejectbutton":1},"Tera Types":{"nothing":1},"Spreads":{"Sassy:252/4/0/0/252/0":1},"Happiness":{"255":1},"Moves":{"earthquake":1,"icebeam":1,"recover":1,"surf":1},"Teammates":{"Darmanitan":1,"Dugtrio":1,"Mimikyu":1,"Shaymin-Sky":1,"Zygarde":1},"Checks and Counters":{"Ditto":[1,1,0],"Greninja-Ash":[1,1,0]}},"Greninja-Ash":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"battlebond":1},"Items":{"lifeorb":1},"Tera Types":{"nothing":1},"Spreads":{"Timid:0/0/0/252/4/252":1},"Happiness":{"255":1},"Moves":{"hiddenpowerghost":1,"spikes":1,"uturn":1,"watershuriken":1},"Teammates":{"Ditto":1,"Meloetta":1,"Rayquaza-Mega":1,"Shedinja":1,"Zoroark":1},"Checks and Counters":{"Mimikyu":[1,1,0],"Dugtrio":[1,0,0],"Gastrodon":[1,0,0],"Shaymin-Sky":[2,0,0],"Zygarde":[1,0,0]}},"Meloetta":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"serenegrace":1},"Items":{"redcard":1},"Tera Types":{"nothing":1},"Spreads":{"Timid:0/0/0/252/4/252":1},"Happiness":{"255":1},"Moves":{"focusblast":1,"perishsong":1,"relicsong":1,"signalbeam":1},"Teammates":{"Ditto":1,"Greninja-Ash":1,"Rayquaza-Mega":1,"Shedinja":1,"Zoroark":1},"Checks and Counters":{}},"Mimikyu":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"disguise":1},"Items":{"lifeorb":1},"Tera Types":{"nothing":1},"Spreads":{"Jolly:0/252/0/0/4/252":1},"Happiness":{"255":1},"Moves":{"destinybond":1,"playrough":1,"shadowsneak":1,"swordsdance":1},"Teammates":{"Darmanitan":1,"Dugtrio":1,"Gastrodon":1,"Shaymin-Sky":1,"Zygarde":1},"Checks and Counters":{"Ditto":[1,1,0],"Greninja-Ash":[1,0,0]}},"Rayquaza-Mega":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"deltastream":1},"Items":{"ejectbutton":1},"Tera Types":{"nothing":1},"Spreads":{"Adamant:0/252/0/0/4/252":1},"Happiness":{"255":1},"Moves":{"dragonascent":1,"dragondance":1,"extremespeed":1,"roar":1},"Teammates":{"Ditto":1,"Greninja-Ash":1,"Meloetta":1,"Shedinja":1,"Zoroark":1},"Checks and Counters":{"Darmanitan":[1,0,0]}},"Shaymin-Sky":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"serenegrace":1},"Items":{"nothing":1},"Tera Types":{"nothing":1},"Spreads":{"Timid:0/0/0/252/4/252":1},"Happiness":{"255":1},"Moves":{"airslash":1,"dazzlinggleam":1,"grassknot":1,"hiddenpowerelectric":1},"Teammates":{"Darmanitan":1,"Dugtrio":1,"Gastrodon":1,"Mimikyu":1,"Zygarde":1},"Checks and Counters":{"Ditto":[1,1,0],"Greninja-Ash":[2,1,0]}},"Shedinja":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"wonderguard":1},"Items":{"focussash":1},"Tera Types":{"nothing":1},"Spreads":{"Naive:0/196/0/4/0/232":1},"Happiness":{"255":1},"Moves":{"facade":1,"hiddenpowerdark":1,"":1,"swordsdance":1},"Teammates":{"Ditto":1,"Greninja-Ash":1,"Meloetta":1,"Rayquaza-Mega":1,"Zoroark":1},"Checks and Counters":{}},"Zoroark":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"illusion":1},"Items":{"lifeorb":1},"Tera Types":{"nothing":1},"Spreads":{"Jolly:0/252/0/0/4/252":1},"Happiness":{"0":1},"Moves":{"frustration":1,"knockoff":1,"pursuit":1,"uturn":1},"Teammates":{"Ditto":1,"Greninja-Ash":1,"Meloetta":1,"Rayquaza-Mega":1,"Shedinja":1},"Checks and Counters":{}},"Zygarde":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"powerconstruct":1},"Items":{"assaultvest":1},"Tera Types":{"nothing":1},"Spreads":{"Careful:252/4/0/0/252/0":1},"Happiness":{"255":1},"Moves":{"brickbreak":1,"dragontail":1,"glare":1,"thousandarrows":1},"Teammates":{"Darmanitan":1,"Dugtrio":1,"Gastrodon":1,"Mimikyu":1,"Shaymin-Sky":1},"Checks and Counters":{"Ditto":[1,1,0],"Greninja-Ash":[1,1,0]}}}} \ No newline at end of file +{"info":{"metagame":"gen7anythinggoes","cutoff":0,"cutoff deviation":0,"team type":null,"number of battles":1},"data":{"Darmanitan":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"zenmode":1},"Items":{"assaultvest":1},"Tera Types":{"nothing":1},"Spreads":{"Modest:251/0/0/252/4/0":1},"Happiness":{"255":1},"Moves":{"fireblast":1,"flamethrower":1,"psychic":1,"uturn":1},"Teammates":{"Dugtrio":1,"Gastrodon":1,"Mimikyu":1,"Shaymin-Sky":1,"Zygarde":1},"Checks and Counters":{"Rayquaza":[1,1,0]}},"Ditto":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"imposter":1},"Items":{"nothing":1},"Tera Types":{"nothing":1},"Spreads":{"Impish:248/8/252/0/0/0":1},"Happiness":{"255":1},"Moves":{"":3,"transform":1},"Teammates":{"Greninja-Ash":1,"Meloetta":1,"Rayquaza":1,"Shedinja":1,"Zoroark":1},"Checks and Counters":{"Gastrodon":[1,0,0],"Mimikyu":[1,0,0],"Shaymin-Sky":[1,0,0],"Zygarde":[1,0,0]}},"Dugtrio":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"arenatrap":1},"Items":{"choiceband":1},"Tera Types":{"nothing":1},"Spreads":{"Hasty:0/252/0/4/0/252":1},"Happiness":{"255":1},"Moves":{"earthquake":1,"hiddenpowergrass":1,"stoneedge":1,"suckerpunch":1},"Teammates":{"Darmanitan":1,"Gastrodon":1,"Mimikyu":1,"Shaymin-Sky":1,"Zygarde":1},"Checks and Counters":{"Greninja-Ash":[1,1,0]}},"Gastrodon":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"stormdrain":1},"Items":{"ejectbutton":1},"Tera Types":{"nothing":1},"Spreads":{"Sassy:252/4/0/0/252/0":1},"Happiness":{"255":1},"Moves":{"earthquake":1,"icebeam":1,"recover":1,"surf":1},"Teammates":{"Darmanitan":1,"Dugtrio":1,"Mimikyu":1,"Shaymin-Sky":1,"Zygarde":1},"Checks and Counters":{"Ditto":[1,1,0],"Greninja-Ash":[1,1,0]}},"Greninja-Ash":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"battlebond":1},"Items":{"lifeorb":1},"Tera Types":{"nothing":1},"Spreads":{"Timid:0/0/0/252/4/252":1},"Happiness":{"255":1},"Moves":{"hiddenpowerghost":1,"spikes":1,"uturn":1,"watershuriken":1},"Teammates":{"Ditto":1,"Meloetta":1,"Rayquaza":1,"Shedinja":1,"Zoroark":1},"Checks and Counters":{"Mimikyu":[1,1,0],"Dugtrio":[1,0,0],"Gastrodon":[1,0,0],"Shaymin-Sky":[2,0,0],"Zygarde":[1,0,0]}},"Meloetta":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"serenegrace":1},"Items":{"redcard":1},"Tera Types":{"nothing":1},"Spreads":{"Timid:0/0/0/252/4/252":1},"Happiness":{"255":1},"Moves":{"focusblast":1,"perishsong":1,"relicsong":1,"signalbeam":1},"Teammates":{"Ditto":1,"Greninja-Ash":1,"Rayquaza":1,"Shedinja":1,"Zoroark":1},"Checks and Counters":{}},"Mimikyu":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"disguise":1},"Items":{"lifeorb":1},"Tera Types":{"nothing":1},"Spreads":{"Jolly:0/252/0/0/4/252":1},"Happiness":{"255":1},"Moves":{"destinybond":1,"playrough":1,"shadowsneak":1,"swordsdance":1},"Teammates":{"Darmanitan":1,"Dugtrio":1,"Gastrodon":1,"Shaymin-Sky":1,"Zygarde":1},"Checks and Counters":{"Ditto":[1,1,0],"Greninja-Ash":[1,0,0]}},"Rayquaza":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"airlock":1},"Items":{"ejectbutton":1},"Tera Types":{"nothing":1},"Spreads":{"Adamant:0/252/0/0/4/252":1},"Happiness":{"255":1},"Moves":{"dragonascent":1,"dragondance":1,"extremespeed":1,"roar":1},"Teammates":{"Ditto":1,"Greninja-Ash":1,"Meloetta":1,"Shedinja":1,"Zoroark":1},"Checks and Counters":{"Darmanitan":[1,0,0]}},"Shaymin-Sky":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"serenegrace":1},"Items":{"nothing":1},"Tera Types":{"nothing":1},"Spreads":{"Timid:0/0/0/252/4/252":1},"Happiness":{"255":1},"Moves":{"airslash":1,"dazzlinggleam":1,"grassknot":1,"hiddenpowerelectric":1},"Teammates":{"Darmanitan":1,"Dugtrio":1,"Gastrodon":1,"Mimikyu":1,"Zygarde":1},"Checks and Counters":{"Ditto":[1,1,0],"Greninja-Ash":[2,1,0]}},"Shedinja":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"wonderguard":1},"Items":{"focussash":1},"Tera Types":{"nothing":1},"Spreads":{"Naive:0/196/0/4/0/232":1},"Happiness":{"255":1},"Moves":{"facade":1,"hiddenpowerdark":1,"":1,"swordsdance":1},"Teammates":{"Ditto":1,"Greninja-Ash":1,"Meloetta":1,"Rayquaza":1,"Zoroark":1},"Checks and Counters":{}},"Zoroark":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,43,43,43],"Abilities":{"illusion":1},"Items":{"lifeorb":1},"Tera Types":{"nothing":1},"Spreads":{"Jolly:0/252/0/0/4/252":1},"Happiness":{"0":1},"Moves":{"frustration":1,"knockoff":1,"pursuit":1,"uturn":1},"Teammates":{"Ditto":1,"Greninja-Ash":1,"Meloetta":1,"Rayquaza":1,"Shedinja":1},"Checks and Counters":{}},"Zygarde":{"Raw count":1,"usage":0.5,"Viability Ceiling":[1,88,88,88],"Abilities":{"powerconstruct":1},"Items":{"assaultvest":1},"Tera Types":{"nothing":1},"Spreads":{"Careful:252/4/0/0/252/0":1},"Happiness":{"255":1},"Moves":{"brickbreak":1,"dragontail":1,"glare":1,"thousandarrows":1},"Teammates":{"Darmanitan":1,"Dugtrio":1,"Gastrodon":1,"Mimikyu":1,"Shaymin-Sky":1},"Checks and Counters":{"Ditto":[1,1,0],"Greninja-Ash":[1,1,0]}}}} \ No newline at end of file diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/detailed.1500.json b/stats/src/test/testdata/reports/gen7anythinggoes/detailed.1500.json index 83e3479..f8ea599 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/detailed.1500.json +++ b/stats/src/test/testdata/reports/gen7anythinggoes/detailed.1500.json @@ -1 +1 @@ -{"info":{"metagame":"gen7anythinggoes","cutoff":1500,"cutoff deviation":0,"team type":null,"number of battles":1},"data":{"Darmanitan":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"zenmode":0.9961696194},"Items":{"assaultvest":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Modest:251/0/0/252/4/0":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"fireblast":0.9961696194,"flamethrower":0.9961696194,"psychic":0.9961696194,"uturn":0.9961696194},"Teammates":{"Dugtrio":0.9961696194,"Gastrodon":0.9961696194,"Mimikyu":0.9961696194,"Shaymin-Sky":0.9961696194,"Zygarde":0.9961696194},"Checks and Counters":{"Rayquaza-Mega":[0.1586552539,1,0]}},"Dugtrio":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"arenatrap":0.9961696194},"Items":{"choiceband":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Hasty:0/252/0/4/0/252":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"earthquake":0.9961696194,"hiddenpowergrass":0.9961696194,"stoneedge":0.9961696194,"suckerpunch":0.9961696194},"Teammates":{"Darmanitan":0.9961696194,"Gastrodon":0.9961696194,"Mimikyu":0.9961696194,"Shaymin-Sky":0.9961696194,"Zygarde":0.9961696194},"Checks and Counters":{"Greninja-Ash":[0.1586552539,1,0]}},"Gastrodon":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"stormdrain":0.9961696194},"Items":{"ejectbutton":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Sassy:252/4/0/0/252/0":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"earthquake":0.9961696194,"icebeam":0.9961696194,"recover":0.9961696194,"surf":0.9961696194},"Teammates":{"Darmanitan":0.9961696194,"Dugtrio":0.9961696194,"Mimikyu":0.9961696194,"Shaymin-Sky":0.9961696194,"Zygarde":0.9961696194},"Checks and Counters":{"Ditto":[0.1586552539,1,0],"Greninja-Ash":[0.1586552539,1,0]}},"Mimikyu":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"disguise":0.9961696194},"Items":{"lifeorb":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Jolly:0/252/0/0/4/252":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"destinybond":0.9961696194,"playrough":0.9961696194,"shadowsneak":0.9961696194,"swordsdance":0.9961696194},"Teammates":{"Darmanitan":0.9961696194,"Dugtrio":0.9961696194,"Gastrodon":0.9961696194,"Shaymin-Sky":0.9961696194,"Zygarde":0.9961696194},"Checks and Counters":{"Ditto":[0.1586552539,1,0],"Greninja-Ash":[0.1586552539,0,0]}},"Shaymin-Sky":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"serenegrace":0.9961696194},"Items":{"nothing":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Timid:0/0/0/252/4/252":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"airslash":0.9961696194,"dazzlinggleam":0.9961696194,"grassknot":0.9961696194,"hiddenpowerelectric":0.9961696194},"Teammates":{"Darmanitan":0.9961696194,"Dugtrio":0.9961696194,"Gastrodon":0.9961696194,"Mimikyu":0.9961696194,"Zygarde":0.9961696194},"Checks and Counters":{"Ditto":[0.1586552539,1,0],"Greninja-Ash":[0.3173105079,1,0]}},"Zygarde":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"powerconstruct":0.9961696194},"Items":{"assaultvest":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Careful:252/4/0/0/252/0":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"brickbreak":0.9961696194,"dragontail":0.9961696194,"glare":0.9961696194,"thousandarrows":0.9961696194},"Teammates":{"Darmanitan":0.9961696194,"Dugtrio":0.9961696194,"Gastrodon":0.9961696194,"Mimikyu":0.9961696194,"Shaymin-Sky":0.9961696194},"Checks and Counters":{"Ditto":[0.1586552539,1,0],"Greninja-Ash":[0.1586552539,1,0]}},"Ditto":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"imposter":0.1586552539},"Items":{"nothing":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Impish:248/8/252/0/0/0":0.1586552539},"Happiness":{"255":0.1586552539},"Moves":{"":0.4759657618,"transform":0.1586552539},"Teammates":{"Greninja-Ash":0.1586552539,"Meloetta":0.1586552539,"Rayquaza-Mega":0.1586552539,"Shedinja":0.1586552539,"Zoroark":0.1586552539},"Checks and Counters":{"Gastrodon":[0.1586552539,0,0],"Mimikyu":[0.1586552539,0,0],"Shaymin-Sky":[0.1586552539,0,0],"Zygarde":[0.1586552539,0,0]}},"Greninja-Ash":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"battlebond":0.1586552539},"Items":{"lifeorb":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Timid:0/0/0/252/4/252":0.1586552539},"Happiness":{"255":0.1586552539},"Moves":{"hiddenpowerghost":0.1586552539,"spikes":0.1586552539,"uturn":0.1586552539,"watershuriken":0.1586552539},"Teammates":{"Ditto":0.1586552539,"Meloetta":0.1586552539,"Rayquaza-Mega":0.1586552539,"Shedinja":0.1586552539,"Zoroark":0.1586552539},"Checks and Counters":{"Mimikyu":[0.1586552539,1,0],"Dugtrio":[0.1586552539,0,0],"Gastrodon":[0.1586552539,0,0],"Shaymin-Sky":[0.3173105079,0,0],"Zygarde":[0.1586552539,0,0]}},"Meloetta":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"serenegrace":0.1586552539},"Items":{"redcard":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Timid:0/0/0/252/4/252":0.1586552539},"Happiness":{"255":0.1586552539},"Moves":{"focusblast":0.1586552539,"perishsong":0.1586552539,"relicsong":0.1586552539,"signalbeam":0.1586552539},"Teammates":{"Ditto":0.1586552539,"Greninja-Ash":0.1586552539,"Rayquaza-Mega":0.1586552539,"Shedinja":0.1586552539,"Zoroark":0.1586552539},"Checks and Counters":{}},"Rayquaza-Mega":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"deltastream":0.1586552539},"Items":{"ejectbutton":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Adamant:0/252/0/0/4/252":0.1586552539},"Happiness":{"255":0.1586552539},"Moves":{"dragonascent":0.1586552539,"dragondance":0.1586552539,"extremespeed":0.1586552539,"roar":0.1586552539},"Teammates":{"Ditto":0.1586552539,"Greninja-Ash":0.1586552539,"Meloetta":0.1586552539,"Shedinja":0.1586552539,"Zoroark":0.1586552539},"Checks and Counters":{"Darmanitan":[0.1586552539,0,0]}},"Shedinja":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"wonderguard":0.1586552539},"Items":{"focussash":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Naive:0/196/0/4/0/232":0.1586552539},"Happiness":{"255":0.1586552539},"Moves":{"facade":0.1586552539,"hiddenpowerdark":0.1586552539,"":0.1586552539,"swordsdance":0.1586552539},"Teammates":{"Ditto":0.1586552539,"Greninja-Ash":0.1586552539,"Meloetta":0.1586552539,"Rayquaza-Mega":0.1586552539,"Zoroark":0.1586552539},"Checks and Counters":{}},"Zoroark":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"illusion":0.1586552539},"Items":{"lifeorb":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Jolly:0/252/0/0/4/252":0.1586552539},"Happiness":{"0":0.1586552539},"Moves":{"frustration":0.1586552539,"knockoff":0.1586552539,"pursuit":0.1586552539,"uturn":0.1586552539},"Teammates":{"Ditto":0.1586552539,"Greninja-Ash":0.1586552539,"Meloetta":0.1586552539,"Rayquaza-Mega":0.1586552539,"Shedinja":0.1586552539},"Checks and Counters":{}}}} \ No newline at end of file +{"info":{"metagame":"gen7anythinggoes","cutoff":1500,"cutoff deviation":0,"team type":null,"number of battles":1},"data":{"Darmanitan":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"zenmode":0.9961696194},"Items":{"assaultvest":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Modest:251/0/0/252/4/0":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"fireblast":0.9961696194,"flamethrower":0.9961696194,"psychic":0.9961696194,"uturn":0.9961696194},"Teammates":{"Dugtrio":0.9961696194,"Gastrodon":0.9961696194,"Mimikyu":0.9961696194,"Shaymin-Sky":0.9961696194,"Zygarde":0.9961696194},"Checks and Counters":{"Rayquaza":[0.1586552539,1,0]}},"Dugtrio":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"arenatrap":0.9961696194},"Items":{"choiceband":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Hasty:0/252/0/4/0/252":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"earthquake":0.9961696194,"hiddenpowergrass":0.9961696194,"stoneedge":0.9961696194,"suckerpunch":0.9961696194},"Teammates":{"Darmanitan":0.9961696194,"Gastrodon":0.9961696194,"Mimikyu":0.9961696194,"Shaymin-Sky":0.9961696194,"Zygarde":0.9961696194},"Checks and Counters":{"Greninja-Ash":[0.1586552539,1,0]}},"Gastrodon":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"stormdrain":0.9961696194},"Items":{"ejectbutton":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Sassy:252/4/0/0/252/0":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"earthquake":0.9961696194,"icebeam":0.9961696194,"recover":0.9961696194,"surf":0.9961696194},"Teammates":{"Darmanitan":0.9961696194,"Dugtrio":0.9961696194,"Mimikyu":0.9961696194,"Shaymin-Sky":0.9961696194,"Zygarde":0.9961696194},"Checks and Counters":{"Ditto":[0.1586552539,1,0],"Greninja-Ash":[0.1586552539,1,0]}},"Mimikyu":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"disguise":0.9961696194},"Items":{"lifeorb":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Jolly:0/252/0/0/4/252":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"destinybond":0.9961696194,"playrough":0.9961696194,"shadowsneak":0.9961696194,"swordsdance":0.9961696194},"Teammates":{"Darmanitan":0.9961696194,"Dugtrio":0.9961696194,"Gastrodon":0.9961696194,"Shaymin-Sky":0.9961696194,"Zygarde":0.9961696194},"Checks and Counters":{"Ditto":[0.1586552539,1,0],"Greninja-Ash":[0.1586552539,0,0]}},"Shaymin-Sky":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"serenegrace":0.9961696194},"Items":{"nothing":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Timid:0/0/0/252/4/252":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"airslash":0.9961696194,"dazzlinggleam":0.9961696194,"grassknot":0.9961696194,"hiddenpowerelectric":0.9961696194},"Teammates":{"Darmanitan":0.9961696194,"Dugtrio":0.9961696194,"Gastrodon":0.9961696194,"Mimikyu":0.9961696194,"Zygarde":0.9961696194},"Checks and Counters":{"Ditto":[0.1586552539,1,0],"Greninja-Ash":[0.3173105079,1,0]}},"Zygarde":{"Raw count":1,"usage":0.8626153,"Viability Ceiling":[1,88,88,88],"Abilities":{"powerconstruct":0.9961696194},"Items":{"assaultvest":0.9961696194},"Tera Types":{"nothing":0.9961696194},"Spreads":{"Careful:252/4/0/0/252/0":0.9961696194},"Happiness":{"255":0.9961696194},"Moves":{"brickbreak":0.9961696194,"dragontail":0.9961696194,"glare":0.9961696194,"thousandarrows":0.9961696194},"Teammates":{"Darmanitan":0.9961696194,"Dugtrio":0.9961696194,"Gastrodon":0.9961696194,"Mimikyu":0.9961696194,"Shaymin-Sky":0.9961696194},"Checks and Counters":{"Ditto":[0.1586552539,1,0],"Greninja-Ash":[0.1586552539,1,0]}},"Ditto":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"imposter":0.1586552539},"Items":{"nothing":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Impish:248/8/252/0/0/0":0.1586552539},"Happiness":{"255":0.1586552539},"Moves":{"":0.4759657618,"transform":0.1586552539},"Teammates":{"Greninja-Ash":0.1586552539,"Meloetta":0.1586552539,"Rayquaza":0.1586552539,"Shedinja":0.1586552539,"Zoroark":0.1586552539},"Checks and Counters":{"Gastrodon":[0.1586552539,0,0],"Mimikyu":[0.1586552539,0,0],"Shaymin-Sky":[0.1586552539,0,0],"Zygarde":[0.1586552539,0,0]}},"Greninja-Ash":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"battlebond":0.1586552539},"Items":{"lifeorb":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Timid:0/0/0/252/4/252":0.1586552539},"Happiness":{"255":0.1586552539},"Moves":{"hiddenpowerghost":0.1586552539,"spikes":0.1586552539,"uturn":0.1586552539,"watershuriken":0.1586552539},"Teammates":{"Ditto":0.1586552539,"Meloetta":0.1586552539,"Rayquaza":0.1586552539,"Shedinja":0.1586552539,"Zoroark":0.1586552539},"Checks and Counters":{"Mimikyu":[0.1586552539,1,0],"Dugtrio":[0.1586552539,0,0],"Gastrodon":[0.1586552539,0,0],"Shaymin-Sky":[0.3173105079,0,0],"Zygarde":[0.1586552539,0,0]}},"Meloetta":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"serenegrace":0.1586552539},"Items":{"redcard":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Timid:0/0/0/252/4/252":0.1586552539},"Happiness":{"255":0.1586552539},"Moves":{"focusblast":0.1586552539,"perishsong":0.1586552539,"relicsong":0.1586552539,"signalbeam":0.1586552539},"Teammates":{"Ditto":0.1586552539,"Greninja-Ash":0.1586552539,"Rayquaza":0.1586552539,"Shedinja":0.1586552539,"Zoroark":0.1586552539},"Checks and Counters":{}},"Rayquaza":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"airlock":0.1586552539},"Items":{"ejectbutton":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Adamant:0/252/0/0/4/252":0.1586552539},"Happiness":{"255":0.1586552539},"Moves":{"dragonascent":0.1586552539,"dragondance":0.1586552539,"extremespeed":0.1586552539,"roar":0.1586552539},"Teammates":{"Ditto":0.1586552539,"Greninja-Ash":0.1586552539,"Meloetta":0.1586552539,"Shedinja":0.1586552539,"Zoroark":0.1586552539},"Checks and Counters":{"Darmanitan":[0.1586552539,0,0]}},"Shedinja":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"wonderguard":0.1586552539},"Items":{"focussash":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Naive:0/196/0/4/0/232":0.1586552539},"Happiness":{"255":0.1586552539},"Moves":{"facade":0.1586552539,"hiddenpowerdark":0.1586552539,"":0.1586552539,"swordsdance":0.1586552539},"Teammates":{"Ditto":0.1586552539,"Greninja-Ash":0.1586552539,"Meloetta":0.1586552539,"Rayquaza":0.1586552539,"Zoroark":0.1586552539},"Checks and Counters":{}},"Zoroark":{"Raw count":1,"usage":0.1373847,"Viability Ceiling":[1,43,43,43],"Abilities":{"illusion":0.1586552539},"Items":{"lifeorb":0.1586552539},"Tera Types":{"nothing":0.1586552539},"Spreads":{"Jolly:0/252/0/0/4/252":0.1586552539},"Happiness":{"0":0.1586552539},"Moves":{"frustration":0.1586552539,"knockoff":0.1586552539,"pursuit":0.1586552539,"uturn":0.1586552539},"Teammates":{"Ditto":0.1586552539,"Greninja-Ash":0.1586552539,"Meloetta":0.1586552539,"Rayquaza":0.1586552539,"Shedinja":0.1586552539},"Checks and Counters":{}}}} \ No newline at end of file diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/detailed.1630.json b/stats/src/test/testdata/reports/gen7anythinggoes/detailed.1630.json index c931c62..03ad84c 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/detailed.1630.json +++ b/stats/src/test/testdata/reports/gen7anythinggoes/detailed.1630.json @@ -1 +1 @@ -{"info":{"metagame":"gen7anythinggoes","cutoff":1630,"cutoff deviation":0,"team type":null,"number of battles":1},"data":{"Ditto":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"imposter":0.0001591086},"Items":{"nothing":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Impish:248/8/252/0/0/0":0.0001591086},"Happiness":{"255":0.0001591086},"Moves":{"":0.0004773258,"transform":0.0001591086},"Teammates":{"Greninja-Ash":0.0001591086,"Meloetta":0.0001591086,"Rayquaza-Mega":0.0001591086,"Shedinja":0.0001591086,"Zoroark":0.0001591086},"Checks and Counters":{}},"Greninja-Ash":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"battlebond":0.0001591086},"Items":{"lifeorb":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Timid:0/0/0/252/4/252":0.0001591086},"Happiness":{"255":0.0001591086},"Moves":{"hiddenpowerghost":0.0001591086,"spikes":0.0001591086,"uturn":0.0001591086,"watershuriken":0.0001591086},"Teammates":{"Ditto":0.0001591086,"Meloetta":0.0001591086,"Rayquaza-Mega":0.0001591086,"Shedinja":0.0001591086,"Zoroark":0.0001591086},"Checks and Counters":{}},"Meloetta":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"serenegrace":0.0001591086},"Items":{"redcard":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Timid:0/0/0/252/4/252":0.0001591086},"Happiness":{"255":0.0001591086},"Moves":{"focusblast":0.0001591086,"perishsong":0.0001591086,"relicsong":0.0001591086,"signalbeam":0.0001591086},"Teammates":{"Ditto":0.0001591086,"Greninja-Ash":0.0001591086,"Rayquaza-Mega":0.0001591086,"Shedinja":0.0001591086,"Zoroark":0.0001591086},"Checks and Counters":{}},"Rayquaza-Mega":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"deltastream":0.0001591086},"Items":{"ejectbutton":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Adamant:0/252/0/0/4/252":0.0001591086},"Happiness":{"255":0.0001591086},"Moves":{"dragonascent":0.0001591086,"dragondance":0.0001591086,"extremespeed":0.0001591086,"roar":0.0001591086},"Teammates":{"Ditto":0.0001591086,"Greninja-Ash":0.0001591086,"Meloetta":0.0001591086,"Shedinja":0.0001591086,"Zoroark":0.0001591086},"Checks and Counters":{}},"Shedinja":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"wonderguard":0.0001591086},"Items":{"focussash":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Naive:0/196/0/4/0/232":0.0001591086},"Happiness":{"255":0.0001591086},"Moves":{"facade":0.0001591086,"hiddenpowerdark":0.0001591086,"":0.0001591086,"swordsdance":0.0001591086},"Teammates":{"Ditto":0.0001591086,"Greninja-Ash":0.0001591086,"Meloetta":0.0001591086,"Rayquaza-Mega":0.0001591086,"Zoroark":0.0001591086},"Checks and Counters":{}},"Zoroark":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"illusion":0.0001591086},"Items":{"lifeorb":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Jolly:0/252/0/0/4/252":0.0001591086},"Happiness":{"0":0.0001591086},"Moves":{"frustration":0.0001591086,"knockoff":0.0001591086,"pursuit":0.0001591086,"uturn":0.0001591086},"Teammates":{"Ditto":0.0001591086,"Greninja-Ash":0.0001591086,"Meloetta":0.0001591086,"Rayquaza-Mega":0.0001591086,"Shedinja":0.0001591086},"Checks and Counters":{}}}} \ No newline at end of file +{"info":{"metagame":"gen7anythinggoes","cutoff":1630,"cutoff deviation":0,"team type":null,"number of battles":1},"data":{"Ditto":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"imposter":0.0001591086},"Items":{"nothing":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Impish:248/8/252/0/0/0":0.0001591086},"Happiness":{"255":0.0001591086},"Moves":{"":0.0004773258,"transform":0.0001591086},"Teammates":{"Greninja-Ash":0.0001591086,"Meloetta":0.0001591086,"Rayquaza":0.0001591086,"Shedinja":0.0001591086,"Zoroark":0.0001591086},"Checks and Counters":{}},"Greninja-Ash":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"battlebond":0.0001591086},"Items":{"lifeorb":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Timid:0/0/0/252/4/252":0.0001591086},"Happiness":{"255":0.0001591086},"Moves":{"hiddenpowerghost":0.0001591086,"spikes":0.0001591086,"uturn":0.0001591086,"watershuriken":0.0001591086},"Teammates":{"Ditto":0.0001591086,"Meloetta":0.0001591086,"Rayquaza":0.0001591086,"Shedinja":0.0001591086,"Zoroark":0.0001591086},"Checks and Counters":{}},"Meloetta":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"serenegrace":0.0001591086},"Items":{"redcard":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Timid:0/0/0/252/4/252":0.0001591086},"Happiness":{"255":0.0001591086},"Moves":{"focusblast":0.0001591086,"perishsong":0.0001591086,"relicsong":0.0001591086,"signalbeam":0.0001591086},"Teammates":{"Ditto":0.0001591086,"Greninja-Ash":0.0001591086,"Rayquaza":0.0001591086,"Shedinja":0.0001591086,"Zoroark":0.0001591086},"Checks and Counters":{}},"Rayquaza":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"airlock":0.0001591086},"Items":{"ejectbutton":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Adamant:0/252/0/0/4/252":0.0001591086},"Happiness":{"255":0.0001591086},"Moves":{"dragonascent":0.0001591086,"dragondance":0.0001591086,"extremespeed":0.0001591086,"roar":0.0001591086},"Teammates":{"Ditto":0.0001591086,"Greninja-Ash":0.0001591086,"Meloetta":0.0001591086,"Shedinja":0.0001591086,"Zoroark":0.0001591086},"Checks and Counters":{}},"Shedinja":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"wonderguard":0.0001591086},"Items":{"focussash":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Naive:0/196/0/4/0/232":0.0001591086},"Happiness":{"255":0.0001591086},"Moves":{"facade":0.0001591086,"hiddenpowerdark":0.0001591086,"":0.0001591086,"swordsdance":0.0001591086},"Teammates":{"Ditto":0.0001591086,"Greninja-Ash":0.0001591086,"Meloetta":0.0001591086,"Rayquaza":0.0001591086,"Zoroark":0.0001591086},"Checks and Counters":{}},"Zoroark":{"Raw count":1,"usage":0.0009547,"Viability Ceiling":[1,43,43,43],"Abilities":{"illusion":0.0001591086},"Items":{"lifeorb":0.0001591086},"Tera Types":{"nothing":0.0001591086},"Spreads":{"Jolly:0/252/0/0/4/252":0.0001591086},"Happiness":{"0":0.0001591086},"Moves":{"frustration":0.0001591086,"knockoff":0.0001591086,"pursuit":0.0001591086,"uturn":0.0001591086},"Teammates":{"Ditto":0.0001591086,"Greninja-Ash":0.0001591086,"Meloetta":0.0001591086,"Rayquaza":0.0001591086,"Shedinja":0.0001591086},"Checks and Counters":{}}}} \ No newline at end of file diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/display.0.json b/stats/src/test/testdata/reports/gen7anythinggoes/display.0.json index c83fc02..6f439ca 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/display.0.json +++ b/stats/src/test/testdata/reports/gen7anythinggoes/display.0.json @@ -21,7 +21,7 @@ "Shaymin-Sky": 1, "Zygarde": 1 }, - "counters": {"Rayquaza-Mega": [1, 1, 0]} + "counters": {"Rayquaza": [1, 1, 0]} }, "Ditto": { "lead": {"raw": 0, "real": 0, "weighted": 0}, @@ -39,7 +39,7 @@ "teammates": { "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, @@ -120,7 +120,7 @@ "teammates": { "Ditto": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, @@ -153,7 +153,7 @@ "teammates": { "Ditto": 1, "Greninja-Ash": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, @@ -186,7 +186,7 @@ }, "counters": {"Ditto": [1, 1, 0], "Greninja-Ash": [1, 0, 0]} }, - "Rayquaza-Mega": { + "Rayquaza": { "lead": {"raw": 0.5, "real": 0.5, "weighted": 0.5}, "usage": {"raw": 0.5, "real": 0.6667, "weighted": 0.5}, "unique": {"raw": 3, "real": 3, "weighted": 3}, @@ -194,10 +194,10 @@ "count": 1, "weight": 1, "viability": [1, 43, 43, 43], - "abilities": {"Delta Stream": 1}, + "abilities": {"Air Lock": 1}, "items": {"Eject Button": 1}, "teraTypes": {"Nothing": 1}, - "stats": {"351/504/236/356/237/329": 1}, + "stats": {"351/438/216/302/217/289": 1}, "moves": { "Dragon Ascent": 1, "Dragon Dance": 1, @@ -262,7 +262,7 @@ "Ditto": 1, "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Zoroark": 1 }, "counters": {} @@ -284,7 +284,7 @@ "Ditto": 1, "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1 }, "counters": {} diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/display.1500.json b/stats/src/test/testdata/reports/gen7anythinggoes/display.1500.json index 739bc43..1b00f50 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/display.1500.json +++ b/stats/src/test/testdata/reports/gen7anythinggoes/display.1500.json @@ -21,7 +21,7 @@ "Shaymin-Sky": 1, "Zygarde": 1 }, - "counters": {"Rayquaza-Mega": [0.1587, 1, 0]} + "counters": {"Rayquaza": [0.1587, 1, 0]} }, "Dugtrio": { "lead": {"raw": 0, "real": 0, "weighted": 0}, @@ -169,7 +169,7 @@ "teammates": { "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, @@ -201,7 +201,7 @@ "teammates": { "Ditto": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, @@ -234,13 +234,13 @@ "teammates": { "Ditto": 1, "Greninja-Ash": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, "counters": {} }, - "Rayquaza-Mega": { + "Rayquaza": { "lead": {"raw": 0.5, "real": 0.5, "weighted": 0.1374}, "usage": {"raw": 0.5, "real": 0.6667, "weighted": 0.1374}, "unique": {"raw": 3, "real": 3, "weighted": 0.8243}, @@ -248,10 +248,10 @@ "count": 1, "weight": 0.1587, "viability": [1, 43, 43, 43], - "abilities": {"Delta Stream": 1}, + "abilities": {"Air Lock": 1}, "items": {"Eject Button": 1}, "teraTypes": {"Nothing": 1}, - "stats": {"351/504/236/356/237/329": 1}, + "stats": {"351/438/216/302/217/289": 1}, "moves": { "Dragon Ascent": 1, "Dragon Dance": 1, @@ -289,7 +289,7 @@ "Ditto": 1, "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Zoroark": 1 }, "counters": {} @@ -311,7 +311,7 @@ "Ditto": 1, "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1 }, "counters": {} diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/display.1630.json b/stats/src/test/testdata/reports/gen7anythinggoes/display.1630.json index 8ff846f..524c11c 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/display.1630.json +++ b/stats/src/test/testdata/reports/gen7anythinggoes/display.1630.json @@ -17,7 +17,7 @@ "teammates": { "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, @@ -44,7 +44,7 @@ "teammates": { "Ditto": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, @@ -71,13 +71,13 @@ "teammates": { "Ditto": 1, "Greninja-Ash": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, "counters": {} }, - "Rayquaza-Mega": { + "Rayquaza": { "lead": {"raw": 0.5, "real": 0.5, "weighted": 1}, "usage": {"raw": 0.5, "real": 0.6667, "weighted": 1}, "unique": {"raw": 3, "real": 3, "weighted": 6}, @@ -85,10 +85,10 @@ "count": 1, "weight": 0.0002, "viability": [1, 43, 43, 43], - "abilities": {"Delta Stream": 1}, + "abilities": {"Air Lock": 1}, "items": {"Eject Button": 1}, "teraTypes": {"Nothing": 1}, - "stats": {"351/504/236/356/237/329": 1}, + "stats": {"351/438/216/302/217/289": 1}, "moves": { "Dragon Ascent": 1, "Dragon Dance": 1, @@ -126,7 +126,7 @@ "Ditto": 1, "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Zoroark": 1 }, "counters": {} @@ -148,7 +148,7 @@ "Ditto": 1, "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1 }, "counters": {} diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/display.1760.json b/stats/src/test/testdata/reports/gen7anythinggoes/display.1760.json index 45485b6..0166326 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/display.1760.json +++ b/stats/src/test/testdata/reports/gen7anythinggoes/display.1760.json @@ -17,7 +17,7 @@ "teammates": { "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, @@ -44,7 +44,7 @@ "teammates": { "Ditto": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, @@ -71,13 +71,13 @@ "teammates": { "Ditto": 1, "Greninja-Ash": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1, "Zoroark": 1 }, "counters": {} }, - "Rayquaza-Mega": { + "Rayquaza": { "lead": {"raw": 0.5, "real": 0.5, "weighted": 1}, "usage": {"raw": 0.5, "real": 0.6667, "weighted": 1}, "unique": {"raw": 3, "real": 3, "weighted": 6}, @@ -85,10 +85,10 @@ "count": 1, "weight": 0, "viability": [1, 43, 43, 43], - "abilities": {"Delta Stream": 1}, + "abilities": {"Air Lock": 1}, "items": {"Eject Button": 1}, "teraTypes": {"Nothing": 1}, - "stats": {"351/504/236/356/237/329": 1}, + "stats": {"351/438/216/302/217/289": 1}, "moves": { "Dragon Ascent": 1, "Dragon Dance": 1, @@ -126,7 +126,7 @@ "Ditto": 1, "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Zoroark": 1 }, "counters": {} @@ -148,7 +148,7 @@ "Ditto": 1, "Greninja-Ash": 1, "Meloetta": 1, - "Rayquaza-Mega": 1, + "Rayquaza": 1, "Shedinja": 1 }, "counters": {} diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/leads.0.txt b/stats/src/test/testdata/reports/gen7anythinggoes/leads.0.txt index 56a9348..dc82c48 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/leads.0.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/leads.0.txt @@ -3,5 +3,5 @@ | Rank | Pokemon | Usage % | Raw | % | + ---- + ------------------ + --------- + ------ + ------- + | 1 | Darmanitan | 50.00000% | 1 | 50.000% | - | 2 | Rayquaza-Mega | 50.00000% | 1 | 50.000% | + | 2 | Rayquaza | 50.00000% | 1 | 50.000% | + ---- + ------------------ + --------- + ------ + ------- + diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/leads.1500.txt b/stats/src/test/testdata/reports/gen7anythinggoes/leads.1500.txt index 5635a84..b005468 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/leads.1500.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/leads.1500.txt @@ -3,5 +3,5 @@ | Rank | Pokemon | Usage % | Raw | % | + ---- + ------------------ + --------- + ------ + ------- + | 1 | Darmanitan | 86.26153% | 1 | 50.000% | - | 2 | Rayquaza-Mega | 13.73847% | 1 | 50.000% | + | 2 | Rayquaza | 13.73847% | 1 | 50.000% | + ---- + ------------------ + --------- + ------ + ------- + diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/leads.1630.txt b/stats/src/test/testdata/reports/gen7anythinggoes/leads.1630.txt index 200204f..fd1b194 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/leads.1630.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/leads.1630.txt @@ -2,6 +2,6 @@ + ---- + ------------------ + --------- + ------ + ------- + | Rank | Pokemon | Usage % | Raw | % | + ---- + ------------------ + --------- + ------ + ------- + - | 1 | Rayquaza-Mega | 0.01591% | 1 | 50.000% | + | 1 | Rayquaza | 0.01591% | 1 | 50.000% | | 2 | Darmanitan | 0.00000% | 1 | 50.000% | + ---- + ------------------ + --------- + ------ + ------- + diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/leads.1760.txt b/stats/src/test/testdata/reports/gen7anythinggoes/leads.1760.txt index 110cc7c..d0eba61 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/leads.1760.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/leads.1760.txt @@ -2,6 +2,6 @@ + ---- + ------------------ + --------- + ------ + ------- + | Rank | Pokemon | Usage % | Raw | % | + ---- + ------------------ + --------- + ------ + ------- + - | 1 | Rayquaza-Mega | 0.00000% | 1 | 50.000% | + | 1 | Rayquaza | 0.00000% | 1 | 50.000% | | 2 | Darmanitan | 0.00000% | 1 | 50.000% | + ---- + ------------------ + --------- + ------ + ------- + diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/movesets.0.txt b/stats/src/test/testdata/reports/gen7anythinggoes/movesets.0.txt index 584f94b..b7d4349 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/movesets.0.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/movesets.0.txt @@ -31,7 +31,7 @@ | Zygarde 100.000% | +----------------------------------------+ | Checks and Counters | - | Rayquaza-Mega 100.000 (100.00±0.00) | + | Rayquaza 100.000 (100.00±0.00) | | (100.0% KOed / 0.0% switched out) | +----------------------------------------+ +----------------------------------------+ @@ -60,7 +60,7 @@ | Teammates | | Greninja-Ash 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | | Zoroark 100.000% | +----------------------------------------+ @@ -176,7 +176,7 @@ | Teammates | | Ditto 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | | Zoroark 100.000% | +----------------------------------------+ @@ -220,7 +220,7 @@ | Teammates | | Ditto 100.000% | | Greninja-Ash 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | | Zoroark 100.000% | +----------------------------------------+ @@ -265,14 +265,14 @@ | (0.0% KOed / 0.0% switched out) | +----------------------------------------+ +----------------------------------------+ - | Rayquaza-Mega | + | Rayquaza | +----------------------------------------+ | Raw count: 1 | | Avg. weight: 1.0 | | Viability Ceiling: 43 | +----------------------------------------+ | Abilities | - | Delta Stream 100.000% | + | Air Lock 100.000% | +----------------------------------------+ | Items | | Eject Button 100.000% | @@ -367,7 +367,7 @@ | Ditto 100.000% | | Greninja-Ash 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Zoroark 100.000% | +----------------------------------------+ | Checks and Counters | @@ -401,7 +401,7 @@ | Ditto 100.000% | | Greninja-Ash 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | +----------------------------------------+ | Checks and Counters | diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/movesets.1500.txt b/stats/src/test/testdata/reports/gen7anythinggoes/movesets.1500.txt index 10d73c0..142eef4 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/movesets.1500.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/movesets.1500.txt @@ -31,7 +31,7 @@ | Zygarde 100.000% | +----------------------------------------+ | Checks and Counters | - | Rayquaza-Mega 100.000 (100.00±0.00) | + | Rayquaza 100.000 (100.00±0.00) | | (100.0% KOed / 0.0% switched out) | +----------------------------------------+ +----------------------------------------+ @@ -248,7 +248,7 @@ | Teammates | | Greninja-Ash 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | | Zoroark 100.000% | +----------------------------------------+ @@ -290,7 +290,7 @@ | Teammates | | Ditto 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | | Zoroark 100.000% | +----------------------------------------+ @@ -334,21 +334,21 @@ | Teammates | | Ditto 100.000% | | Greninja-Ash 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | | Zoroark 100.000% | +----------------------------------------+ | Checks and Counters | +----------------------------------------+ +----------------------------------------+ - | Rayquaza-Mega | + | Rayquaza | +----------------------------------------+ | Raw count: 1 | | Avg. weight: 0.158655253931 | | Viability Ceiling: 43 | +----------------------------------------+ | Abilities | - | Delta Stream 100.000% | + | Air Lock 100.000% | +----------------------------------------+ | Items | | Eject Button 100.000% | @@ -405,7 +405,7 @@ | Ditto 100.000% | | Greninja-Ash 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Zoroark 100.000% | +----------------------------------------+ | Checks and Counters | @@ -439,7 +439,7 @@ | Ditto 100.000% | | Greninja-Ash 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | +----------------------------------------+ | Checks and Counters | diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/movesets.1630.txt b/stats/src/test/testdata/reports/gen7anythinggoes/movesets.1630.txt index 9cf44b2..19bf8cb 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/movesets.1630.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/movesets.1630.txt @@ -24,7 +24,7 @@ | Teammates | | Greninja-Ash 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | | Zoroark 100.000% | +----------------------------------------+ @@ -58,7 +58,7 @@ | Teammates | | Ditto 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | | Zoroark 100.000% | +----------------------------------------+ @@ -92,21 +92,21 @@ | Teammates | | Ditto 100.000% | | Greninja-Ash 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | | Zoroark 100.000% | +----------------------------------------+ | Checks and Counters | +----------------------------------------+ +----------------------------------------+ - | Rayquaza-Mega | + | Rayquaza | +----------------------------------------+ | Raw count: 1 | | Avg. weight: 0.00015910859 | | Viability Ceiling: 43 | +----------------------------------------+ | Abilities | - | Delta Stream 100.000% | + | Air Lock 100.000% | +----------------------------------------+ | Items | | Eject Button 100.000% | @@ -161,7 +161,7 @@ | Ditto 100.000% | | Greninja-Ash 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Zoroark 100.000% | +----------------------------------------+ | Checks and Counters | @@ -195,7 +195,7 @@ | Ditto 100.000% | | Greninja-Ash 100.000% | | Meloetta 100.000% | - | Rayquaza-Mega 100.000% | + | Rayquaza 100.000% | | Shedinja 100.000% | +----------------------------------------+ | Checks and Counters | diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/usage.0.txt b/stats/src/test/testdata/reports/gen7anythinggoes/usage.0.txt index 3fe1bad..50b4bb2 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/usage.0.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/usage.0.txt @@ -10,7 +10,7 @@ | 5 | Greninja-Ash | 50.00000% | 1 | 50.000% | 1 | 66.667% | | 6 | Meloetta | 50.00000% | 1 | 50.000% | 0 | 0.000% | | 7 | Mimikyu | 50.00000% | 1 | 50.000% | 1 | 66.667% | - | 8 | Rayquaza-Mega | 50.00000% | 1 | 50.000% | 1 | 66.667% | + | 8 | Rayquaza | 50.00000% | 1 | 50.000% | 1 | 66.667% | | 9 | Shaymin-Sky | 50.00000% | 1 | 50.000% | 1 | 66.667% | | 10 | Shedinja | 50.00000% | 1 | 50.000% | 0 | 0.000% | | 11 | Zoroark | 50.00000% | 1 | 50.000% | 0 | 0.000% | diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/usage.1500.txt b/stats/src/test/testdata/reports/gen7anythinggoes/usage.1500.txt index dc15573..f244265 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/usage.1500.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/usage.1500.txt @@ -12,7 +12,7 @@ | 7 | Ditto | 13.73847% | 1 | 50.000% | 1 | 66.667% | | 8 | Greninja-Ash | 13.73847% | 1 | 50.000% | 1 | 66.667% | | 9 | Meloetta | 13.73847% | 1 | 50.000% | 0 | 0.000% | - | 10 | Rayquaza-Mega | 13.73847% | 1 | 50.000% | 1 | 66.667% | + | 10 | Rayquaza | 13.73847% | 1 | 50.000% | 1 | 66.667% | | 11 | Shedinja | 13.73847% | 1 | 50.000% | 0 | 0.000% | | 12 | Zoroark | 13.73847% | 1 | 50.000% | 0 | 0.000% | + ---- + ------------------ + --------- + ------ + ------- + ------ + ------- + diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/usage.1630.txt b/stats/src/test/testdata/reports/gen7anythinggoes/usage.1630.txt index 13b2527..df8f75b 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/usage.1630.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/usage.1630.txt @@ -6,7 +6,7 @@ | 1 | Ditto | 0.09547% | 1 | 50.000% | 1 | 66.667% | | 2 | Greninja-Ash | 0.09547% | 1 | 50.000% | 1 | 66.667% | | 3 | Meloetta | 0.09547% | 1 | 50.000% | 0 | 0.000% | - | 4 | Rayquaza-Mega | 0.09547% | 1 | 50.000% | 1 | 66.667% | + | 4 | Rayquaza | 0.09547% | 1 | 50.000% | 1 | 66.667% | | 5 | Shedinja | 0.09547% | 1 | 50.000% | 0 | 0.000% | | 6 | Zoroark | 0.09547% | 1 | 50.000% | 0 | 0.000% | | 7 | Darmanitan | 0.00000% | 1 | 50.000% | 1 | 66.667% | diff --git a/stats/src/test/testdata/reports/gen7anythinggoes/usage.1760.txt b/stats/src/test/testdata/reports/gen7anythinggoes/usage.1760.txt index dd7a5e4..7600bd6 100644 --- a/stats/src/test/testdata/reports/gen7anythinggoes/usage.1760.txt +++ b/stats/src/test/testdata/reports/gen7anythinggoes/usage.1760.txt @@ -6,7 +6,7 @@ | 1 | Ditto | 0.00000% | 1 | 50.000% | 1 | 66.667% | | 2 | Greninja-Ash | 0.00000% | 1 | 50.000% | 1 | 66.667% | | 3 | Meloetta | 0.00000% | 1 | 50.000% | 0 | 0.000% | - | 4 | Rayquaza-Mega | 0.00000% | 1 | 50.000% | 1 | 66.667% | + | 4 | Rayquaza | 0.00000% | 1 | 50.000% | 1 | 66.667% | | 5 | Shedinja | 0.00000% | 1 | 50.000% | 0 | 0.000% | | 6 | Zoroark | 0.00000% | 1 | 50.000% | 0 | 0.000% | | 7 | Darmanitan | 0.00000% | 1 | 50.000% | 1 | 66.667% | diff --git a/stats/src/util.ts b/stats/src/util.ts index 2085846..45064b3 100644 --- a/stats/src/util.ts +++ b/stats/src/util.ts @@ -59,14 +59,6 @@ export function genForFormat(gens: Generations, format: ID) { return gens.get(m ? m[1] : 6); } -const MEGA_RAYQUAZA_BANNED = new Set([ - 'ubers', 'battlefactory', 'megamons', 'gen6ubers', 'gen7ubers', 'gen7pokebankubers', -]); - -export function isMegaRayquazaAllowed(format: ID) { - return !MEGA_RAYQUAZA_BANNED.has(format); -} - export function isMega(species: Specie, legacy: boolean) { return species.forme && (species.forme.startsWith('Mega') || species.forme.startsWith('Primal') || (!legacy && species.forme.startsWith('Ultra')));