1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-25 12:22:14 +00:00
Florian Bouillon 6ca1ae94ed
Updated Cards to use new Rarities
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-05-04 13:58:48 +02:00

98 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: "xy2-2",
localId: 2,
// Card informations
name: {
en: "Metapod",
fr: "Chrysacier",
},
hp: 70,
type: [
Type.GRASS,
],
dexId: 11,
image: {
low: {
en: "https://assets.tcgdex.net/en/xy/xy2/2/low",
fr: "https://assets.tcgdex.net/fr/xy/xy2/2/low",
},
high: {
en: "https://assets.tcgdex.net/en/xy/xy2/2/high",
fr: "https://assets.tcgdex.net/fr/xy/xy2/2/high",
},
},
evolveFrom: {
en: "Caterpie",
fr: "Chenipan",
},
tags: [
Tag.STAGE1,
],
illustrator: "kawayoo",
abilities: [{
id: 608,
type: AbilityType.TALENT,
name: {
en: "Adaptive Evolution",
fr: "Évolution Adaptative",
},
text: {
en: "This Pokémon can evolve during your first turn or the turn you play it.",
fr: "Ce Pokémon peut évoluer pendant votre premier tour ou pendant le tour où vous le jouez.",
}
}],
attacks: [{
cost: [
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Harden",
fr: "Armure",
},
text: {
en: "During your opponent's next turn, if this Pokémon would be damaged by an attack, prevent that attack's damage done to this Pokémon if that damage is 60 or less.",
fr: "Pendant le prochain tour de votre adversaire, si ce Pokémon doit subir les dégâts d'une attaque, évitez les dégâts infligés à ce Pokémon si ces dégâts sont de 60 ou moins.",
},
}],
weaknesses: [{
type: Type.FIRE,
value: "×2"
}],
retreat: 2,
rarity: Rarity.UNCOMMON,
category: Category.POKEMON,
set: {
name: "Flashfire",
code: "xy2"
}
}
export default card