开启礼盒

This commit is contained in:
by 2024-10-21 10:52:17 +08:00
parent c6a6d9b08f
commit 046461d4ac
2 changed files with 2 additions and 3 deletions

View File

@ -4,5 +4,4 @@ gatesrv
worldsrv
gamesrv
robot
ranksrv
machine
ranksrv

View File

@ -195,7 +195,6 @@ func CSUpBagInfo(s *netlib.Session, packetid int, data interface{}, sid int64) e
}
if !p.IsRob && tp1 >= 0 {
mq.Write(model.GenerateSystemFreeGive(p.SnId, p.Name, p.Platform, p.Channel, model.SystemFreeGive_CollectBox, tp1, v.ItemNum))
mq.Write(model.GenerateActivityLog(p.SnId, p.Platform, model.ActivityLog_CollectBox, 1))
}
}
}
@ -270,6 +269,7 @@ func CSUpBagInfo(s *netlib.Session, packetid int, data interface{}, sid int64) e
}
}
gainFunc(common.GainWay_Collect, "player", "集卡活动")
mq.Write(model.GenerateActivityLog(p.SnId, p.Platform, model.ActivityLog_CollectBox, 1))
default:
logger.Logger.Warnf("道具使用未定义", msg.ItemId)