diff --git a/mlp/card.go b/mlp/card.go index e8cc45c..a1bc9c0 100644 --- a/mlp/card.go +++ b/mlp/card.go @@ -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 } } diff --git a/mlp/mlp.go b/mlp/mlp.go index d3ab50b..a413d6c 100644 --- a/mlp/mlp.go +++ b/mlp/mlp.go @@ -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, }