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: "bw8-45", localId: 45, // Card informations name: { en: "Magneton", fr: "Magnéton", }, hp: 80, type: [ Type.LIGHTNING, ], dexId: 82, image: { low: { en: "https://assets.tcgdex.net/en/bw/bw8/45/low", fr: "https://assets.tcgdex.net/fr/bw/bw8/45/low", }, high: { en: "https://assets.tcgdex.net/en/bw/bw8/45/high", fr: "https://assets.tcgdex.net/fr/bw/bw8/45/high", }, }, evolveFrom: { en: "Magnemite", fr: "Magnéti", }, tags: [ Tag.STAGE1, ], illustrator: "match", attacks: [{ cost: [ Type.LIGHTNING, Type.COLORLESS ], name: { en: "Knock Away", fr: "Asticotage", }, text: { en: "Flip a coin. If heads, this attack does 20 more damage.", fr: "Lancez une pièce. Si c'est face, cette attaque inflige 20 dégâts supplémentaires.", }, damage: 20 }], weaknesses: [{ type: Type.FIGHTING, value: "×2" }], retreat: 2, rarity: Rarity.UNCOMMON, category: Category.POKEMON, set: { name: "Plasma Storm", code: "bw8" } } export default card