From 9f44b5de2a4cf8c48282b331072e20260c283875 Mon Sep 17 00:00:00 2001 From: lvxinran Date: Tue, 27 Oct 2020 13:53:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E7=94=A8=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ljsd/jieling/logic/hero/HeroLogic.java | 6 +++--- .../src/main/java/config/SSpiritAnimalSetting.java | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/hero/HeroLogic.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/hero/HeroLogic.java index 9db204a3f..ab4f2e542 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/hero/HeroLogic.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/hero/HeroLogic.java @@ -1861,7 +1861,7 @@ public class HeroLogic{ Integer propertyId = item.getKey(); float propertyValue = item.getValue(); if(propertyId == HeroAttributeEnum.EquipForce.getPropertyId()){ - LOGGER.info("the equipScore={}",propertyValue); +// LOGGER.info("the equipScore={}",propertyValue); continue; } SPropertyConfig sPropertyConfig = SPropertyConfig.getsPropertyConfigByPID(propertyId); @@ -1871,9 +1871,9 @@ public class HeroLogic{ float score = sPropertyConfig.getScore(); 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; } diff --git a/tablemanager/src/main/java/config/SSpiritAnimalSetting.java b/tablemanager/src/main/java/config/SSpiritAnimalSetting.java index da58f715b..3a8efb002 100644 --- a/tablemanager/src/main/java/config/SSpiritAnimalSetting.java +++ b/tablemanager/src/main/java/config/SSpiritAnimalSetting.java @@ -14,6 +14,10 @@ public class SSpiritAnimalSetting implements BaseConfig { private int returnCost; + private int riderModeUnlockLevel; + + private int changeModeUnlockLevel; + public static SSpiritAnimalSetting sSpiritAnimalSetting; @Override public void init() throws Exception { @@ -36,4 +40,12 @@ public class SSpiritAnimalSetting implements BaseConfig { public int getReturnCost() { return returnCost; } + + public int getRiderModeUnlockLevel() { + return riderModeUnlockLevel; + } + + public int getChangeModeUnlockLevel() { + return changeModeUnlockLevel; + } } \ No newline at end of file