Procházet zdrojové kódy

修改道场时间判断

lt před 4 dny
rodič
revize
216992d2a4

+ 1 - 1
RO_Server_Trunk-branch_0.1.39/roserver/game/model/role_daochang100.go

@@ -347,7 +347,7 @@ func (this *RoleDaoChang100) ChallengeResult(msg *serverproto.CSDaoChang100Chall
 		return
 	}
 	time := util.GetTimeMilliseconds() - this.challengePosIdxTime
-	if (this.dataInfo.BaseRewardTime <= 0) || (time < 8000) || msg.BattleTime < 6 {
+	if (this.dataInfo.BaseRewardTime <= 0) || (time < 4000) || msg.BattleTime < 4 {
 		util.ErrorF("uid=%v targetuid=%v daochang challenge time too short time=%v", this.role.GetUUid(), msg.PosUid, time)
 		return
 	}