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)