|
@@ -1342,6 +1342,10 @@ function N2C_TryChallengdePoint_Req(msg)
|
|
|
local targetCityId = msg.targetCityId
|
|
local targetCityId = msg.targetCityId
|
|
|
local targetPointIdx = msg.targetPointIdx
|
|
local targetPointIdx = msg.targetPointIdx
|
|
|
|
|
|
|
|
|
|
+ if not isRunning() then
|
|
|
|
|
+ return errTips(msg.sourceServerId, playerUuid, AnotherWorldBattleDefine.ERR_CODE_1)
|
|
|
|
|
+ end
|
|
|
|
|
+
|
|
|
local pChallengeTimes = getPlayerChallengeTimesInfo(playerUuid)
|
|
local pChallengeTimes = getPlayerChallengeTimesInfo(playerUuid)
|
|
|
if pChallengeTimes <= 0 then
|
|
if pChallengeTimes <= 0 then
|
|
|
return errTips(msg.sourceServerId, playerUuid, AnotherWorldBattleDefine.ERR_CODE_12)
|
|
return errTips(msg.sourceServerId, playerUuid, AnotherWorldBattleDefine.ERR_CODE_12)
|