Compare commits

...

4 Commits

Author SHA1 Message Date
sk 515de3a987 消耗钻石比赛开始再统计 2024-07-09 09:10:33 +08:00
sk b9fbedee9e update develop 2024-07-08 11:55:00 +08:00
sk 432de00d12 update deploy.bat 2024-07-08 11:54:23 +08:00
sk 1fcf9aa6d2 update develop 2024-07-08 11:51:13 +08:00
8 changed files with 17 additions and 8 deletions

Binary file not shown.

Binary file not shown.

View File

@ -4,11 +4,11 @@
"Id": 1,
"Order": 1,
"ActivityType": 1,
"TaskType": 1,
"TaskType": 7,
"TargetTimes": 1,
"FinishTimes": 1,
"Award": {
"100001": 50000,
"100001": 500000,
"100004": 5
},
"Position": [

View File

@ -9,7 +9,6 @@ call shell/gen_go.bat
call shell/update_public.bat
git add .
git add public
git commit -m "update develop"
git checkout release

2
public

@ -1 +1 @@
Subproject commit 1979cd52fb471bf87bce124133da8d9996ffa3e4
Subproject commit 7fba2cfaa48724a929e7b393ec9951b6bee61545

View File

@ -1913,11 +1913,15 @@ func (this *Player) AddDiamond(num, add int64, gainWay int32, oper, remark strin
} else {
this.Diamond += num
}
switch gainWay {
case common.GainWay_MatchSignup: // 排除的
default:
TaskSubjectSingleton.Touch(common.TaskTypeCostDiamond, &TaskData{
SnId: this.SnId,
Num: -num,
})
}
}
this.SendDiffData()
if !this.IsRob {

View File

@ -732,6 +732,12 @@ func (this *Tournament) Start(platform string, tmId int32) {
GameFreeID: tm.dbGameFree.GetId(),
Num: 1,
})
if matchInfo.GetSignupCostDiamond() > 0 {
TaskSubjectSingleton.Touch(common.TaskTypeCostDiamond, &TaskData{
SnId: v.SnId,
Num: matchInfo.GetSignupCostDiamond(),
})
}
}
this.signupPlayers[platform][tmId].signup = make(map[int32]*TmPlayer)
}

Binary file not shown.