From a20b284731fb47f578a9b831abda7abe28524122 Mon Sep 17 00:00:00 2001 From: xichaoyin Date: Fri, 12 Jan 2024 22:15:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=A8=81=E6=9C=9Bbuff?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/shared/public/hero.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/shared/public/hero.ts b/src/shared/public/hero.ts index 0cf2ff2..57b38f2 100644 --- a/src/shared/public/hero.ts +++ b/src/shared/public/hero.ts @@ -291,6 +291,11 @@ export class HeroShared { } } + // 威望加成计算 + if (otherBuff?.weiwangbuff) { + PublicShared.mergeProperty(buff, otherBuff?.weiwangbuff || {}); + } + //最后进行加成属性计算 for (let k in buff) { if (k.indexOf('pro') == -1) continue;