diff --git a/msg.go b/msg.go index 6bba7d4..760cc71 100644 --- a/msg.go +++ b/msg.go @@ -375,6 +375,20 @@ func parseSubTypeMessageGStockAnyAck(m *ChatWarsMessage, r *regexp.Regexp) (*Cha Quantity: 1, Quality: l[2], } + switch l[2] { + case `ᵃ`: + item.Quality = `a` + case `ᵇ`: + item.Quality = `b` + case `ᶜ`: + item.Quality = `c` + case `ᵈ`: + item.Quality = `d` + case `ᵉ`: + item.Quality = `e` + default: + item.Quality = `` + } log.Printf("Item : %s - %s : %s\n", item.Code, item.Name, item.Quality) stock = append(stock, item) }