战斗返回修改

back_recharge
jiahuiwen 2021-09-27 15:10:13 +08:00
parent 3952359f2b
commit 25040b3815
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class CheckFight {
resultCache[0]= result.get("result").tolong(); resultCache[0]= result.get("result").tolong();
resultCache[1]= result.get("duration").tolong(); resultCache[1]= result.get("duration").tolong();
LOGGER.info(" lua check test fight result : {} {}", resultCache[0] , result.length()); LOGGER.info(" lua check test fight result : {} {}", resultCache[0] , result.length());
for (int i = 1; i <= result.length(); i++) { for (int i = 2; i <= result.length(); i++) {
long talon = result.rawget(i).tolong(); long talon = result.rawget(i).tolong();
if(talon>0){ if(talon>0){
resultCache[i]= Math.min(Long.MAX_VALUE,talon); resultCache[i]= Math.min(Long.MAX_VALUE,talon);