优化超20回合显示

back_recharge
xuexinpeng 2022-04-27 15:45:59 +08:00
parent a2b9e1fe5a
commit 3f138b516f
1 changed files with 2 additions and 1 deletions

View File

@ -265,11 +265,12 @@ public class ChallengeLogic {
builder.setResult(1);
} else {
if (type == 1){
if(time>=20){
if(time >= 20){
//无尽副本回合数超过20 赢
user.getPlayerInfoManager().setEndlessNewReplica(id);
comDropMap = dropMap(sChallengeConfig, model, type, 1, fightResult.getCheckResult(),time,builder);
builder.setResult(1);
builder.setLossBloodOrTimes(20);
}else{
//没打过 //输了 保底+总奖励*奖励百分比
comDropMap = dropMap(sChallengeConfig, model, type, 0, fightResult.getCheckResult(),time,builder);