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

101 lines
1.8 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: "smp-SM109",
localId: "SM109",
// Card informations
name: {
en: "Ash's Pikachu",
fr: "Pikachu de Sacha",
},
hp: 70,
type: [
Type.LIGHTNING,
],
dexId: 25,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/smp/SM109/low",
fr: "https://assets.tcgdex.net/fr/sm/smp/SM109/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/smp/SM109/high",
fr: "https://assets.tcgdex.net/fr/sm/smp/SM109/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "2017 Pikachu Project",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Agility",
fr: "Hâte",
},
text: {
en: "Flip a coin. If heads, prevent all effects of attacks, including damage, done to this Pokémon during your opponent's next turn.",
fr: "Lancez une pièce. Si cest face, évitez tous les effets dattaques, y compris les dégâts, infligés à ce Pokémon pendant le prochain tour de votre adversaire.",
},
},{
cost: [
Type.LIGHTNING,
Type.LIGHTNING,
Type.COLORLESS
],
name: {
en: "Thunder",
fr: "Fatal-Foudre",
},
text: {
en: "Flip a coin. If tails, this Pokémon does 20 damage to itself.",
fr: "Lancez une pièce. Si cest pile, ce Pokémon sinflige 20 dégâts.",
},
damage: 80
}],
weaknesses: [{
type: Type.FIGHTING,
value: "×2"
}],
resistances: [{
type: Type.METAL,
value: "-20"
}],
retreat: 1,
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "SM Black Star Promos",
code: "smp"
}
}
export default card