无用日志
parent
29fadcb9ea
commit
9f44b5de2a
|
@ -1861,7 +1861,7 @@ public class HeroLogic{
|
||||||
Integer propertyId = item.getKey();
|
Integer propertyId = item.getKey();
|
||||||
float propertyValue = item.getValue();
|
float propertyValue = item.getValue();
|
||||||
if(propertyId == HeroAttributeEnum.EquipForce.getPropertyId()){
|
if(propertyId == HeroAttributeEnum.EquipForce.getPropertyId()){
|
||||||
LOGGER.info("the equipScore={}",propertyValue);
|
// LOGGER.info("the equipScore={}",propertyValue);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
SPropertyConfig sPropertyConfig = SPropertyConfig.getsPropertyConfigByPID(propertyId);
|
SPropertyConfig sPropertyConfig = SPropertyConfig.getsPropertyConfigByPID(propertyId);
|
||||||
|
@ -1871,9 +1871,9 @@ public class HeroLogic{
|
||||||
float score = sPropertyConfig.getScore();
|
float score = sPropertyConfig.getScore();
|
||||||
|
|
||||||
result += propertyValue*score;
|
result += propertyValue*score;
|
||||||
LOGGER.info("the propertyId={} the value is ={},propertyValue={},score={},result ={},the value={}",propertyId,propertyValue*score,propertyValue,score,result,propertyValue*score);
|
// LOGGER.info("the propertyId={} the value is ={},propertyValue={},score={},result ={},the value={}",propertyId,propertyValue*score,propertyValue,score,result,propertyValue*score);
|
||||||
}
|
}
|
||||||
System.out.println(result);
|
// System.out.println(result);
|
||||||
return (int)result;
|
return (int)result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,10 @@ public class SSpiritAnimalSetting implements BaseConfig {
|
||||||
|
|
||||||
private int returnCost;
|
private int returnCost;
|
||||||
|
|
||||||
|
private int riderModeUnlockLevel;
|
||||||
|
|
||||||
|
private int changeModeUnlockLevel;
|
||||||
|
|
||||||
public static SSpiritAnimalSetting sSpiritAnimalSetting;
|
public static SSpiritAnimalSetting sSpiritAnimalSetting;
|
||||||
@Override
|
@Override
|
||||||
public void init() throws Exception {
|
public void init() throws Exception {
|
||||||
|
@ -36,4 +40,12 @@ public class SSpiritAnimalSetting implements BaseConfig {
|
||||||
public int getReturnCost() {
|
public int getReturnCost() {
|
||||||
return returnCost;
|
return returnCost;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getRiderModeUnlockLevel() {
|
||||||
|
return riderModeUnlockLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getChangeModeUnlockLevel() {
|
||||||
|
return changeModeUnlockLevel;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue