公式修改
parent
b357fa2aa2
commit
306e57a1de
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue