1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-26 12:52:13 +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

100 lines
1.8 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

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: "xy12-47",
localId: 47,
// Card informations
name: {
en: "Gastly",
fr: "Fantominus",
},
hp: 40,
type: [
Type.PSYCHIC,
],
dexId: 92,
image: {
low: {
en: "https://assets.tcgdex.net/en/xy/xy12/47/low",
fr: "https://assets.tcgdex.net/fr/xy/xy12/47/low",
},
high: {
en: "https://assets.tcgdex.net/en/xy/xy12/47/high",
fr: "https://assets.tcgdex.net/fr/xy/xy12/47/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Keiji Kinebuchi",
attacks: [{
cost: [
Type.PSYCHIC
],
name: {
en: "Little Grudge",
fr: "Petite Rancune",
},
text: {
en: "During your opponent's next turn, if this Pokémon is Knocked Out by damage from an attack, discard an Energy attached to the Attacking Pokémon.",
fr: "Pendant le prochain tour de votre adversaire, si ce Pokémon est mis K.O. par les dégâts dune attaque, défaussez une Énergie attachée au Pokémon Attaquant.",
},
},{
cost: [
Type.PSYCHIC,
Type.COLORLESS
],
name: {
en: "Nightmare",
fr: "Cauchemar",
},
text: {
en: "Flip a coin. If heads, your opponent's Active Pokémon is now Asleep.",
fr: "Lancez une pièce. Si cest face, le Pokémon Actif de votre adversaire est maintenant Endormi.",
},
damage: 20
}],
weaknesses: [{
type: Type.DARKNESS,
value: "×2"
}],
resistances: [{
type: Type.FIGHTING,
value: "-20"
}],
retreat: 1,
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "Evolutions",
code: "xy12"
}
}
export default card