This commit is contained in:
meixiongfeng 2023-08-17 17:12:22 +08:00
parent d8cd9cafbc
commit aee41b80f9

View File

@ -474,7 +474,7 @@ func (this *apiComp) Event(session comm.IUserSession, req *pb.StonehengeEventReq
if item, err := this.module.ModuleItems.QueryUserPack(session.GetUserId()); err != nil {
for _, v := range item {
if v.Amount > 0 {
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype224, stone.StageID, utils.ToInt32(v.ItemId), int32(v.Amount)))
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype222, stone.StageID, utils.ToInt32(v.ItemId), int32(v.Amount)))
szTask = append(szTask, comm.GetBuriedParam(comm.Rtype226, stone.StageID, utils.ToInt32(v.ItemId), int32(v.Amount)))
}
}