上传代码
This commit is contained in:
parent
cc386efeba
commit
327c9727f0
@ -69,6 +69,8 @@ func (this *apiComp) Info(session comm.IUserSession, req *pb.ArenaInfoReq) (errd
|
||||
Npc: make(map[int32]*pb.DBNpc),
|
||||
Lastweektime: configure.Now().Unix(),
|
||||
Settlementtime: this.module.modelArena.settlementTime().Unix(),
|
||||
Tasks: make(map[int32]int32),
|
||||
Danaward: make(map[int32]int32),
|
||||
}
|
||||
if info.Dan, err = this.module.modelArena.computedan(info.Integral); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
|
@ -157,7 +157,6 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.VikingChal
|
||||
if bNewRecord {
|
||||
go this.module.battlerecord.WrietBattleRecord(session.GetUserId(), req.Report, time.Now().Add(time.Hour*24*8))
|
||||
this.module.modulerank.CheckRank(session.GetUserId(), req.BossId, req.Difficulty, line, req.Report.Costtime)
|
||||
|
||||
}
|
||||
// 连续自动战斗
|
||||
if len(viking.Round) == 10 {
|
||||
|
Loading…
Reference in New Issue
Block a user