Mana Curve
This commit is contained in:
parent
c6e35c48c9
commit
bb823aeb20
@ -128,8 +128,6 @@ var statsCmd = &cobra.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Mana Curve of Collection
|
// Mana Curve of Collection
|
||||||
|
|
||||||
// Rarities
|
|
||||||
cmc, _ := coll.storageAggregate(mongo.Pipeline{
|
cmc, _ := coll.storageAggregate(mongo.Pipeline{
|
||||||
bson.D{
|
bson.D{
|
||||||
{"$group", bson.D{
|
{"$group", bson.D{
|
||||||
@ -144,7 +142,7 @@ var statsCmd = &cobra.Command{
|
|||||||
})
|
})
|
||||||
fmt.Printf("\n%sMana Curve%s\n", Green, Reset)
|
fmt.Printf("\n%sMana Curve%s\n", Green, Reset)
|
||||||
for _, mc := range cmc {
|
for _, mc := range cmc {
|
||||||
fmt.Printf("%d: %s%d%s\n", mc["_id"], Purple, mc["count"], Reset)
|
fmt.Printf("%.0f: %s%d%s\n", mc["_id"], Purple, mc["count"], Reset)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Total Value
|
// Total Value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user