公式修改

back_recharge
wangyuan 2019-07-24 15:25:34 +08:00
parent b357fa2aa2
commit 306e57a1de
1 changed files with 3 additions and 2 deletions

View File

@ -1081,11 +1081,12 @@ public class HeroLogic {
}
SPropertyConfig sPropertyConfig = SPropertyConfig.getsPropertyConfigByPID(propertyId);
if(sPropertyConfig.getStyle() == GlobalsDef.PERCENT_TYPE){
propertyValue = propertyValue / 10000F;
propertyValue = propertyValue / 100F;
}
float score = sPropertyConfig.getScore();
// LOGGER.info("the value is ={},propertyValue={},score={}",propertyValue*score,propertyValue,score);
result += propertyValue*score;
LOGGER.info("the value is ={},propertyValue={},score={}result ={},the value={}",propertyValue*score,propertyValue,score,result,propertyValue*score);
}
return (int)result;
}