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

105 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: "ex1-19",
localId: 19,
// Card informations
name: {
en: "Pelipper",
},
hp: 70,
type: [
Type.WATER,
],
dexId: 279,
image: {
low: {
en: "https://assets.tcgdex.net/en/ex/ex1/19/low",
},
high: {
en: "https://assets.tcgdex.net/en/ex/ex1/19/high",
},
},
evolveFrom: {
en: "Wingull",
},
tags: [
Tag.STAGE1,
],
illustrator: "Kouki Saitou",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Stockpile",
},
text: {
en: "During your next turn, Spit Up's base damage is 70 instead of 30, and Swallow's base damage is 60 instead of 20.",
},
},{
cost: [
Type.WATER,
Type.COLORLESS
],
name: {
en: "Spit Up",
},
damage: 30
},{
cost: [
Type.WATER,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Swallow",
},
text: {
en: "After your attack, remove from Pelipper the number of damage counters equal to the damage you did to the Defending Pokémon. If Pelipper has fewer damage counters than that, remove all of them.",
},
damage: 20
}],
weaknesses: [{
type: Type.LIGHTNING,
value: "×2"
}],
resistances: [{
type: Type.FIGHTING,
value: "-30"
}],
rarity: Rarity.Rare,
category: Category.POKEMON,
set: {
name: "Ruby & Sapphire",
code: "ex1"
}
}
export default card