diff --git a/game-server/app/services/role/calCe.ts b/game-server/app/services/role/calCe.ts index bc9dd11a6..e50f643a1 100644 --- a/game-server/app/services/role/calCe.ts +++ b/game-server/app/services/role/calCe.ts @@ -274,7 +274,7 @@ export class CalCe { let equips = this.data.getEquipAttrsByHid(hid); for(let { hid, attrId, equipQuality } of equips) { let heroAttr = this.data.getHeroAttrByHidAndId(hid, attrId); - heroAttr.equipQuality = equipQuality; + heroAttr.equipQuality += equipQuality; } } @@ -308,7 +308,7 @@ export class CalCe { let equips = this.data.getEquipAttrsByHid(hid); for(let { hid, attrId, equipStrength } of equips) { let heroAttr = this.data.getHeroAttrByHidAndId(hid, attrId); - heroAttr.equipStrength = equipStrength; + heroAttr.equipStrength += equipStrength; } } @@ -334,7 +334,7 @@ export class CalCe { let equips = this.data.getEquipAttrsByHid(hid); for(let { hid, attrId, equipStar } of equips) { let heroAttr = this.data.getHeroAttrByHidAndId(hid, attrId); - heroAttr.equipStar = equipStar; + heroAttr.equipStar += equipStar; } } } @@ -386,7 +386,7 @@ export class CalCe { let equips = this.data.getEquipAttrsByHid(hid); for(let { hid, attrId, jewel } of equips) { let heroAttr = this.data.getHeroAttrByHidAndId(hid, attrId); - heroAttr.jewel = jewel; + heroAttr.jewel += jewel; } } @@ -428,7 +428,7 @@ export class CalCe { let equips = this.data.getEquipAttrsByHid(hid); for(let { hid, attrId, stone } of equips) { let heroAttr = this.data.getHeroAttrByHidAndId(hid, attrId); - heroAttr.stone = stone; + heroAttr.stone += stone; } }