|
|
@@ -67,9 +67,9 @@ function cleanHeroAttrCache(human)
|
|
|
end
|
|
|
|
|
|
-- 重算英雄属性
|
|
|
-function doCalcHero(human, index)
|
|
|
+function doCalcHero(human, index, heroAttrs)
|
|
|
local heroGrid = human.db.heroBag[index]
|
|
|
- local attrs = calcHeroGrid(heroGrid, index, human)
|
|
|
+ local attrs = calcHeroGrid(heroGrid, index, human,heroAttrs)
|
|
|
if not attrs then return end
|
|
|
|
|
|
RoleStrongLogic.doCalcMoShouPingFen(human, attrs)
|