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

Updated DB :D

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-02-08 00:31:33 +01:00
parent 0d2a757cae
commit 987d95dcc5
205 changed files with 17217 additions and 2 deletions

View File

@ -20,6 +20,10 @@ enum Rarity {
// Other
LEGEND,
// V & Vmax
RareV,
RareVMAX,
}
namespace Rarity {
@ -77,6 +81,12 @@ namespace Rarity {
// LEGEND
case "LEGEND":
return Rarity.LEGEND
case "V":
return Rarity.RareV
case "VM":
return Rarity.RareVMAX
default:
throw new Error(`Rarity not known (${str})`)
}

View File

@ -21,6 +21,8 @@ enum Tag {
TAGTEAM,
TECHNICALMACHINE,
TOOL,
V,
VMAX,
}
const en = [
@ -42,7 +44,9 @@ const en = [
"Supporter",
"Tag Team",
"Technical Machine",
"Tool"
"Tool",
"Pokémon V",
"Pokémon VMAX"
]
const fr = [
@ -64,7 +68,9 @@ const fr = [
"Supporter",
"ESCOUADE",
"Machine Technique",
"Outil"
"Outil",
"Pokémon V",
"Pokémon VMAX"
]
namespace Tag {
@ -235,6 +241,13 @@ namespace Tag {
case "Dresseur [Outil Pokémon]":
list.push(Tag.TOOL)
break
case "Pokémon-V":
list.push(Tag.V)
break
case "Pokémon-VMAX":
list.push(Tag.VMAX)
case "null":
break