【战斗力】修复条件属性计算不完全的问题
parent
83583747ad
commit
6033aa6128
|
@ -490,7 +490,7 @@ end
|
|||
-- 获取自身的条件属性
|
||||
function this.GetConditionProp(dId)
|
||||
-- 判空
|
||||
if this.IsConPropDirty[dId] then
|
||||
if not this.IsConPropDirty[dId] then
|
||||
this.IsConPropDirty[dId] = {}
|
||||
end
|
||||
if this.IsConPropDirty[dId].isDirty ~= false then
|
||||
|
@ -515,13 +515,15 @@ function this.GetConditionProp(dId)
|
|||
|
||||
-- 合并所有属性
|
||||
local condProp = this.GetConditionPropByType(dId, powerType)
|
||||
LogRedTable_Prop(condProp)
|
||||
if condProp then
|
||||
DoubleTableCompound(list, condProp)
|
||||
this.IsConPropDirty[dId][powerType] = condProp
|
||||
this.ConPropList[dId].propList = condProp
|
||||
-- this.IsConPropDirty[dId][powerType] = condProp
|
||||
-- this.ConPropList[dId].propList = condProp
|
||||
end
|
||||
end
|
||||
this.IsConPropDirty[dId].isDirty = false
|
||||
this.ConPropList[dId].propList = list
|
||||
end
|
||||
|
||||
return this.ConPropList[dId].propList
|
||||
|
|
Loading…
Reference in New Issue