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 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: "xy6-47",
localId: 47,
// Card informations
name: {
en: "Carbink",
fr: "Strassie",
},
hp: 70,
type: [
Type.FAIRY,
],
dexId: 703,
image: {
low: {
en: "https://assets.tcgdex.net/en/xy/xy6/47/low",
fr: "https://assets.tcgdex.net/fr/xy/xy6/47/low",
},
high: {
en: "https://assets.tcgdex.net/en/xy/xy6/47/high",
fr: "https://assets.tcgdex.net/fr/xy/xy6/47/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Akira Komayama",
abilities: [{
id: 736,
type: AbilityType.TALENT,
name: {
en: "Jewel Armor",
fr: "Armure Joyau",
},
text: {
en: "As long as this Pokémon is on your Bench, prevent all damage done to this Pokémon by attacks (both yours and your opponent's).",
fr: "Tant que ce Pokémon est sur votre Banc, évitez tous les dégâts infligés à ce Pokémon par des attaques (les vôtres et celles de votre adversaire).",
}
}],
attacks: [{
cost: [
Type.FAIRY,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Spin Tackle",
fr: "Charge Tournoyante",
},
text: {
en: "Flip a coin. If tails, this Pokémon does 20 damage to itself.",
fr: "Lancez une pièce. Si c'est pile, ce Pokémon s'inflige 20 dégâts.",
},
damage: 60
}],
weaknesses: [{
type: Type.METAL,
value: "×2"
}],
resistances: [{
type: Type.DARKNESS,
value: "-20"
}],
retreat: 2,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Roaring Skies",
code: "xy6"
}
}
export default card