1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-17 01:49: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'
@ -27,7 +27,60 @@ const card: Card = {
Tag.BASIC,
],
rarity: Rarity.RareHolo,
attacks: [
{
name: {
en: "Energy Stream"
},
text: {
en: "Attach a Metal Energy card from your discard pile to this Pokémon."
},
damage: 30,
cost: [
Type.METAL,
Type.COLORLESS
]
},
{
name: {
en: "Smashing Edge"
},
text: {
en: "Flip a coin. If tails, discard 2 Energy from this Pokémon."
},
damage: 120,
cost: [
Type.METAL,
Type.METAL,
Type.COLORLESS
]
}
],
weaknesses: [
{
type: Type.FIRE,
value: "x2"
}
],
resistances: [
{
type: Type.GRASS,
value: "-30"
},
],
type: [
Type.METAL
],
retreat: 2,
illustrator: "Hideki Ishikawa",
rarity: Rarity.Rare,
category: Category.POKEMON,