去掉测试item

This commit is contained in:
kxdd 2024-09-25 09:46:02 +08:00
parent 2743f6cfb0
commit 9abe717833
1 changed files with 0 additions and 18 deletions

View File

@ -3170,24 +3170,6 @@ func CSClawdollItemLog(s *netlib.Session, packetId int, data interface{}, sid in
return nil
}
var change []*model.Item
change = append(change, &model.Item{
ItemId: common.ItemIDClawdoll,
ItemNum: 3,
})
BagMgrSingleton.AddItemsV2(&model.AddItemParam{
P: p.PlayerData,
Change: change,
Add: 0,
GainWay: common.GainWayItemShopChangeDoll,
Operator: "system",
Remark: "商城兑换娃娃",
GameId: 0,
GameFreeId: 0,
NoLog: false,
})
msg, ok := data.(*player_proto.CSClawdollItemLog)
if !ok {
return nil