修改报空

back_recharge
lvxinran 2021-04-10 23:43:56 +08:00
parent 94fec0387f
commit 153c9d618e
2 changed files with 11 additions and 0 deletions

View File

@ -1673,14 +1673,23 @@ public class HeroLogic{
}
//玩家皮肤加成
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);
}
//玩家称号加成
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);
}
//玩家坐骑加成
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);
}
//装备总战力评分

View File

@ -119,6 +119,8 @@ public class CBean2Proto {
List<CommonProto.UserSkinInfo> userSkinLists = new ArrayList<>();
// 获取玩家已使用皮肤列表
Map<Integer, Long> validTime = user.getPlayerInfoManager().getUserSkinValidTime();
user.getPlayerInfoManager().removeUserSkinValidTime(0);
long now = TimeUtils.now() / 1000;