mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 16:04:38 +01:00
fix gacha enumeration recommendation tag
This commit is contained in:
@@ -94,7 +94,12 @@ func handleMsgMhfEnumerateShop(s *Session, p mhfpacket.MHFPacket) {
|
|||||||
ps.Uint8(resp, gacha.URLFeature, false)
|
ps.Uint8(resp, gacha.URLFeature, false)
|
||||||
resp.WriteBool(gacha.Wide)
|
resp.WriteBool(gacha.Wide)
|
||||||
ps.Uint8(resp, gacha.URLThumbnail, false)
|
ps.Uint8(resp, gacha.URLThumbnail, false)
|
||||||
resp.WriteBool(gacha.Recommended)
|
resp.WriteUint8(0) // Unk
|
||||||
|
if gacha.Recommended {
|
||||||
|
resp.WriteUint8(2)
|
||||||
|
} else {
|
||||||
|
resp.WriteUint8(0)
|
||||||
|
}
|
||||||
resp.WriteUint8(gacha.GachaType)
|
resp.WriteUint8(gacha.GachaType)
|
||||||
resp.WriteBool(gacha.Hidden)
|
resp.WriteBool(gacha.Hidden)
|
||||||
count++
|
count++
|
||||||
|
|||||||
Reference in New Issue
Block a user