Commit 17d9316acd21a121a7f32ca5d63db3d16bcce953

Authored by zhouhaihai
1 parent 9cede2e2

修改 公式

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/models/HeroPlugin.lua
... ... @@ -208,10 +208,10 @@ function HeroPlugin.bind(Hero)
208 208 end
209 209  
210 210  
211   - -- 战斗力(当前属性)= POWER[(生命 + 防御 * 23 + 闪避 * 4)*(攻击*14 + 命中 * 2)*(1 + 暴击几率/100 * 暴击伤害/100)* 攻击速度 / 60000 ,0.8 ]
  211 + -- 战斗力(当前属性)= POWER[(生命 + 防御 * 7 + 闪避 * 4)*(攻击*4 + 命中 * 2)*(1 + 暴击几率/100 * 暴击伤害/100)* 攻击速度 / 60000 ,0.8 ]
212 212 function Hero:getBattleValue(activeRelation) -- isReal包括队伍加成
213 213 local attrs = self:getTotalAttrs({activeRelation = activeRelation})
214   - local battleValue = ((attrs["hp"] + attrs["def"] * 23 + attrs["miss"] * 4) * (attrs["atk"] * 14 + attrs["hit"] * 2) * (1 + attrs["crit"]/100 * attrs["critHurt"]/100) * attrs["atkSpeed"] / 600000) ^ 0.8
  214 + local battleValue = ((attrs["hp"] + attrs["def"] * 7 + attrs["miss"] * 4) * (attrs["atk"] * 4 + attrs["hit"] * 2) * (1 + attrs["crit"]/100 * attrs["critHurt"]/100) * attrs["atkSpeed"] / 600000) ^ 0.8
215 215 return math.floor(battleValue)
216 216 end
217 217  
... ...