playerskill 添加字段

back_recharge
yuanshuai 2022-03-21 17:14:08 +08:00
parent 9095583374
commit eca27060c5
1 changed files with 6 additions and 0 deletions

View File

@ -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);