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

97 lines
1.7 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: "xy5-83",
localId: 83,
// Card informations
name: {
en: "Solrock",
fr: "Solaroc",
},
hp: 80,
type: [
Type.FIGHTING,
],
dexId: 338,
image: {
low: {
en: "https://assets.tcgdex.net/en/xy/xy5/83/low",
fr: "https://assets.tcgdex.net/fr/xy/xy5/83/low",
},
high: {
en: "https://assets.tcgdex.net/en/xy/xy5/83/high",
fr: "https://assets.tcgdex.net/fr/xy/xy5/83/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Midori Harada",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Solar Generator",
fr: "Générateur Solaire",
},
text: {
en: "Search your deck for up to 2 Special Energy cards, reveal them, and put them into your hand. Shuffle your deck afterward.",
fr: "Cherchez jusqu'à 2 cartes Énergie spéciale dans votre deck, montrez-les, puis ajoutez-les à votre main. Mélangez ensuite votre deck.",
},
},{
cost: [
Type.FIGHTING,
Type.COLORLESS
],
name: {
en: "Knock Away",
fr: "Asticotage",
},
text: {
en: "Flip a coin. If heads, this attack does 20 more damage.",
fr: "Lancez une pièce. Si c'est face, cette attaque inflige 20 dégâts supplémentaires.",
},
damage: 20
}],
weaknesses: [{
type: Type.GRASS,
value: "×2"
}],
retreat: 1,
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "Primal Clash",
code: "xy5"
}
}
export default card