1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-25 12:22:14 +00:00
Florian Bouillon 6ca1ae94ed
Updated Cards to use new Rarities
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-05-04 13:58:48 +02:00

106 lines
1.9 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: "dp1-54",
localId: 54,
// Card informations
name: {
en: "Magneton",
fr: "Magneton",
},
hp: 70,
type: [
Type.METAL,
],
dexId: 82,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp1/54/low",
fr: "https://assets.tcgdex.net/fr/dp/dp1/54/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp1/54/high",
fr: "https://assets.tcgdex.net/fr/dp/dp1/54/high",
},
},
evolveFrom: {
en: "Magnemite",
fr: "Magneti",
},
tags: [
Tag.STAGE1,
],
illustrator: "Kouki Saitou",
attacks: [{
cost: [
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Tri Attack",
fr: "Triplattaque",
},
text: {
en: "Flip 3 coins. This attack does 20 damage times the number of heads.",
fr: "Lancez 3 pièces. Cette attaque inflige 20 dégâts multipliés par le nombre de faces.",
},
damage: 20
},{
cost: [
Type.METAL,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Magnetic Ray",
fr: "Rayon magnétique",
},
text: {
en: "Before doing damage, you may choose 1 of your opponent's Benched Pokémon that has any Energy attached to it and switch that Pokémon with 1 of the Defending Pokémon.",
fr: "Avant d'infliger des dégâts, vous pouvez choisir 1 des Pokémon de Banc de votre adversaire possédant de l'Énergie et l'échanger avec 1 des Pokémon Défenseurs.",
},
damage: 40
}],
weaknesses: [{
type: Type.FIRE,
value: "+20"
}],
resistances: [{
type: Type.PSYCHIC,
value: "-20"
}],
retreat: 2,
rarity: Rarity.UNCOMMON,
category: Category.POKEMON,
set: {
name: "Diamond & Pearl",
code: "dp1"
}
}
export default card