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-XY62", localId: "XY62", // Card informations name: { en: "Absol-EX", fr: "Absol-EX", }, hp: 170, type: [ Type.DARKNESS, ], dexId: 359, image: { low: { en: "https://assets.tcgdex.net/en/xy/xyp/XY62/low", fr: "https://assets.tcgdex.net/fr/xy/xyp/XY62/low", }, high: { en: "https://assets.tcgdex.net/en/xy/xyp/XY62/high", fr: "https://assets.tcgdex.net/fr/xy/xyp/XY62/high", }, }, evolveFrom: {}, tags: [ Tag.EX, ], illustrator: "PLANETA", attacks: [{ cost: [ Type.DARKNESS ], name: { en: "Dark Fang", fr: "Croc Obscurité", }, text: { en: "Flip a coin. If heads, discard a random card from your opponent's hand.", fr: "Lancez une pièce. Si c'est face, défaussez au hasard une carte de la main de votre adversaire.", }, damage: 20 },{ cost: [ Type.DARKNESS, Type.DARKNESS, Type.COLORLESS ], name: { en: "Dark Edge", }, text: { en: "During your opponent's next turn, any damage done by attacks from the Defending Pokémon is reduced by 20 (before applying Weakness and Resistance).", }, damage: 100 }], weaknesses: [{ type: Type.FIGHTING, value: "×2" }], resistances: [{ type: Type.PSYCHIC, value: "-20" }], retreat: 2, rarity: Rarity.COMMON, category: Category.POKEMON, set: { name: "XY Black Star Promos", code: "xyp" } } export default card