修复v卡掉落问题

This commit is contained in:
sk 2024-09-20 16:53:10 +08:00
parent 19ebda3832
commit 57c58b2fb2
1 changed files with 7 additions and 2 deletions

View File

@ -1993,8 +1993,13 @@ func (this *Scene) TryBillExGameDrop(p *Player) {
itemData := srvdata.GameItemMgr.Get(p.Platform, id)
if itemData != nil {
p.AddItems(&model.AddItemParam{
P: p.PlayerData,
Change: nil,
P: p.PlayerData,
Change: []*model.Item{
{
ItemId: id,
ItemNum: int64(num),
},
},
GainWay: common.GainWay_Game,
Operator: "system",
Remark: fmt.Sprintf("游戏掉落%v", id),