聊天:精炼消息添加数据
This commit is contained in:
@@ -360,7 +360,7 @@ export function calHeroStarIncAttr(originHero: HeroType, update: HeroUpdate, typ
|
||||
if (!!dicStar && !!dicStar.ceAttr) {
|
||||
starUp = dicStar.ceAttr.get(stage);
|
||||
}
|
||||
let newBase = (heroAttr + (lv - 1) * (heroUpAttr + starUp)) * HERO_CE_RATIO;
|
||||
let newBase = (heroAttr + lv * (heroUpAttr + starUp)) * HERO_CE_RATIO;
|
||||
updateHeroAttr(heroAttrs, targetAttrId, { set: { base: newBase } });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user