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

87 lines
1.3 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: "dp2-70",
localId: 70,
// Card informations
name: {
en: "Aipom",
},
hp: 60,
type: [
Type.COLORLESS,
],
dexId: 190,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp2/70/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp2/70/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Kagemaru Himeno",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Tail Whap",
},
damage: 10
},{
cost: [
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Throw Off",
},
text: {
en: "Choose 1 of your opponent's Pokémon. This attack does 20 damage to that Pokémon. (Don't apply Weakness and Resistance for Benched Pokémon.) Before doing damage, discard all Pokémon Tool cards attached to that Pokémon.",
},
}],
weaknesses: [{
type: Type.FIGHTING,
value: "+10"
}],
rarity: Rarity.Common,
category: Category.POKEMON,
set: {
name: "Mysterious Treasures",
code: "dp2"
}
}
export default card