Merge branch 'master_test_gn' of http://60.1.1.230/backend/jieling_server into master_test_gn

back_recharge
yuanshuai 2022-04-25 18:18:44 +08:00
commit ccbb37e20b
1 changed files with 3 additions and 3 deletions

View File

@ -110,8 +110,8 @@ public class ChallengeLogic {
} else if (model == 1 && win == 0) {
//没打过
int[][] reward1 = sChallengeConfig.getReward1();
int ratio = 0;
if (type == 1) {//回合数
double ratio = 0;
if (type == 1) {//回合数
long times = bout;
for (int[] percent : reward1) {
if (percent[0] > times) {
@ -146,7 +146,7 @@ public class ChallengeLogic {
}
}
LOGGER.info("no pass reward percent");
builder.setPercentReward(ratio);
builder.setPercentReward((int)ratio);
}
return comDropMap;