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: "swsh1-84", localId: 84, // Card informations name: { en: "Haunter", fr: "Spectrum", }, hp: 70, type: [ Type.PSYCHIC, ], image: { low: { en: "https://assets.tcgdex.net/en/swsh/swsh1/84/low", fr: "https://assets.tcgdex.net/fr/swsh/swsh1/84/low", } }, evolveFrom: { en: "Gastly", fr: "Fantominus", }, tags: [ Tag.STAGE1, ], illustrator: "HYOGONOSUKE", attacks: [{ cost: [ Type.COLORLESS ], name: { en: "Nightmare", fr: "Cauchemar", }, text: { en: "Your opponent’s Active Pokémon is now Asleep.", fr: "Le Pokémon Actif de votre adversaire est maintenant Endormi.", }, damage: 20 },{ cost: [ Type.PSYCHIC, Type.COLORLESS ], name: { en: "Spooky Shot", fr: "Tir Effrayant", }, damage: 40 }], weaknesses: [{ type: Type.DARKNESS, value: "×2" }], resistances: [{ type: Type.FIGHTING, value: "-30" }], retreat: 1, rarity: Rarity.UNCOMMON, category: Category.POKEMON, set: { name: "Sword & Shield", code: "swsh1" } } export default card