Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Pecharunt #76

Merged
merged 1 commit into from
Jan 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/ability.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ const abilityMap = new Map(
['テラスチェンジ', 'Tera Shift'],
['テラスシェル', 'Tera Shell'],
['ゼロフォーミング', 'Teraform Zero'],
['どくくぐつ', 'Poison Puppeteer'],
]
)

Expand Down
24 changes: 24 additions & 0 deletions src/resources/pokemon/gen9.json
Original file line number Diff line number Diff line change
Expand Up @@ -3535,5 +3535,29 @@
"egg_groups": [
"タマゴ未発見"
]
},
{
"id": "1025",
"name": "モモワロウ",
"type": [
"どく",
"ゴースト"
],
"abilities": [
{
"name": "どくくぐつ"
}
],
"status": {
"H": "88",
"A": "88",
"B": "160",
"C": "88",
"D": "88",
"S": "88"
},
"egg_groups": [
"タマゴ未発見"
]
}
]
7 changes: 7 additions & 0 deletions src/resources/pokemon/gen9_name.json
Original file line number Diff line number Diff line change
Expand Up @@ -831,5 +831,12 @@
"ja": "テラパゴス",
"en": "Terapagos"
}
},
{
"id": "1025",
"name": {
"ja": "モモワロウ",
"en": "Pecharunt"
}
}
]
2 changes: 1 addition & 1 deletion test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ describe('Pokedex class (ts)', () => {
}

it('returns all Pokemon', () => {
const totalCount = 1024
const totalCount = 1025

const all = pokedex.getPokemon()
expect(all.every((pokemon) => isValidPokemon(pokemon))).to.equal(true)
Expand Down