修复v卡掉落问题
This commit is contained in:
parent
12c38f535b
commit
a18dabeaeb
|
@ -1993,8 +1993,13 @@ func (this *Scene) TryBillExGameDrop(p *Player) {
|
||||||
itemData := srvdata.GameItemMgr.Get(p.Platform, id)
|
itemData := srvdata.GameItemMgr.Get(p.Platform, id)
|
||||||
if itemData != nil {
|
if itemData != nil {
|
||||||
p.AddItems(&model.AddItemParam{
|
p.AddItems(&model.AddItemParam{
|
||||||
P: p.PlayerData,
|
P: p.PlayerData,
|
||||||
Change: nil,
|
Change: []*model.Item{
|
||||||
|
{
|
||||||
|
ItemId: id,
|
||||||
|
ItemNum: int64(num),
|
||||||
|
},
|
||||||
|
},
|
||||||
GainWay: common.GainWay_Game,
|
GainWay: common.GainWay_Game,
|
||||||
Operator: "system",
|
Operator: "system",
|
||||||
Remark: fmt.Sprintf("游戏掉落%v", id),
|
Remark: fmt.Sprintf("游戏掉落%v", id),
|
||||||
|
|
Loading…
Reference in New Issue