英雄属性添加
parent
39bc93bbca
commit
29b68a8996
|
@ -197,6 +197,8 @@ public class CrossServiceLogic {
|
|||
arenaOfHero.setJewelInfo(new HashSet<>(hero.getJewelInfo()));
|
||||
arenaOfHero.setCreateTime(hero.getCreateType());
|
||||
arenaOfHero.setChangeId(hero.getChangeId());
|
||||
Map<Integer, Long> attribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, false, GlobalsDef.WORLD_TEAM_ARENA_DEFENSE);
|
||||
arenaOfHero.setAttributeMap(attribute);
|
||||
return arenaOfHero;
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ public class ArenaOfHero {
|
|||
private int createType;
|
||||
private int changeId;
|
||||
private Set<String> jewelInfo = new HashSet<>();
|
||||
|
||||
private Map<Integer,Long> attributeMap = new HashMap<>();
|
||||
|
||||
public ArenaOfHero(String id, int templateId, int level, int star, Map<Integer, Integer> equipByPositionMap, Map<Integer, Integer> soulEquipByPositionMap, int breakId, int starBreakId, int createTime, int especialEquipLevel, int createType, int changeId, Set<String> jewelInfo) {
|
||||
this.id = id;
|
||||
|
@ -150,4 +150,12 @@ public class ArenaOfHero {
|
|||
public void setCreateType(int createType) {
|
||||
this.createType = createType;
|
||||
}
|
||||
|
||||
public Map<Integer, Long> getAttributeMap() {
|
||||
return attributeMap;
|
||||
}
|
||||
|
||||
public void setAttributeMap(Map<Integer, Long> attributeMap) {
|
||||
this.attributeMap = attributeMap;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue