1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-07-29 19:19:50 +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})`)
}