坐骑技能
parent
aa21c96a4f
commit
44ffcea125
|
@ -2075,6 +2075,17 @@ public class HeroLogic{
|
||||||
num-=1;
|
num-=1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 坐骑技能
|
||||||
|
for(Map.Entry<Integer, Long> entry : user.getPlayerInfoManager().getUserMountValidTime().entrySet()){
|
||||||
|
if(!SPlayerHeadIcon.getHeadIconMap().containsKey(entry.getKey())){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
SPlayerHeadIcon sPlayerHeadIcon = SPlayerHeadIcon.getHeadIconMap().get(entry.getKey());
|
||||||
|
if (sPlayerHeadIcon.getSkill() == null || sPlayerHeadIcon.getSkill().length <= 0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
sb.append(sPlayerHeadIcon.getSkill()[0][0]).append(DIVISION);
|
||||||
|
}
|
||||||
return sb;
|
return sb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,12 @@ public class SPlayerHeadIcon implements BaseConfig {
|
||||||
|
|
||||||
private int effectiveRule;
|
private int effectiveRule;
|
||||||
|
|
||||||
|
private int[][] skill;
|
||||||
|
|
||||||
|
private int[] fitList;
|
||||||
|
|
||||||
|
private int[] fitList2;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 头像框id,头像框类
|
* 头像框id,头像框类
|
||||||
*/
|
*/
|
||||||
|
@ -40,7 +46,7 @@ public class SPlayerHeadIcon implements BaseConfig {
|
||||||
public static int MountType = 4;
|
public static int MountType = 4;
|
||||||
// 时装类型
|
// 时装类型
|
||||||
public static int SkinType = 5;
|
public static int SkinType = 5;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init() throws Exception {
|
public void init() throws Exception {
|
||||||
Map<Integer, SPlayerHeadIcon> config = STableManager.getConfig(SPlayerHeadIcon.class);
|
Map<Integer, SPlayerHeadIcon> config = STableManager.getConfig(SPlayerHeadIcon.class);
|
||||||
|
@ -91,4 +97,16 @@ public class SPlayerHeadIcon implements BaseConfig {
|
||||||
public int getEffectiveRule() {
|
public int getEffectiveRule() {
|
||||||
return effectiveRule;
|
return effectiveRule;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int[][] getSkill() {
|
||||||
|
return skill;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int[] getFitList() {
|
||||||
|
return fitList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int[] getFitList2() {
|
||||||
|
return fitList2;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue