钻石存钱罐需求更改只在tienlen中增加钻石
This commit is contained in:
parent
8199231ac7
commit
6495a96f4e
|
|
@ -492,7 +492,6 @@ func init() {
|
||||||
Num: playerBet.GetGain(),
|
Num: playerBet.GetGain(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//游戏中输金币
|
|
||||||
if playerBet.GetGain() < 0 && playerBet.WinState != 1 {
|
if playerBet.GetGain() < 0 && playerBet.WinState != 1 {
|
||||||
TaskSubjectSingleton.Touch(common.TaskTypeLoseCoin, &TaskData{
|
TaskSubjectSingleton.Touch(common.TaskTypeLoseCoin, &TaskData{
|
||||||
SnId: player.SnId,
|
SnId: player.SnId,
|
||||||
|
|
@ -519,9 +518,17 @@ func init() {
|
||||||
Num: playerBet.GetGain(),
|
Num: playerBet.GetGain(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//tienlen 游戏赢的金币
|
// tienlen游戏中赢金币
|
||||||
if playerBet.GetGain() > 0 || playerBet.WinState == 1 {
|
if playerBet.GetGain() > 0 || playerBet.WinState == 1 {
|
||||||
TaskSubjectSingleton.Touch(common.TaskTypeTienlenWinCoin, &TaskData{
|
TaskSubjectSingleton.Touch(common.TaskTypeTienlenWinCoin, &TaskData{
|
||||||
|
SnId: player.SnId,
|
||||||
|
GameID: scene.gameId,
|
||||||
|
GameFreeID: scene.dbGameFree.GetId(),
|
||||||
|
Num: playerBet.GetGain(),
|
||||||
|
})
|
||||||
|
}
|
||||||
|
if playerBet.GetGain() > 0 || playerBet.WinState == 1 {
|
||||||
|
TaskSubjectSingleton.Touch(common.TaskTypeTienlenWinTimes, &TaskData{
|
||||||
SnId: player.SnId,
|
SnId: player.SnId,
|
||||||
GameID: scene.gameId,
|
GameID: scene.gameId,
|
||||||
GameFreeID: scene.dbGameFree.GetId(),
|
GameFreeID: scene.dbGameFree.GetId(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue