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

merge commit

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-02-08 00:43:14 +01:00
206 changed files with 17219 additions and 4 deletions

View File

@ -18,6 +18,10 @@ enum Rarity {
// Other
LEGEND,
// V & Vmax
RareV,
RareVMAX,
}
const en = [
@ -114,6 +118,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

@ -19,6 +19,8 @@ enum Tag {
TAGTEAM,
TECHNICALMACHINE,
TOOL,
V,
VMAX,
}
const en = [
@ -40,7 +42,9 @@ const en = [
"Supporter",
"Tag Team",
"Technical Machine",
"Tool"
"Tool",
"Pokémon V",
"Pokémon VMAX"
]
const fr = [
@ -62,7 +66,9 @@ const fr = [
"Supporter",
"ESCOUADE",
"Machine Technique",
"Outil"
"Outil",
"Pokémon V",
"Pokémon VMAX"
]
namespace Tag {
@ -219,6 +225,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