1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-17 09:59:19 +00:00

Updated DB and made it work with SDK

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-03-11 09:41:29 +01:00
parent 27ba2ef104
commit a284fcac64
12344 changed files with 85456 additions and 122483 deletions

View File

@ -1,9 +1,9 @@
import Card from '../../../interfaces/Card'
import Type from '../../../interfaces/Type'
import Tag from '../../../interfaces/Tag'
import Rarity from '../../../interfaces/Rarity'
import AbilityType from '../../../interfaces/AbilityType'
import Category from '../../../interfaces/Category'
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'
import path from 'path'
import swsh2 from '../../../sets/swsh/swsh2'
@ -23,11 +23,64 @@ const card: Card = {
fr: "Zamazenta",
},
hp: 120,
type: [
Type.METAL
],
tags: [
Tag.BASIC,
],
rarity: Rarity.RareHolo,
attacks: [
{
name: {
en: "Guard Press",
},
text: {
en: "During your opponent's next turn, this Pokémon takes 20 less famage from attacks (after applying Weakness and Resistance).",
},
cost: [
Type.METAL,
Type.COLORLESS
],
damage: 30
},
{
name: {
en: "Power Rush",
},
text: {
en: "Flip a coin. If tails, during your next turn, this Pokémon can't attack."
},
cost: [
Type.METAL,
Type.METAL,
Type.COLORLESS
]
}
],
weaknesses: [
{
type: Type.FIRE,
value: "x2"
}
],
resistances: [
{
type: Type.GRASS,
value: "-30"
}
],
retreat: 2,
illustrator: "Hideki Ishikawa",
rarity: Rarity.Rare,
category: Category.POKEMON,