1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-25 12:22:14 +00:00
Florian Bouillon a284fcac64
Updated DB and made it work with SDK
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-03-11 09:41:29 +01:00

96 lines
1.8 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Card from '@tcgdex/sdk/interfaces/Card'
import Type from '@tcgdex/sdk/interfaces/Type'
import Tag from '@tcgdex/sdk/interfaces/Tag'
import Rarity from '@tcgdex/sdk/interfaces/Rarity'
import AbilityType from '@tcgdex/sdk/interfaces/AbilityType'
import Category from '@tcgdex/sdk/interfaces/Category'
const card: Card = {
// ids
id: "sm10-3",
localId: 3,
// Card informations
name: {
en: "Metapod",
fr: "Chrysacier",
},
hp: 70,
type: [
Type.GRASS,
],
dexId: 11,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/sm10/3/low",
fr: "https://assets.tcgdex.net/fr/sm/sm10/3/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/sm10/3/high",
fr: "https://assets.tcgdex.net/fr/sm/sm10/3/high",
},
},
evolveFrom: {
en: "Caterpie",
fr: "Chenipan",
},
tags: [
Tag.STAGE1,
],
illustrator: "Shigenori Negishi",
abilities: [{
id: 38,
type: AbilityType.TALENT,
name: {
en: "Emerge",
fr: "Émerge",
},
text: {
en: "Once during your turn (before your attack), you may flip a coin. If heads, search your deck for a card that evolves from this Pokémon and put it onto this Pokémon to evolve it. Then, shuffle your deck.",
fr: "Une seule fois pendant votre tour (avant votre attaque), vous pouvez lancer une pièce. Si cest face, cherchez dans votre deck une carte qui évolue de ce Pokémon, puis placez-la sur ce Pokémon pour le faire évoluer. Mélangez ensuite votre deck.",
}
}],
attacks: [{
cost: [
Type.GRASS,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Bug Bite",
fr: "Piqûre",
},
damage: 30
}],
weaknesses: [{
type: Type.FIRE,
value: "×2"
}],
retreat: 3,
rarity: Rarity.Uncommon,
category: Category.POKEMON,
set: {
name: "Unbroken Bonds",
code: "sm10"
}
}
export default card