1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-05-16 21:49:53 +00:00
Florian Bouillon a284fcac64
Updated DB and made it work with SDK
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-03-11 09:41:29 +01:00

90 lines
1.1 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: "pl4-47",
localId: 47,
// Card informations
name: {
en: "Rapidash",
},
hp: 90,
type: [
Type.FIRE,
],
dexId: 78,
image: {
low: {
en: "https://assets.tcgdex.net/en/pl/pl4/47/low",
},
high: {
en: "https://assets.tcgdex.net/en/pl/pl4/47/high",
},
},
evolveFrom: {
en: "Ponyta",
},
tags: [
Tag.STAGE1,
],
illustrator: "Midori Harada",
attacks: [{
cost: [
Type.FIRE
],
name: {
en: "Searing Flame",
},
text: {
en: "The Defending Pokémon is now Burned.",
},
damage: 10
},{
cost: [
Type.FIRE,
Type.COLORLESS
],
name: {
en: "Flare",
},
damage: 40
}],
weaknesses: [{
type: Type.WATER,
value: "+20"
}],
rarity: Rarity.Uncommon,
category: Category.POKEMON,
set: {
name: "Arceus",
code: "pl4"
}
}
export default card