排行:排行rpc同进程获取函数修改
This commit is contained in:
@@ -476,7 +476,7 @@ export function calHeroTrainIncAttr(originHero: HeroType, update: HeroUpdate) {
|
||||
let targetAttrId = dicJob.ceAttr.get(i).id;
|
||||
let targetAttrValue = dicJob.ceAttr.get(i).attr;
|
||||
let inc = (targetAttrValue - lastAttr) * HERO_CE_RATIO;
|
||||
console.log('*******', targetAttrId, targetAttrValue, lastAttr, inc )
|
||||
// console.log('*******', targetAttrId, targetAttrValue, lastAttr, inc )
|
||||
updateHeroAttr(heroAttrs, targetAttrId, { inc: { fixUp: inc } });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user