Compare commits
No commits in common. "99d032dffc5d5c270c1d36c83d784e68e796ae7c" and "348b5fcb90623348809182ee194bf53841dddea5" have entirely different histories.
99d032dffc
...
348b5fcb90
|
@ -1993,13 +1993,8 @@ 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: []*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()
|
||||||
|
|
|
@ -1683,10 +1683,9 @@ type SamLocPerson struct {
|
||||||
// 娃娃机 每局记录
|
// 娃娃机 每局记录
|
||||||
type ClawdollResultType struct {
|
type ClawdollResultType struct {
|
||||||
//all
|
//all
|
||||||
RoomId int32 //房间Id
|
RoomId int32 //房间Id
|
||||||
PlayerSnid int32 //玩家id
|
PlayerSnid int32 //玩家id
|
||||||
BeforeClawdollItemNum int64 //变化前娃娃币
|
BeforeClawdollItemNum int64 //变化前娃娃币
|
||||||
AfterClawdollItemNum int64 //变化后娃娃币
|
AfterClawdollItemNum int64 //变化后娃娃币
|
||||||
IsWin bool //是否成功
|
IsWin bool //是否成功
|
||||||
Channel string //渠道
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue