1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-21 19:39:18 +00:00

Updated Sword & Shield Database

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-04-30 01:13:19 +02:00
parent 3bcdf591ca
commit 4161262f70
47 changed files with 1634 additions and 1093 deletions

View File

@ -4,13 +4,18 @@ 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 set from '../../../sets/swsh/swsh1'
const localId = path.basename(__filename).split(".")[0]
const card: Card = {
// ids
id: "swsh1-182",
id: `${set.code}-${localId}`,
localId: 182,
// Card informations
name: {
en: "Sitrus Berry",
@ -19,18 +24,16 @@ const card: Card = {
image: {
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/182/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/182/low",
}
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/182/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/182/low",
},
},
evolveFrom: {},
tags: [
Tag.TOOL,
@ -40,28 +43,19 @@ const card: Card = {
attacks: [{
name: {},
text: {
en: "At the end of each turn, if the Pokémon this card is attached to has 3 or more damage counters on it, heal 30 damage from it and discard this card.",
fr: "À la fin de chaque tour, si le Pokémon auquel cette carte est attachée a au moins 3 marqueurs de dégâts, soignez 30 de ses dégâts, puis défaussez cette carte.",
},
}],
effect: {
en: "At the end of each turn, if the Pokémon this card is attached to has 3 or more damage counters on it, heal 30 damage from it and discard this card.",
},
rarity: Rarity.Uncommon,
category: Category.TRAINER,
rarity: Rarity.Uncommon,
category: Category.TRAINER,
set: {
name: "Sword & Shield",
code: "swsh1"
}
set,
}
export default card
export default card