战力:皮肤

This commit is contained in:
luying
2022-05-18 11:57:35 +08:00
parent 9666cbdf93
commit 697b0f39bf
2 changed files with 4 additions and 3 deletions
+2
View File
@@ -233,10 +233,12 @@ export class CalCe {
this.data.clearHeroAttrByHid(hid, 'talent');
let skin = skins.find(cur => cur.enable);
let seids = this.getTalentSeid(skin.talent);
console.log('######### setTalent', hid, skin, seids)
let { ratioUp } = this.addSeidEffect(seids);
for(let [attrId, val] of ratioUp) {
let heroAttr = this.data.getHeroAttrByHidAndId(hid, attrId);
heroAttr.talent = val;
console.log('######### heroAttr.talent', heroAttr.talent)
}
}