1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-05-01 07:12:08 +00:00
Florian Bouillon 384d5bd08d
Updated Cards to use new Ra
rities

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-05-04 14:00:12 +02:00

94 lines
1.4 KiB
TypeScript

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: "pl3-123",
localId: 123,
// Card informations
name: {
en: "Roselia",
fr: "Roselia",
},
hp: 60,
type: [
Type.GRASS,
],
dexId: 315,
image: {
low: {
en: "https://assets.tcgdex.net/en/pl/pl3/123/low",
fr: "https://assets.tcgdex.net/fr/pl/pl3/123/low",
},
high: {
en: "https://assets.tcgdex.net/en/pl/pl3/123/high",
fr: "https://assets.tcgdex.net/fr/pl/pl3/123/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Hajime Kusajima",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Vine Slap",
fr: "Gifle de liane",
},
damage: 10
},{
cost: [
Type.GRASS,
Type.COLORLESS
],
name: {
en: "Spit Poison",
fr: "Crache-venin",
},
text: {
en: "Flip a coin. If heads, the Defending Pokémon is now Poisoned.",
fr: "Lancez une pièce. Si c'est face, le Pokémon Défenseur est maintenant Empoisonné.",
},
damage: 10
}],
weaknesses: [{
type: Type.FIRE,
value: "+10"
}],
retreat: 1,
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "Supreme Victors",
code: "pl3"
}
}
export default card