From 5e891ff84ba6da10942a17466011c882f60cf69e Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Tue, 10 Aug 2021 14:56:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=B8=BF=E8=92=99=E9=98=B5=E3=80=91?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=EF=BC=9A=E5=85=B1=E9=B8=A3=E6=95=88=E6=9E=9C?= =?UTF-8?q?100=E7=BA=A7=EF=BC=8C=E4=B8=8A=E9=98=B5=E5=85=B1=E9=B8=A3?= =?UTF-8?q?=E7=A5=9E=E5=B0=86=EF=BC=8C=E5=9C=A8=E5=8C=96=E8=99=9A=E5=9D=9B?= =?UTF-8?q?=E4=B8=AD=E8=BF=9B=E9=98=B6=E8=AF=A5=E7=A5=9E=E5=B0=86=EF=BC=8C?= =?UTF-8?q?=E8=BF=9B=E9=98=B6=E5=90=8E=E5=9C=A8=E9=B8=BF=E8=92=99=E9=98=B5?= =?UTF-8?q?=E6=8A=8A=E8=AF=A5=E7=A5=9E=E5=B0=86=E5=8D=B8=E4=B8=8B=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E5=9C=A8=E7=A5=9E=E5=B0=86=E6=83=85=E6=8A=A5=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E5=8D=87=E7=BA=A7=EF=BC=8C=E5=8D=87=E7=BA=A7=E5=90=8E?= =?UTF-8?q?=E9=87=8D=E7=99=BB=EF=BC=8C=E8=BF=98=E5=8E=9F=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E5=A4=A9=E8=B5=8B=EF=BC=8C=E4=BD=86=E4=BF=9D=E7=95=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E7=AD=89=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua b/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua index 28ca640e2d..5909c3bb34 100644 --- a/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua @@ -530,8 +530,8 @@ function this.UpdateSingleHeroDatas(heroDId, heroLv, heroStar, breakId, upStarId heroDatas[heroDId].actionPower = heroDatas[heroDId].heroConfig.ActionPower + math.floor( - (actionPowerRormula[1] * math.pow(heroLv, 3) + actionPowerRormula[2] * math.pow(heroLv, 2) + - actionPowerRormula[3] * heroLv + + (actionPowerRormula[1] * math.pow(heroDatas[heroDId].lv, 3) + actionPowerRormula[2] * math.pow(heroDatas[heroDId].lv, 2) + + actionPowerRormula[3] * heroDatas[heroDId].lv + actionPowerRormula[4]) ) PlayerManager.SetHeroHandBookListData(heroDatas[heroDId].id, heroDatas[heroDId].star)