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

92 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: "base6-11",
localId: 11,
// Card informations
name: {
en: "Gengar",
},
hp: 80,
type: [
Type.PSYCHIC,
],
dexId: 94,
image: {
low: {
en: "https://assets.tcgdex.net/en/base/base6/11/low",
},
high: {
en: "https://assets.tcgdex.net/en/base/base6/11/high",
},
},
evolveFrom: {
en: "Haunter",
},
tags: [
Tag.STAGE2,
],
illustrator: "Keiji Kinebuchi",
abilities: [{
id: 164,
type: AbilityType.POKEPOWER,
name: {
en: "Curse",
},
text: {
en: "Once during your turn (before your attack), you may move 1 damage counter from 1 of your opponent's Pokémon to another (even if it would Knock Out the other Pokémon). This power can't be used if Gengar is Asleep, Confused, or Paralyzed.",
}
}],
attacks: [{
cost: [
Type.PSYCHIC,
Type.PSYCHIC,
Type.PSYCHIC
],
name: {
en: "Dark Mind",
},
text: {
en: "If your opponent has any Benched Pokémon, choose 1 of them and this attack does 10 damage to it. (Don't apply Weakness and Resistance for Benched Pokémon.)",
},
damage: 30
}],
resistances: [{
type: Type.FIGHTING,
value: "-30"
}],
rarity: Rarity.Rare,
category: Category.POKEMON,
set: {
name: "Legendary Collection",
code: "base6"
}
}
export default card