mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 18:32:26 +08:00
修复编译不过
This commit is contained in:
@@ -286,10 +286,10 @@ func (g *GameManager) DoGachaReq(player *model.Player, payloadMsg pb.Message) {
|
||||
xh := uint32(random.GetRandomInt32(0, 10))
|
||||
|
||||
gachaItem := new(proto.GachaItem)
|
||||
gachaItem.GachaItem_ = &proto.ItemParam{
|
||||
gachaItem.TokenItemList = []*proto.ItemParam{{
|
||||
ItemId: itemId,
|
||||
Count: 1,
|
||||
}
|
||||
}}
|
||||
// 星尘
|
||||
if xc != 0 {
|
||||
g.AddUserItem(player.PlayerID, []*UserItem{{
|
||||
|
||||
Reference in New Issue
Block a user