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

101 lines
1.9 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: "g1-34",
localId: 34,
// Card informations
name: {
en: "Haunter",
fr: "Spectrum",
},
hp: 70,
type: [
Type.PSYCHIC,
],
dexId: 93,
image: {
low: {
en: "https://assets.tcgdex.net/en/xy/g1/34/low",
fr: "https://assets.tcgdex.net/fr/xy/g1/34/low",
},
high: {
en: "https://assets.tcgdex.net/en/xy/g1/34/high",
fr: "https://assets.tcgdex.net/fr/xy/g1/34/high",
},
},
evolveFrom: {
en: "Gastly",
fr: "Fantominus",
},
tags: [
Tag.STAGE1,
],
illustrator: "Midori Harada",
abilities: [{
id: 776,
type: AbilityType.TALENT,
name: {
en: "Gothic Fear",
fr: "Peur Gothique",
},
text: {
en: "When you play this Pokémon from your hand to evolve 1 of your Pokémon, you may leave both Active Pokémon Confused.",
fr: "Lorsque vous jouez ce Pokémon de votre main pour faire évoluer l'un de vos Pokémon, vous pouvez laisser les deux Pokémon Actifs Confus.",
}
}],
attacks: [{
cost: [
Type.PSYCHIC,
Type.COLORLESS
],
name: {
en: "Poison Ring",
fr: "Anneau de Poison",
},
text: {
en: "Your opponent's Active Pokémon is now Poisoned. That Pokémon can't retreat during your opponent's next turn.",
fr: "Le Pokémon Actif de votre adversaire est maintenant Empoisonné. Ce dernier ne peut pas battre en retraite pendant le prochain tour de votre adversaire.",
},
}],
weaknesses: [{
type: Type.DARKNESS,
value: "×2"
}],
resistances: [{
type: Type.FIGHTING,
value: "-20"
}],
retreat: 1,
rarity: Rarity.UNCOMMON,
category: Category.POKEMON,
set: {
name: "Generations",
code: "g1"
}
}
export default card