1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-05-16 21:49:53 +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

98 lines
1.4 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: "pl4-22",
localId: 22,
// Card informations
name: {
en: "Manectric",
},
hp: 90,
type: [
Type.LIGHTNING,
],
dexId: 310,
image: {
low: {
en: "https://assets.tcgdex.net/en/pl/pl4/22/low",
},
high: {
en: "https://assets.tcgdex.net/en/pl/pl4/22/high",
},
},
evolveFrom: {
en: "Electrike",
},
tags: [
Tag.STAGE1,
],
illustrator: "Mana Ibe",
attacks: [{
cost: [
Type.LIGHTNING,
Type.COLORLESS
],
name: {
en: "Second Bite",
},
text: {
en: "Does 20 damage plus 10 more damage for each damage counter on the Defending Pokémon.",
},
damage: 20
},{
cost: [
Type.LIGHTNING,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Swift",
},
text: {
en: "This attack's damage isn't affected by Weakness, Resistance, Poké-Powers, Poké-Bodies, or any other effects on the Defending Pokémon.",
},
damage: 50
}],
weaknesses: [{
type: Type.FIGHTING,
value: "+20"
}],
resistances: [{
type: Type.METAL,
value: "-20"
}],
rarity: Rarity.Rare,
category: Category.POKEMON,
set: {
name: "Arceus",
code: "pl4"
}
}
export default card