1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-25 04:12:11 +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

97 lines
1.6 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: "dp1-9",
localId: 9,
// Card informations
name: {
en: "Manaphy",
fr: "Manaphy",
},
hp: 70,
type: [
Type.WATER,
],
dexId: 490,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp1/9/low",
fr: "https://assets.tcgdex.net/fr/dp/dp1/9/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp1/9/high",
fr: "https://assets.tcgdex.net/fr/dp/dp1/9/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Nakaoka",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Call for Family",
fr: "Appel à la famille",
},
text: {
en: "Search your deck for a Basic Pokémon and put it onto your Bench. Shuffle your deck afterward.",
fr: "Choisissez dans votre deck un Pokémon de Base et placez-le sur votre Banc. Ensuite, mélangez votre deck.",
},
},{
cost: [
Type.WATER,
Type.WATER
],
name: {
en: "Aqua Ring",
fr: "Anneau Hydro",
},
text: {
en: "Switch Manaphy with 1 of your Benched Pokémon.",
fr: "Échangez Manaphy avec 1 des Pokémon de votre Banc.",
},
damage: 30
}],
weaknesses: [{
type: Type.LIGHTNING,
value: "+20"
}],
retreat: 1,
rarity: Rarity.RareHolo,
category: Category.POKEMON,
set: {
name: "Diamond & Pearl",
code: "dp1"
}
}
export default card