lt 1 год назад
Родитель
Сommit
753b6ed7f5

+ 1 - 1
RO_Server_Trunk-branch_0.1.39/rocommon/util/timer.go

@@ -191,7 +191,7 @@ func GetLatestWeek10HourTime(ms uint64) time.Time {
 	nowTime = nowTime.AddDate(0, 0, int(delDay))
 	dayTimeStr := nowTime.Format(DATE_FORMAT1)
 	tempDayTime, _ := time.ParseInLocation(DATE_FORMAT1, dayTimeStr, loc)
-	tempDayTime = tempDayTime.Add(time.Hour * 10)
+	tempDayTime = tempDayTime.Add(time.Hour * 22)
 	return tempDayTime
 }
 

+ 4 - 5
RO_Server_Trunk-branch_0.1.39/roserver/game/model/role_cross.go

@@ -570,15 +570,14 @@ func (this *RoleCross) OnYuanHangTrialChallengeResult(msg *serverproto.SSCrossYu
 					this.role.AddItemList(convertData.BeAttackRewardList, AddFrom_CrossYuanHangTrial, true)
 				}
 				ackMsg.RewardList = append(ackMsg.RewardList, convertData.BeAttackRewardListSlice...)
+				//添加排行榜积分
+				ackMsg.OldScore = this.getTrial().TrialScore
+				this.addRankScore(convertData.BeAttackScore)
+				ackMsg.NewScore = this.getTrial().TrialScore
 			} else {
 				msg.LogData.Type = model2.TrialLogDataType_3
 			}
 
-			//添加排行榜积分
-			ackMsg.OldScore = this.getTrial().TrialScore
-			this.addRankScore(convertData.BeAttackScore)
-			ackMsg.NewScore = this.getTrial().TrialScore
-
 			this.dataChangeNtf()
 		}
 	}