Merge remote-tracking branch 'origin/develop' into dev_slots
This commit is contained in:
commit
99d032dffc
|
@ -1994,7 +1994,12 @@ func (this *Scene) TryBillExGameDrop(p *Player) {
|
|||
if itemData != nil {
|
||||
p.AddItems(&model.AddItemParam{
|
||||
P: p.PlayerData,
|
||||
Change: nil,
|
||||
Change: []*model.Item{
|
||||
{
|
||||
ItemId: id,
|
||||
ItemNum: int64(num),
|
||||
},
|
||||
},
|
||||
GainWay: common.GainWay_Game,
|
||||
Operator: "system",
|
||||
Remark: fmt.Sprintf("游戏掉落%v", id),
|
||||
|
|
|
@ -767,6 +767,7 @@ func (this *StateBilled) OnEnter(s *base.Scene) {
|
|||
LogBaseResult.BeforeClawdollItemNum = curClawdollItemNum + int64(machineInfo.CostItemNum)
|
||||
LogBaseResult.AfterClawdollItemNum = curClawdollItemNum
|
||||
LogBaseResult.IsWin = playerEx.IsWin
|
||||
LogBaseResult.Channel = playerEx.Channel
|
||||
|
||||
if !playerEx.IsRob {
|
||||
sceneEx.logid, _ = model.AutoIncGameLogId()
|
||||
|
|
|
@ -1688,4 +1688,5 @@ type ClawdollResultType struct {
|
|||
BeforeClawdollItemNum int64 //变化前娃娃币
|
||||
AfterClawdollItemNum int64 //变化后娃娃币
|
||||
IsWin bool //是否成功
|
||||
Channel string //渠道
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue