mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-17 09:59:19 +00:00
Updated Database
Added known swsh2 cards Update every sets to remove the images extension as it can be served as png, jpg and webp Added Trainer kits sets Added descriptions for set interface Added new fields see #6 Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
37
cards/swsh/swsh2/140.ts
Normal file
37
cards/swsh/swsh2/140.ts
Normal file
@ -0,0 +1,37 @@
|
||||
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 path from 'path'
|
||||
import swsh2 from '../../../sets/swsh/swsh2'
|
||||
|
||||
const localId = path.basename(__filename).split(".")[0]
|
||||
|
||||
const card: Card = {
|
||||
|
||||
// ids
|
||||
id: `swsh2-${localId}`,
|
||||
localId: isNaN(parseInt(localId)) ? localId : parseInt(localId),
|
||||
|
||||
dexId: 889,
|
||||
|
||||
// Card informations
|
||||
name: {
|
||||
en: "Zamazenta",
|
||||
fr: "Zamazenta",
|
||||
},
|
||||
|
||||
tags: [
|
||||
Tag.BASIC,
|
||||
],
|
||||
|
||||
rarity: Rarity.RareHolo,
|
||||
|
||||
category: Category.POKEMON,
|
||||
|
||||
set: swsh2
|
||||
}
|
||||
|
||||
export default card
|
Reference in New Issue
Block a user