加入魂印战力
parent
54778137a2
commit
0703b8ced5
|
@ -1680,6 +1680,13 @@ public class HeroLogic{
|
||||||
heroAllAttribute = calHeroNotBufferAttribute(user, hero,true,teamId);
|
heroAllAttribute = calHeroNotBufferAttribute(user, hero,true,teamId);
|
||||||
//战力保存
|
//战力保存
|
||||||
int force = calForce(heroAllAttribute);
|
int force = calForce(heroAllAttribute);
|
||||||
|
Map<Integer, Integer> soulEquipByPositionMap = hero.getSoulEquipByPositionMap();
|
||||||
|
for (int sign:soulEquipByPositionMap.values()){
|
||||||
|
SEquipConfig sEquipConfig = STableManager.getConfig(SEquipConfig.class).get(sign);
|
||||||
|
if(sEquipConfig==null)
|
||||||
|
continue;
|
||||||
|
force+=sEquipConfig.getScore();
|
||||||
|
}
|
||||||
return force + heroAllAttribute.get(HeroAttributeEnum.EquipForce.getPropertyId());
|
return force + heroAllAttribute.get(HeroAttributeEnum.EquipForce.getPropertyId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue