Skip to content

Commit

Permalink
feat: add Pecharunt (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
ytakahashi authored Jan 14, 2024
1 parent 75ee41a commit 0c8186f
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
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

0 comments on commit 0c8186f

Please sign in to comment.