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

108 lines
2.0 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-29",
localId: 29,
// Card informations
name: {
en: "Hippowdon",
fr: "Hippodocus",
},
hp: 110,
type: [
Type.FIGHTING,
],
dexId: 450,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp1/29/low",
fr: "https://assets.tcgdex.net/fr/dp/dp1/29/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp1/29/high",
fr: "https://assets.tcgdex.net/fr/dp/dp1/29/high",
},
},
evolveFrom: {
en: "Hippopotas",
fr: "Hippopotas",
},
tags: [
Tag.STAGE1,
],
illustrator: "Kouki Saitou",
attacks: [{
cost: [
Type.FIGHTING,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Vacuum Up",
fr: "Aspirer",
},
text: {
en: "The Defending Pokémon can't retreat during your opponent's next turn.",
fr: "Le Pokémon Défenseur ne peut pas battre en retraite lors du prochain tour de votre adversaire.",
},
damage: 40
},{
cost: [
Type.FIGHTING,
Type.FIGHTING,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Sand Eject",
fr: "Jeteur de sable",
},
text: {
en: "During your next turn, if an attack does damage to the Defending Pokémon (after applying Weakness and Resistance), that attack does 40 more damage.",
fr: "Lors de votre prochain tour, si une attaque inflige des dégâts au Pokémon Défenseur (après application de la Faiblesse et de la Résistance), cette attaque inflige 40 dégâts supplémentaires.",
},
damage: 60
}],
weaknesses: [{
type: Type.WATER,
value: "+20"
}],
resistances: [{
type: Type.LIGHTNING,
value: "-20"
}],
retreat: 3,
rarity: Rarity.Rare,
category: Category.POKEMON,
set: {
name: "Diamond & Pearl",
code: "dp1"
}
}
export default card