战斗bug修改

duhui 2021-05-20 11:14:23 +08:00
parent 17e2d80685
commit dd6b800ecb
1 changed files with 2 additions and 2 deletions

View File

@ -110,9 +110,9 @@ public class CheckFight {
for (int i = 1; i <= result.length(); i++) {
long tolong = result.rawget(i).tolong();
if(tolong>0){
resultCache[i+1]= Math.min((long) Integer.MAX_VALUE,tolong);
resultCache[i+1]= Math.min(Long.MAX_VALUE,tolong);
}else {
resultCache[i+1]= Math.max((long) Integer.MIN_VALUE,tolong);
resultCache[i+1]= Math.max(Long.Min_VALUE,tolong);
}
resultCache[i+1] = (long) result.rawget(i).toint();
LOGGER.info(i+" --> 单位剩余血量 : "+ resultCache[i+1]);