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 {
|
||||
if strings.ToLower(card) == promoid {
|
||||
card = strings.ToLower(card)
|
||||
setid = "promo"
|
||||
setid = SetPromo
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@ const (
|
|||
SetDefendersOfEquestria SetID = "DE"
|
||||
SetSeaquestriaBeyond SetID = "SB"
|
||||
SetFriendsForever SetID = "FF"
|
||||
SetPromo SetID = "Promo"
|
||||
)
|
||||
|
||||
// BlockID denotes a certain block
|
||||
|
@ -55,4 +56,5 @@ var allSets = []SetID{
|
|||
SetDefendersOfEquestria,
|
||||
SetSeaquestriaBeyond,
|
||||
SetFriendsForever,
|
||||
SetPromo,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue