playerskill 添加字段
parent
9095583374
commit
eca27060c5
|
@ -33,6 +33,8 @@ public class SPlayerSkill implements BaseConfig {
|
|||
|
||||
private int[] turnEffectCount;
|
||||
|
||||
private int fight;//技能战斗力加成
|
||||
|
||||
private static Map<Integer, Map<Integer,SPlayerSkill>>mapData;
|
||||
|
||||
public static Map<Integer,SPlayerSkill> sPrivilegeTypeConfigMap;
|
||||
|
@ -99,6 +101,10 @@ public class SPlayerSkill implements BaseConfig {
|
|||
return turnEffectCount;
|
||||
}
|
||||
|
||||
public int getFight() {
|
||||
return fight;
|
||||
}
|
||||
|
||||
public static SPlayerSkill GetSPlayerSkill(int skillId, int skillLv){
|
||||
if (!mapData.containsKey(skillId)||!mapData.get(skillId).containsKey(skillLv))return null;
|
||||
return mapData.get(skillId).get(skillLv);
|
||||
|
|
Loading…
Reference in New Issue