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: "ecard1-80", localId: 80, // Card informations name: { en: "Haunter", }, hp: 70, type: [ Type.PSYCHIC, ], dexId: 93, image: { low: { en: "https://assets.tcgdex.net/en/ecard/ecard1/80/low", }, high: { en: "https://assets.tcgdex.net/en/ecard/ecard1/80/high", }, }, evolveFrom: { en: "Gastly", }, tags: [ Tag.STAGE1, ], illustrator: "Yukiko Baba", attacks: [{ cost: [ Type.PSYCHIC, Type.COLORLESS ], name: { en: "Nightmare", }, text: { en: "The Defending Pokémon is now Asleep.", }, damage: 20 },{ cost: [ Type.PSYCHIC, Type.COLORLESS ], name: { en: "Dream Eater", }, text: { en: "If the Defending Pokémon isn't Asleep, this attack does nothing.", }, }], weaknesses: [{ type: Type.DARKNESS, value: "×2" }], resistances: [{ type: Type.FIGHTING, value: "-30" }], rarity: Rarity.UNCOMMON, category: Category.POKEMON, set: { name: "Expedition Base Set", code: "ecard1" } } export default card