战力:皮肤
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user