屏蔽宝物 树添加的属性==================战斗力不一致问题

china/dev_fengTi
wangzhenxing 2023-08-09 17:57:35 +08:00
parent 8800ec962b
commit 14db632938
2 changed files with 34 additions and 27 deletions

View File

@ -1451,20 +1451,21 @@ local function CalculateEquipTreaSureAddVal(_heroId)
end
end
--神应属性
local tLv = curEuipTreaSureData.treeLv
if
configInfo.PoolID == curEuipTreaSureConfig.GodHoodPool and configInfo.Type == 3 and
configInfo.Level == tLv
then
for j = 1, SacredTreeManager.CulAttri(curEuipTreaSureData) do
if addAllProVal[configInfo.Property[j][1]] then
addAllProVal[configInfo.Property[j][1]] =
addAllProVal[configInfo.Property[j][1]] + configInfo.Property[j][2]
else
addAllProVal[configInfo.Property[j][1]] = configInfo.Property[j][2]
end
end
end
--屏蔽宝物树加成的属性 2023/08/09
-- local tLv = curEuipTreaSureData.treeLv
-- if
-- configInfo.PoolID == curEuipTreaSureConfig.GodHoodPool and configInfo.Type == 3 and
-- configInfo.Level == tLv
-- then
-- for j = 1, SacredTreeManager.CulAttri(curEuipTreaSureData) do
-- if addAllProVal[configInfo.Property[j][1]] then
-- addAllProVal[configInfo.Property[j][1]] =
-- addAllProVal[configInfo.Property[j][1]] + configInfo.Property[j][2]
-- else
-- addAllProVal[configInfo.Property[j][1]] = configInfo.Property[j][2]
-- end
-- end
-- end
end
if #curHeroData.jewels > 1 then
--取 强化 精炼 最小值
@ -1543,6 +1544,10 @@ local function CalculateEquipTreaSureAddVal(_heroId)
end
end
end
LogError("11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111")
for k, v in pairs(addAllProVal) do
LogError("111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111宝物 k====="..k.." v=="..v)
end
return addAllProVal
end

View File

@ -249,19 +249,20 @@ Hero_Prop_Func = {
end
end
--神应属性
if
configInfo.PoolID == curEuipTreaSureConfig.GodHoodPool and configInfo.Type == 3 and
configInfo.Level == curEuipTreaSureData.treeLv
then
for j = 1, SacredTreeManager.CulAttri(curEuipTreaSureData) do
if addAllProVal[configInfo.Property[j][1]] then
addAllProVal[configInfo.Property[j][1]] =
addAllProVal[configInfo.Property[j][1]] + configInfo.Property[j][2]
else
addAllProVal[configInfo.Property[j][1]] = configInfo.Property[j][2]
end
end
end
--屏蔽宝物树加成的属性 2023/08/09
-- if
-- configInfo.PoolID == curEuipTreaSureConfig.GodHoodPool and configInfo.Type == 3 and
-- configInfo.Level == curEuipTreaSureData.treeLv
-- then
-- for j = 1, SacredTreeManager.CulAttri(curEuipTreaSureData) do
-- if addAllProVal[configInfo.Property[j][1]] then
-- addAllProVal[configInfo.Property[j][1]] =
-- addAllProVal[configInfo.Property[j][1]] + configInfo.Property[j][2]
-- else
-- addAllProVal[configInfo.Property[j][1]] = configInfo.Property[j][2]
-- end
-- end
-- end
end
if #_heroData.treasureList > 1 then
--取 强化 精炼 最小值
@ -474,6 +475,7 @@ Hero_Prop_Func = {
end
end
end
addAllProVal[HeroProType.WarPower] = allSoulPrintAddWarPowerVal
return addAllProVal, conPropList, teamPropList, conTeamPropList, dePropList
end,