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

95 lines
1.5 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: "pop5-14",
localId: 14,
// Card informations
name: {
en: "Pelipper (Delta Species)",
},
hp: 70,
type: [
Type.LIGHTNING,
],
dexId: 279,
image: {
low: {
en: "https://assets.tcgdex.net/en/pop/pop5/14/low",
},
high: {
en: "https://assets.tcgdex.net/en/pop/pop5/14/high",
},
},
evolveFrom: {
en: "Wingull",
},
tags: [
Tag.STAGE1,
],
illustrator: "Mitsuhiro Arita",
abilities: [{
id: 437,
type: AbilityType.POKEBODY,
name: {
en: "Mist",
},
text: {
en: "Any damage done to Pelipper by attacks from Stage 2 Evolved Pokémon (both yours and your opponent's) is reduced by 30 (after applying Weakness and Resistance).",
}
}],
attacks: [{
cost: [
Type.LIGHTNING,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Lightning Wing",
},
text: {
en: "Does 10 damage to 1 of your Benched Pokémon. (Don't apply Weakness and Resistance for Benched Pokémon.)",
},
damage: 50
}],
weaknesses: [{
type: Type.LIGHTNING,
value: "×2"
}],
resistances: [{
type: Type.FIGHTING,
value: "-30"
}],
rarity: Rarity.Common,
category: Category.POKEMON,
set: {
name: "POP Series 5",
code: "pop5"
}
}
export default card