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

94 lines
1.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: "base5-23",
localId: 23,
// Card informations
name: {
en: "Dark Dugtrio",
},
hp: 50,
type: [
Type.FIGHTING,
],
dexId: 51,
image: {
low: {
en: "https://assets.tcgdex.net/en/base/base5/23/low",
},
high: {
en: "https://assets.tcgdex.net/en/base/base5/23/high",
},
},
evolveFrom: {
en: "Diglett",
},
tags: [
Tag.STAGE1,
],
illustrator: "Kagemaru Himeno",
abilities: [{
id: 1121,
type: AbilityType.POKEPOWER,
name: {
en: "Sinkhole",
},
text: {
en: "Whenever your opponent's Active Pokémon retreats, your opponent flips a coin. If tails, this power does 20 damage to that Pokémon. (Don't apply Weakness and Resistance.) This power stops working while Dark Dugtrio is Asleep, Confused, or Paralyzed.",
}
}],
attacks: [{
cost: [
Type.FIGHTING,
Type.FIGHTING
],
name: {
en: "Knock Down",
},
text: {
en: "Your opponent flips a coin. If tails, this attack does 20 damage plus 20 more damage; if heads, this attack does 20 damage.",
},
damage: 20
}],
weaknesses: [{
type: Type.GRASS,
value: "×2"
}],
resistances: [{
type: Type.LIGHTNING,
value: "-30"
}],
rarity: Rarity.Rare,
category: Category.POKEMON,
set: {
name: "Team Rocket",
code: "base5"
}
}
export default card