英雄breakid问题处理初版,未解决
parent
d423925752
commit
65c31a8ae6
|
@ -266,7 +266,13 @@ public class Hero extends MongoBase {
|
||||||
this.soulEquipByPositionMap.remove(position);
|
this.soulEquipByPositionMap.remove(position);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getBreakIdByHongMeng(HeroManager heroManager){
|
||||||
|
// 英雄在共鸣池中
|
||||||
|
if (heroManager.getResonances().values().contains(id)) {
|
||||||
|
|
||||||
|
}
|
||||||
|
return breakId;
|
||||||
|
}
|
||||||
|
|
||||||
public int getBreakId() {
|
public int getBreakId() {
|
||||||
return breakId;
|
return breakId;
|
||||||
|
|
|
@ -1254,7 +1254,7 @@ public class HeroLogic{
|
||||||
|
|
||||||
private Map<Integer,Object> getParaForHero(User user, Hero hero){
|
private Map<Integer,Object> getParaForHero(User user, Hero hero){
|
||||||
SCHero scHero = SCHero.getsCHero().get(hero.getTemplateId());
|
SCHero scHero = SCHero.getsCHero().get(hero.getTemplateId());
|
||||||
return getParaRate(scHero, hero.getStar(), hero.getLevel(user.getHeroManager()), hero.getBreakId());
|
return getParaRate(scHero, hero.getStar(), hero.getLevel(user.getHeroManager()), hero.getBreakIdByHongMeng());
|
||||||
}
|
}
|
||||||
|
|
||||||
//todo
|
//todo
|
||||||
|
|
Loading…
Reference in New Issue