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

102 lines
1.7 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: "sm12-79",
localId: 79,
// Card informations
name: {
en: "Xatu",
fr: "Xatu",
},
hp: 80,
type: [
Type.PSYCHIC,
],
dexId: 178,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/sm12/79/low",
fr: "https://assets.tcgdex.net/fr/sm/sm12/79/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/sm12/79/high",
fr: "https://assets.tcgdex.net/fr/sm/sm12/79/high",
},
},
evolveFrom: {
en: "Natu",
fr: "Natu",
},
tags: [
Tag.STAGE1,
],
illustrator: "Anesaki Dynamic",
attacks: [{
cost: [
Type.PSYCHIC
],
name: {
en: "Creepy Wind",
fr: "Vent Perturbant",
},
text: {
en: "Your opponent's Active Pokémon is now Confused.",
fr: "Le Pokémon Actif de votre adversaire est maintenant Confus.",
},
},{
cost: [
Type.PSYCHIC,
Type.COLORLESS
],
name: {
en: "Life Drain",
fr: "Perte dÉnergie",
},
text: {
en: "Flip a coin. If heads, put damage counters on your opponent's Active Pokémon until its remaining HP is 10.",
fr: "Lancez une pièce. Si cest face, placez des marqueurs de dégâts sur le Pokémon Actif de votre adversaire jusquà ce quil ait 10 PV.",
},
}],
weaknesses: [{
type: Type.LIGHTNING,
value: "×2"
}],
resistances: [{
type: Type.FIGHTING,
value: "-20"
}],
retreat: 2,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Cosmic Eclipse",
code: "sm12"
}
}
export default card