Merge branch 'master_test_gn' of http://60.1.1.230/backend/jieling_server into master_test_gn
commit
ccbb37e20b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue