1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-27 13:22:15 +00:00

Updated card and added effect field

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
Florian Bouillon 2020-02-13 19:38:45 +01:00
parent cb6ed1407e
commit 868cd47e46
No known key found for this signature in database
GPG Key ID: B143FF27EF555D16
2 changed files with 8 additions and 29 deletions

View File

@ -4,6 +4,7 @@ import Tag from '../../../interfaces/Tag'
import Rarity from '../../../interfaces/Rarity'
import AbilityType from '../../../interfaces/AbilityType'
import Category from '../../../interfaces/Category'
import sm from '../../../sets/sm/sm12'
const card: Card = {
@ -17,12 +18,6 @@ const card: Card = {
fr: "Énergie de Pioche",
},
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/sm12/209/low.png",
@ -34,38 +29,19 @@ const card: Card = {
},
},
evolveFrom: {},
tags: [
Tag.SPECIAL,
],
attacks: [{
name: {},
text: {
fr: "Cette carte fournit de lÉnergie Colorless. \n\nLorsque vous attachez cette carte de votre main à un Pokémon, piochez une carte.",
},
}],
effect: {
fr: "Cette carte fournit de lÉnergie Colorless. \n\nLorsque vous attachez cette carte de votre main à un Pokémon, piochez une carte."
},
rarity: Rarity.Uncommon,
category: Category.ENERGY,
set: {
name: "Cosmic Eclipse",
code: "sm12"
}
set: sm
}
export default card

View File

@ -37,6 +37,9 @@ interface Card {
attacks?: Array<Attack>
// If card is trainer or energy effect is here
effect?: LangList<string>
weaknesses?: Array<{
type: Type
value?: string