From a001e8c640166fcf5c6fa2a11c14e639e166249a Mon Sep 17 00:00:00 2001 From: luying Date: Fri, 17 Jun 2022 14:25:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E5=8A=9B=EF=BC=9A=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=A3=85=E5=A4=87=E5=B1=9E=E6=80=A7=E8=A6=86=E7=9B=96=E8=80=8C?= =?UTF-8?q?=E4=B8=8D=E7=B4=AF=E5=8A=A0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/role/calCe.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; } }