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

99 lines
1.7 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-51",
localId: 51,
// Card informations
name: {
en: "Hippopotas",
fr: "Hippopotas",
},
hp: 60,
type: [
Type.FIGHTING,
],
dexId: 449,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp1/51/low",
fr: "https://assets.tcgdex.net/fr/dp/dp1/51/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp1/51/high",
fr: "https://assets.tcgdex.net/fr/dp/dp1/51/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Mitsuhiro Arita",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Yawn",
fr: "Baillement",
},
text: {
en: "The Defending Pokémon is now Asleep.",
fr: "Le Pokémon Défenseur est maintenant Endormi.",
},
},{
cost: [
Type.FIGHTING
],
name: {
en: "Sand Attack",
fr: "Jet de sable",
},
text: {
en: "If the Defending Pokémon tries to attack during your opponent's next turn, your opponent flips a coin. If tails, that attack does nothing.",
fr: "Si le Pokémon Défenseur essaye d'attaquer lors du prochain tour de votre adversaire, votre adversaire lance une pièce. Si c'est pile, cette attaque est sans effet.",
},
damage: 10
}],
weaknesses: [{
type: Type.WATER,
value: "+10"
}],
resistances: [{
type: Type.LIGHTNING,
value: "-20"
}],
retreat: 2,
rarity: Rarity.Uncommon,
category: Category.POKEMON,
set: {
name: "Diamond & Pearl",
code: "dp1"
}
}
export default card