Compare commits
No commits in common. "99d032dffc5d5c270c1d36c83d784e68e796ae7c" and "348b5fcb90623348809182ee194bf53841dddea5" have entirely different histories.
99d032dffc
...
348b5fcb90
|
@ -1994,12 +1994,7 @@ func (this *Scene) TryBillExGameDrop(p *Player) {
|
||||||
if itemData != nil {
|
if itemData != nil {
|
||||||
p.AddItems(&model.AddItemParam{
|
p.AddItems(&model.AddItemParam{
|
||||||
P: p.PlayerData,
|
P: p.PlayerData,
|
||||||
Change: []*model.Item{
|
Change: nil,
|
||||||
{
|
|
||||||
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),
|
||||||
|
|
|
@ -767,7 +767,6 @@ func (this *StateBilled) OnEnter(s *base.Scene) {
|
||||||
LogBaseResult.BeforeClawdollItemNum = curClawdollItemNum + int64(machineInfo.CostItemNum)
|
LogBaseResult.BeforeClawdollItemNum = curClawdollItemNum + int64(machineInfo.CostItemNum)
|
||||||
LogBaseResult.AfterClawdollItemNum = curClawdollItemNum
|
LogBaseResult.AfterClawdollItemNum = curClawdollItemNum
|
||||||
LogBaseResult.IsWin = playerEx.IsWin
|
LogBaseResult.IsWin = playerEx.IsWin
|
||||||
LogBaseResult.Channel = playerEx.Channel
|
|
||||||
|
|
||||||
if !playerEx.IsRob {
|
if !playerEx.IsRob {
|
||||||
sceneEx.logid, _ = model.AutoIncGameLogId()
|
sceneEx.logid, _ = model.AutoIncGameLogId()
|
||||||
|
|
|
@ -1688,5 +1688,4 @@ type ClawdollResultType struct {
|
||||||
BeforeClawdollItemNum int64 //变化前娃娃币
|
BeforeClawdollItemNum int64 //变化前娃娃币
|
||||||
AfterClawdollItemNum int64 //变化后娃娃币
|
AfterClawdollItemNum int64 //变化后娃娃币
|
||||||
IsWin bool //是否成功
|
IsWin bool //是否成功
|
||||||
Channel string //渠道
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue