修改报空
parent
94fec0387f
commit
153c9d618e
|
@ -1673,14 +1673,23 @@ public class HeroLogic{
|
||||||
}
|
}
|
||||||
//玩家皮肤加成
|
//玩家皮肤加成
|
||||||
for(Map.Entry<Integer, Long> entry : user.getPlayerInfoManager().getUserSkinValidTime().entrySet()){
|
for(Map.Entry<Integer, Long> entry : user.getPlayerInfoManager().getUserSkinValidTime().entrySet()){
|
||||||
|
if(SPlayerHeadIcon.getHeadIconMap().containsKey(entry.getKey())){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
combinedAttribute(SPlayerHeadIcon.getHeadIconMap().get(entry.getKey()).getUnlockProperty(),heroAllAttribute);
|
combinedAttribute(SPlayerHeadIcon.getHeadIconMap().get(entry.getKey()).getUnlockProperty(),heroAllAttribute);
|
||||||
}
|
}
|
||||||
//玩家称号加成
|
//玩家称号加成
|
||||||
for(Map.Entry<Integer, Long> entry : user.getPlayerInfoManager().getUserTitleValidTime().entrySet()){
|
for(Map.Entry<Integer, Long> entry : user.getPlayerInfoManager().getUserTitleValidTime().entrySet()){
|
||||||
|
if(SPlayerHeadIcon.getHeadIconMap().containsKey(entry.getKey())){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
combinedAttribute(SPlayerHeadIcon.getHeadIconMap().get(entry.getKey()).getUnlockProperty(),heroAllAttribute);
|
combinedAttribute(SPlayerHeadIcon.getHeadIconMap().get(entry.getKey()).getUnlockProperty(),heroAllAttribute);
|
||||||
}
|
}
|
||||||
//玩家坐骑加成
|
//玩家坐骑加成
|
||||||
for(Map.Entry<Integer, Long> entry : user.getPlayerInfoManager().getUserMountValidTime().entrySet()){
|
for(Map.Entry<Integer, Long> entry : user.getPlayerInfoManager().getUserMountValidTime().entrySet()){
|
||||||
|
if(SPlayerHeadIcon.getHeadIconMap().containsKey(entry.getKey())){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
combinedAttribute(SPlayerHeadIcon.getHeadIconMap().get(entry.getKey()).getUnlockProperty(),heroAllAttribute);
|
combinedAttribute(SPlayerHeadIcon.getHeadIconMap().get(entry.getKey()).getUnlockProperty(),heroAllAttribute);
|
||||||
}
|
}
|
||||||
//装备总战力评分
|
//装备总战力评分
|
||||||
|
|
|
@ -119,6 +119,8 @@ public class CBean2Proto {
|
||||||
List<CommonProto.UserSkinInfo> userSkinLists = new ArrayList<>();
|
List<CommonProto.UserSkinInfo> userSkinLists = new ArrayList<>();
|
||||||
// 获取玩家已使用皮肤列表
|
// 获取玩家已使用皮肤列表
|
||||||
Map<Integer, Long> validTime = user.getPlayerInfoManager().getUserSkinValidTime();
|
Map<Integer, Long> validTime = user.getPlayerInfoManager().getUserSkinValidTime();
|
||||||
|
user.getPlayerInfoManager().removeUserSkinValidTime(0);
|
||||||
|
|
||||||
|
|
||||||
long now = TimeUtils.now() / 1000;
|
long now = TimeUtils.now() / 1000;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue