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: "xyp-XY22", localId: "XY22", // Card informations name: { en: "Darkrai", fr: "Darkrai", }, hp: 120, type: [ Type.DARKNESS, ], dexId: 491, image: { low: { en: "https://assets.tcgdex.net/en/xy/xyp/XY22/low", fr: "https://assets.tcgdex.net/fr/xy/xyp/XY22/low", }, high: { en: "https://assets.tcgdex.net/en/xy/xyp/XY22/high", fr: "https://assets.tcgdex.net/fr/xy/xyp/XY22/high", }, }, evolveFrom: {}, tags: [ Tag.BASIC, ], illustrator: "Sanosuke Sakuma", attacks: [{ cost: [ Type.DARKNESS, Type.COLORLESS ], name: { en: "Hypnoblast", fr: "Hypnoblast", }, text: { en: "Your opponent's Active Pokémon is now Asleep.", fr: "Le Pokémon Actif de votre adversaire est maintenant Endormi.", }, damage: 30 },{ cost: [ Type.DARKNESS, Type.DARKNESS, Type.COLORLESS ], name: { en: "Deep Wind", fr: "Vent Puissant", }, text: { en: "If your opponent's Active Pokémon is Asleep, this attack does 60 more damage and heal 30 damage from this Pokémon.", fr: "Si le Pokémon Actif de votre adversaire est Endormi, cette attaque inflige 60 dégâts supplémentaires et vous soignez 30 dégâts à ce Pokémon.", }, damage: 60 }], weaknesses: [{ type: Type.FIGHTING, value: "×2" }], resistances: [{ type: Type.PSYCHIC, value: "-20" }], retreat: 1, rarity: Rarity.COMMON, category: Category.POKEMON, set: { name: "XY Black Star Promos", code: "xyp" } } export default card