package config; import manager.STableManager; import manager.Table; import java.util.Map; @Table(name ="PassiveSkillLogicConfig") public class SPassiveSkillLogicConfig implements BaseConfig { private int id; private int type; private float[] value; private int poolNum; private int weight; private int effectiveRange; private int coverID; public static Map config; @Override public void init() throws Exception { config = STableManager.getConfig(SPassiveSkillLogicConfig.class); } public static SPassiveSkillLogicConfig getConfig(int passivityId) { return config.get(passivityId); } public int getId() { return id; } public int getType() { return type; } public float[] getValue() { return value; } public int getPoolNum() { return poolNum; } public int getWeight() { return weight; } public int getEffectiveRange() { return effectiveRange; } public int getCoverID() { return coverID; } }