Add promo as set
This commit is contained in:
parent
0e2c613375
commit
69f54c08cc
2 changed files with 3 additions and 1 deletions
|
@ -58,7 +58,7 @@ func LoadCardList(list []string, fetch bool) (out []Card, err error) {
|
||||||
for _, promoid := range promoIDs {
|
for _, promoid := range promoIDs {
|
||||||
if strings.ToLower(card) == promoid {
|
if strings.ToLower(card) == promoid {
|
||||||
card = strings.ToLower(card)
|
card = strings.ToLower(card)
|
||||||
setid = "promo"
|
setid = SetPromo
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,7 @@ const (
|
||||||
SetDefendersOfEquestria SetID = "DE"
|
SetDefendersOfEquestria SetID = "DE"
|
||||||
SetSeaquestriaBeyond SetID = "SB"
|
SetSeaquestriaBeyond SetID = "SB"
|
||||||
SetFriendsForever SetID = "FF"
|
SetFriendsForever SetID = "FF"
|
||||||
|
SetPromo SetID = "Promo"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BlockID denotes a certain block
|
// BlockID denotes a certain block
|
||||||
|
@ -55,4 +56,5 @@ var allSets = []SetID{
|
||||||
SetDefendersOfEquestria,
|
SetDefendersOfEquestria,
|
||||||
SetSeaquestriaBeyond,
|
SetSeaquestriaBeyond,
|
||||||
SetFriendsForever,
|
SetFriendsForever,
|
||||||
|
SetPromo,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue