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

103 lines
1.9 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-45",
localId: 45,
// Card informations
name: {
en: "Nidoking",
fr: "Nidoking",
},
hp: 150,
type: [
Type.PSYCHIC,
],
dexId: 34,
image: {
low: {
en: "https://assets.tcgdex.net/en/xy/xy12/45/low",
fr: "https://assets.tcgdex.net/fr/xy/xy12/45/low",
},
high: {
en: "https://assets.tcgdex.net/en/xy/xy12/45/high",
fr: "https://assets.tcgdex.net/fr/xy/xy12/45/high",
},
},
evolveFrom: {
en: "Nidorino",
fr: "Nidorino",
},
tags: [
Tag.STAGE2,
],
illustrator: "Ken Sugimori",
attacks: [{
cost: [
Type.PSYCHIC,
Type.COLORLESS
],
name: {
en: "Rumble",
fr: "Bagarre",
},
text: {
en: "The Defending Pokémon can't retreat during your opponent's next turn.",
fr: "Le Pokémon Défenseur ne peut pas battre en retraite pendant le prochain tour de votre adversaire.",
},
damage: 40
},{
cost: [
Type.PSYCHIC,
Type.PSYCHIC,
Type.COLORLESS
],
name: {
en: "Tail Swing",
fr: "Balance Queue",
},
text: {
en: "This attack does 20 damage to each of your opponent's Benched Basic Pokémon. (Don't apply Weakness and Resistance for Benched Pokémon.)",
fr: "Cette attaque inflige 20 dégâts à chacun des Pokémon de base sur le Banc de votre adversaire. (Nappliquez ni la Faiblesse ni la Résistance aux Pokémon de Banc.)",
},
damage: 100
}],
weaknesses: [{
type: Type.PSYCHIC,
value: "×2"
}],
retreat: 3,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Evolutions",
code: "xy12"
}
}
export default card