Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisXV authored and smudgerox committed Dec 3, 2023
1 parent a193718 commit 6704784
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/formats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2139,7 +2139,7 @@ export const Formats: FormatList = [
mod: 'gen9',
gameType: 'doubles',
ruleset: ['Standard NatDex', 'OHKO Clause', 'Evasion Moves Clause', 'Evasion Abilities Clause', 'Species Clause', 'Gravity Sleep Clause'],
banlist: ['ND DUber', 'Gengar-Mega', 'Commander', 'Power Construct', 'Assist', 'Dark Void', 'Swagger'],
banlist: ['ND DUber', 'Commander', 'Power Construct', 'Assist', 'Dark Void', 'Swagger'],
},
{
name: "[Gen 9] National Dex AG",
Expand Down
4 changes: 0 additions & 4 deletions data/tags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,6 @@ export const Tags: {[id: string]: TagData} = {
name: "ND DUU",
speciesFilter: species => species.natDexDoublesTier === 'DUU',
},
nddlc: {
name: "ND DLC",
speciesFilter: species => species.natDexDoublesTier === 'LC',
},

// Legality tags
past: {
Expand Down
2 changes: 1 addition & 1 deletion sim/team-validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ export class TeamValidator {
setHas[ndTierTag] = true;

const ndDoublesTier = tierSpecies.natDexDoublesTier === '(DUU)' ? 'DNU' : tierSpecies.natDexDoublesTier;
const ndDoublesTierTag = 'pokemontag:ndd' + toID(ndDoublesTier);
const ndDoublesTierTag = 'pokemontag:nd' + toID(ndDoublesTier);
setHas[ndDoublesTierTag] = true;

// Only pokemon that can gigantamax should have the Gmax flag
Expand Down

0 comments on commit 6704784

Please sign in to comment.