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