战斗bug修改
parent
17e2d80685
commit
dd6b800ecb
|
|
@ -110,9 +110,9 @@ public class CheckFight {
|
||||||
for (int i = 1; i <= result.length(); i++) {
|
for (int i = 1; i <= result.length(); i++) {
|
||||||
long tolong = result.rawget(i).tolong();
|
long tolong = result.rawget(i).tolong();
|
||||||
if(tolong>0){
|
if(tolong>0){
|
||||||
resultCache[i+1]= Math.min((long) Integer.MAX_VALUE,tolong);
|
resultCache[i+1]= Math.min(Long.MAX_VALUE,tolong);
|
||||||
}else {
|
}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();
|
resultCache[i+1] = (long) result.rawget(i).toint();
|
||||||
LOGGER.info(i+" --> 单位剩余血量 : "+ resultCache[i+1]);
|
LOGGER.info(i+" --> 单位剩余血量 : "+ resultCache[i+1]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue