Compare commits

...

2 Commits

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),