mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-07-03 17:09:17 +00:00
@ -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})`)
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user