mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-04-24 11:52:16 +00:00
87 lines
1.5 KiB
TypeScript
87 lines
1.5 KiB
TypeScript
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: "sm12-242",
|
||
localId: 242,
|
||
|
||
// Card informations
|
||
name: {
|
||
en: "Magnemite",
|
||
fr: "Magnéti",
|
||
},
|
||
|
||
hp: 60,
|
||
|
||
type: [
|
||
Type.LIGHTNING,
|
||
],
|
||
|
||
dexId: 81,
|
||
|
||
image: {
|
||
low: {
|
||
en: "https://assets.tcgdex.net/en/sm/sm12/242/low",
|
||
fr: "https://assets.tcgdex.net/fr/sm/sm12/242/low",
|
||
},
|
||
high: {
|
||
en: "https://assets.tcgdex.net/en/sm/sm12/242/high",
|
||
fr: "https://assets.tcgdex.net/fr/sm/sm12/242/high",
|
||
},
|
||
},
|
||
|
||
evolveFrom: {},
|
||
|
||
tags: [
|
||
Tag.BASIC,
|
||
],
|
||
|
||
illustrator: "Fumie Kittaka",
|
||
|
||
|
||
|
||
attacks: [{
|
||
cost: [
|
||
Type.LIGHTNING
|
||
],
|
||
name: {
|
||
en: "Mirror Shot",
|
||
fr: "Miroi-Tir",
|
||
},
|
||
text: {
|
||
en: "If the Defending Pokémon tries to attack during your opponent's next turn, your opponent flips a coin. If tails, that attack doesn't happen.",
|
||
fr: "Si le Pokémon Défenseur essaie d’attaquer pendant le prochain tour de votre adversaire, ce dernier lance une pièce. Si c’est pile, l’attaque n’est pas lancée.",
|
||
},
|
||
damage: 10
|
||
}],
|
||
|
||
weaknesses: [{
|
||
type: Type.FIGHTING,
|
||
value: "×2"
|
||
}],
|
||
|
||
resistances: [{
|
||
type: Type.METAL,
|
||
value: "-20"
|
||
}],
|
||
|
||
retreat: 1,
|
||
|
||
rarity: Rarity.RARE,
|
||
|
||
category: Category.POKEMON,
|
||
|
||
set: {
|
||
name: "Cosmic Eclipse",
|
||
code: "sm12"
|
||
}
|
||
}
|
||
|
||
export default card
|