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: "xy12-48", localId: 48, // Card informations name: { en: "Haunter", fr: "Spectrum", }, hp: 70, type: [ Type.PSYCHIC, ], dexId: 93, image: { low: { en: "https://assets.tcgdex.net/en/xy/xy12/48/low", fr: "https://assets.tcgdex.net/fr/xy/xy12/48/low", }, high: { en: "https://assets.tcgdex.net/en/xy/xy12/48/high", fr: "https://assets.tcgdex.net/fr/xy/xy12/48/high", }, }, evolveFrom: { en: "Gastly", fr: "Fantominus", }, tags: [ Tag.STAGE1, ], illustrator: "Keiji Kinebuchi", attacks: [{ cost: [ Type.PSYCHIC ], name: { en: "Hypnosis", fr: "Hypnose", }, text: { en: "Your opponent's Active Pokémon is now Asleep.", fr: "Le Pokémon Actif de votre adversaire est maintenant Endormi.", }, },{ cost: [ Type.PSYCHIC, Type.COLORLESS ], name: { en: "Dream Eater", fr: "Dévorêve", }, text: { en: "If your opponent's Active Pokémon is not Asleep, this attack does nothing.", fr: "Si le Pokémon Actif de votre adversaire n’est pas Endormi, cette attaque ne fait rien.", }, damage: 80 }], weaknesses: [{ type: Type.DARKNESS, value: "×2" }], resistances: [{ type: Type.FIGHTING, value: "-20" }], retreat: 1, rarity: Rarity.UNCOMMON, category: Category.POKEMON, set: { name: "Evolutions", code: "xy12" } } export default card