fix force
parent
51257cda85
commit
92d17073ae
|
@ -1,6 +1,7 @@
|
|||
package com.ljsd.jieling.logic.hero;
|
||||
|
||||
import com.ljsd.GameApplication;
|
||||
import com.ljsd.common.mogodb.util.GlobalData;
|
||||
import com.ljsd.jieling.chat.logic.ChatLogic;
|
||||
import com.ljsd.jieling.config.*;
|
||||
import com.ljsd.jieling.core.GlobalsDef;
|
||||
|
@ -1050,8 +1051,11 @@ public class HeroLogic {
|
|||
continue;
|
||||
}
|
||||
SPropertyConfig sPropertyConfig = SPropertyConfig.getsPropertyConfigByPID(propertyId);
|
||||
if(sPropertyConfig.getStyle() == GlobalsDef.PERCENT_TYPE){
|
||||
propertyValue = propertyValue / 10000;
|
||||
}
|
||||
float score = sPropertyConfig.getScore();
|
||||
// LOGGER.info("the value is ={},propertyValue={},score={}",propertyValue*score,propertyValue,score);
|
||||
LOGGER.info("the value is ={},propertyValue={},score={}",propertyValue*score,propertyValue,score);
|
||||
result += propertyValue*score;
|
||||
}
|
||||
return (int)result;
|
||||
|
|
Loading…
Reference in New Issue