diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/arena/ChallengeLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/arena/ChallengeLogic.java index 118632170..69844b39d 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/arena/ChallengeLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/arena/ChallengeLogic.java @@ -232,8 +232,19 @@ public class ChallengeLogic { } comDropMap = dropMap(sChallengeConfig, model, type, 1, fightResult.getCheckResult()); } else { - //没打过 //输了 保底+总奖励*奖励百分比 - comDropMap = dropMap(sChallengeConfig, model, type, 0, fightResult.getCheckResult()); + if (type == 1){ + if((int) fightResult.getCheckResult()[1]>=20){ + //无尽副本回合数超过20 赢 + user.getPlayerInfoManager().setEndlessNewReplica(id); + comDropMap = dropMap(sChallengeConfig, model, type, 1, fightResult.getCheckResult()); + }else{ + //没打过 //输了 保底+总奖励*奖励百分比 + comDropMap = dropMap(sChallengeConfig, model, type, 0, fightResult.getCheckResult()); + } + }else if(type == 2){ + //没打过 //输了 保底+总奖励*奖励百分比 + comDropMap = dropMap(sChallengeConfig, model, type, 0, fightResult.getCheckResult()); + } } CommonProto.FightData fightData = CommonProto.FightData.newBuilder() .setFightMaxTime(20)