Compare commits

..

No commits in common. "515de3a9878c1253360e5217fbfcaf68ed98f50f" and "4cf89236a8f933534dc313beefcf5942191d5a0d" have entirely different histories.

8 changed files with 8 additions and 17 deletions

Binary file not shown.

Binary file not shown.

View File

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

View File

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

2
public

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

View File

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

View File

@ -732,12 +732,6 @@ func (this *Tournament) Start(platform string, tmId int32) {
GameFreeID: tm.dbGameFree.GetId(), GameFreeID: tm.dbGameFree.GetId(),
Num: 1, 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) this.signupPlayers[platform][tmId].signup = make(map[int32]*TmPlayer)
} }

Binary file not shown.